Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.5 KB

File metadata and controls

51 lines (34 loc) · 1.5 KB

Game Dev with Zig and Raylib

Game development practices with Zig programming language and Raylib binding.

Development Environment

Operating System Zig Version Raylib Binding Version
Windows 11 0.15.1 devel

Games

Game Name Description Zig Version
Space Invaders Classic Space Invaders game remake 0.15.1
Blocks Memory matching blocks game 0.15.1
Ferris Wars Crab Quest war game 0.15.1

Setup

To set up a Zig development environment with Raylib binding, follow these steps:

  1. 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
  2. Create a new Zig project:

    mkdir game-name
    cd game-name
    zig init
  3. Add Raylib binding:

    zig fetch --save git+https://github.com/raylib-zig/raylib-zig#devel
  4. Build and run your project:

    zig build run

Resources