sdl3.cr

SDL3 bindings for crystal

SDL3

SDL3 bindings for crystal

Installation

  1. Install SDL3 and other external libs SDL3_tty, SDL3_image

(You can see the exact versions in the shard.yml file in this repo)

On a Mac:

brew install sdl3 sdl3_image sdl3_ttf
  1. Add the dependency to your shard.yml:

    dependencies:
      sdl3:
        github: your-github-user/sdl3
    
  2. Run shards install

Usage

require "sdl3"

NOTE

These bindings are work in progress, and not all complete yet.

But it should always be in working order, so the latest can be used in crystal to access SDL3

Contributing

  1. Fork it (https://github.com/your-github-user/sdl3/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

sdl3.cr

Owner
Statistic
  • 0
  • 0
  • 0
  • 1
  • 0
  • 10 minutes ago
  • February 5, 2026
License

MIT License

Links
Synced at

Sat, 07 Feb 2026 00:51:33 GMT

Languages