game_sdl

2D crystal-lang game library wrapper around SDL2

game_sdl

Wrapper / helpers for making a game with SDL3 using sdl3.cr

Installation

  1. Install SDL3

or install with favorite library / package manager

for example for macOS:

brew install sdl3 sdl3_image sdl3_ttf

will install all required libraries

  1. Add the dependency to your shard.yml:

    dependencies:
      game_sdl:
        github: mswieboda/game_sdl
    
  2. Run shards install

shards install

Usage

require "game_sdl"

Contributing

  1. Fork it (https://github.com/mswieboda/game_sdl/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

New Release

To make a new release after PRs or features merged, make sure you bump the version and push the tag. Currently this is done on master but might be automated with GitHub Actions/CI or done manually in PRs down the line.

script helper to bump version, commit, and tag:

./bump.cr patch|minor|major|specific-version

then

git push

and

git push --tags

Contributors

Repository

game_sdl

Owner
Statistic
  • 0
  • 0
  • 0
  • 1
  • 1
  • about 7 hours ago
  • February 4, 2026
License

MIT License

Links
Synced at

Fri, 06 Feb 2026 19:19:16 GMT

Languages