crystal_game_with_raylib
crystal_game
A Crystal game project using raylib for graphics.
Installation
# Clone with submodules
git clone --recurse-submodules <repo-url>
cd crystal_game_vibe
# Install dependencies and build raylib
make deps
Building
This project uses a Makefile for building. Raylib is included as a git submodule.
Commands
| Command | Description |
|---|---|
make deps |
Install Crystal deps + build raylib from source |
make |
Build the project |
make run |
Build and run the game |
make clean |
Remove build artifacts |
make rebuild |
Clean and rebuild |
make setup-raylib |
Re-clone and rebuild raylib from source |
make help |
Show available targets |
Custom Flags
Debug mode is default. Use --release for optimized builds.
# Release build (optimized)
make CRYSTAL_FLAGS='--release' run
# Custom CFLAGS for raylib
make CFLAGS='-O3 -march=native' build
Raylib Version
Raylib is pinned to version 5.5 via git submodule.
To update:
make setup-raylib # Re-clones and rebuilds raylib 5.5
Development
- Create a feature branch:
git checkout -b feature/<name> - Make changes following CONVENTIONS.md
- Commit:
git commit -m "Add feature description" - Push:
git push origin feature/<name>
Contributing
- Fork it (https://github.com/LolsonX/crystal_game_with_raylib/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
Contributors
- Karol Ostrowski - creator and maintainer
Kudos
Huge thanks to Raysan5 for creating and maintaining raylib, an amazing and easy-to-use graphics library. This project wouldn't exist without it.
Repository
crystal_game_with_raylib
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- 4 days ago
- January 14, 2026
License
MIT License
Links
Synced at
Sun, 18 Jan 2026 12:38:21 GMT
Languages