Skip to content

Latest commit

 

History

History
41 lines (21 loc) · 1.01 KB

File metadata and controls

41 lines (21 loc) · 1.01 KB

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.).

A basic exercise of moving a ball with keys:

ball

A basic exercise of collision detection:

collisions

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

cat

A Pong game, including basic player vs computer:

pong

A complete Snake game:

snake

Basic component (button) OOP encapsulation example.