rayflap

A Flappy Bird clone written in C and compiled to WebAssembly.
git clone https://unitehenry.com/git/rayflap.git
Log | Files | Refs | README

commit d294f10bc5669d844526cffa577805a56808058e
parent 3e61c03ae76690e877a9b7a3893a878c7f14fd76
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sat, 18 Apr 2026 05:14:47 +0000

refactor: game properties

Diffstat:
Msrc/main.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c @@ -4,12 +4,15 @@ #define MainLoop emscripten_set_main_loop +/* Properties */ static const int screenWidth = 288; static const int screenHeight = 512; +/* Textures */ Texture2D background_texture; Texture2D message_texture; +/* Game State */ int scroll = 0; void draw_message() {