Game development practices with Zig programming language and Raylib binding.
| Operating System | Zig Version | Raylib Binding Version |
|---|---|---|
| Windows 11 | 0.15.1 | devel |
| Game Name | Description | Zig Version |
|---|---|---|
| Space Invaders | Classic Space Invaders game remake | 0.15.1 |
| Blocks | Memory matching blocks game | 0.15.1 |
| 1942 | Classic 1942 game remake | 0.15.1 |
To set up a Zig development environment with Raylib binding, follow these steps:
- Install Zig: Download and install the latest version of Zig from the official website or use a package manager like Chocolatey for Windows:
choco install zig
- Create a new Zig project:
mkdir game-name cd game-name zig init - Add Raylib binding:
zig fetch --save git+https://github.com/raylib-zig/raylib-zig#devel
- Build and run your project:
zig build run