GitHunt
HE

Hentioe/raylib-examples-zig

Raylib exercises written in Zig

raylib-examples-zig

Game exercise examples written in Zig, based on the raylib engine.

Introduction

Here are the descriptions for each game practice project. Some are ported and re-implemented in Zig from other online tutorials (originally in C++, Odin, etc.).

raylib-ball

A basic exercise of moving a ball with keys:

ball

raylib-collisions

A basic exercise of collision detection:

collisions

raylib-cat

A cat moving and jumping on platforms. Includes sprite sheet animation, gravity simulation, and collision detection:

cat

raylib-pong

A Pong game, including basic player vs computer:

pong

raylib-snake

A complete Snake game:

snake

raylib-oop

Basic component (button) OOP encapsulation example.

Languages

Zig98.6%Nix1.4%Shell0.0%

Contributors

Created November 18, 2025
Updated January 5, 2026
Hentioe/raylib-examples-zig | GitHunt