game_sf
Version, currently 0.10.477 versions
- 0.37.0latestOct 13, 2024
- 0.36.1not indexedFeb 4, 2026
- 0.36.0not indexedFeb 4, 2026
- 0.35.0not indexedFeb 4, 2026
- 0.34.1not indexedFeb 4, 2026
- 0.34.0not indexedFeb 4, 2026
- 0.33.9not indexedFeb 4, 2026
- 0.33.8not indexedFeb 4, 2026
- 0.33.7not indexedFeb 4, 2026
- 0.33.6not indexedFeb 4, 2026
- 0.33.5not indexedFeb 4, 2026
- 0.33.4not indexedFeb 4, 2026
- 0.33.3not indexedFeb 4, 2026
- 0.33.2not indexedFeb 4, 2026
- 0.33.1not indexedFeb 4, 2026
- 0.33.0not indexedFeb 4, 2026
- 0.32.2not indexedFeb 4, 2026
- 0.32.1not indexedFeb 4, 2026
- 0.32.0not indexedFeb 4, 2026
- 0.31.1not indexedFeb 4, 2026
- 0.31.0not indexedFeb 4, 2026
- 0.30.0not indexedFeb 4, 2026
- 0.29.1not indexedFeb 4, 2026
- 0.29.0not indexedFeb 4, 2026
- 0.28.1not indexedFeb 4, 2026
- 0.28.0not indexedFeb 4, 2026
- 0.27.0not indexedFeb 4, 2026
- 0.26.0not indexedFeb 4, 2026
- 0.25.1not indexedFeb 4, 2026
- 0.25.0not indexedFeb 4, 2026
- 0.24.1not indexedFeb 4, 2026
- 0.24.0not indexedFeb 4, 2026
- 0.23.1not indexedFeb 4, 2026
- 0.23.0not indexedFeb 4, 2026
- 0.22.5not indexedFeb 4, 2026
- 0.22.4not indexedFeb 4, 2026
- 0.22.3not indexedFeb 4, 2026
- 0.22.2not indexedFeb 4, 2026
- 0.22.1not indexedFeb 4, 2026
- 0.22.0not indexedFeb 4, 2026
- 0.21.1not indexedFeb 4, 2026
- 0.21.0not indexedFeb 4, 2026
- 0.20.5not indexedFeb 4, 2026
- 0.20.4not indexedFeb 4, 2026
- 0.20.3not indexedFeb 4, 2026
- 0.20.2not indexedFeb 4, 2026
- 0.20.1not indexedFeb 4, 2026
- 0.20.0not indexedFeb 4, 2026
- 0.19.0not indexedFeb 4, 2026
- 0.18.0not indexedFeb 4, 2026
- 0.17.0not indexedFeb 4, 2026
- 0.16.0not indexedFeb 4, 2026
- 0.15.0not indexedFeb 4, 2026
- 0.14.0not indexedFeb 4, 2026
- 0.13.0not indexedFeb 4, 2026
- 0.12.0not indexedFeb 4, 2026
- 0.11.0not indexedFeb 4, 2026
- 0.10.4not indexedFeb 4, 2026
- 0.10.3not indexedFeb 4, 2026
- 0.10.2not indexedFeb 4, 2026
- 0.10.1not indexedFeb 4, 2026
- 0.10.0not indexedFeb 4, 2026
- 0.9.1not indexedFeb 4, 2026
- 0.9.0not indexedFeb 4, 2026
- 0.8.0not indexedFeb 4, 2026
- 0.7.0not indexedFeb 4, 2026
- 0.6.1not indexedFeb 4, 2026
- 0.6.0not indexedFeb 4, 2026
- 0.5.0not indexedFeb 4, 2026
- 0.4.0not indexedFeb 4, 2026
- 0.3.1not indexedFeb 4, 2026
- 0.3.0not indexedFeb 4, 2026
- 0.2.0not indexedFeb 4, 2026
- 0.1.3not indexedFeb 4, 2026
- 0.1.2not indexedFeb 4, 2026
- 0.1.1not indexedFeb 4, 2026
- 0.1.0not indexedFeb 4, 2026
github.com/mswieboda/game_sf
game helpers / wrapper for SFML
Nothing has been indexed for 0.10.4 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
game_sf:
github: mswieboda/game_sf
version: ~> 0.10.4Then run:
shards installshard.yml
No shard.yml has been indexed for 0.10.4. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
game_sf
Wrapper / helpers for making a game with SFML using crsfml
Installation
-
Add the dependency to your
shard.yml:dependencies: game_sf: github: mswieboda/game_sf -
Run
shards install
If on a Mac or Linux you should be good and the make should work from crsfml's shards postinstall. (I don't test on Linux right now, but it should be easier than Windows if it doesn't work.)
Note: if installing on Windows use shards install --skip-postinstall instead of shards install as the make from crsfml fails with Windows on a regular shell.
To setup crsfml for Windows, checkout the crsfml repo, and git checkout v2.5.3 to make sure it's on the right SFML version. Make sure you have open a x64 Native Tools Command Prompt for VS 2019 shell (see video with instructions for VS 2019 you only need the VS 2019 portion, can ignore all other crystal/crsfml things it's an old video). Once you've opened a shell on Windows via x64 Native Tools Command Prompt for VS 2019, navigate to your v2.5.3 checked out crsfml directory, and inside there run make, this will generate all the .obj files like crsfml/audio/ext.obj that are required. Now, in your game directory, delete all the files/folders in lib/crsfml and copy over all the files/folders (except for .git/) from your crsfml folder. Then crsfml should work on Windows, after you follow correct instructions from Install SFML and have all the environment variables set %PATH%, %INCLUDE%, %LIB% to the SFML locations. You should only need to do this once per project. Ideally I'll make a script to do all this so it's easier for windows.
Usage
require "game_sf"
Contributing
- Fork it (https://github.com/mswieboda/game_sf/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - 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
- Matt Swieboda - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.10.4- Tagged
- Feb 4, 2026
- Commit
148d078b857c- Indexed
- not yet
Dependents
Repository
github.com/mswieboda/game_sf
Metadata
- Created
- Aug 18, 2026
- Updated
- Sep 26, 2026
- Synced
- Sep 26, 2026
- Versions
- 77