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 e52f6f605c8c46276bb24e75f1bb75035d0a4e3f
parent 120d762e4593bb020e9e6bc641a426337cf112bc
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sun, 19 Apr 2026 17:34:09 +0000

feat: score y

Diffstat:
Msrc/game.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/game.c b/src/game.c @@ -204,7 +204,7 @@ void draw_score() { float centerX = (screenWidth - scoreTexture[0].width) / 2.0f; - float centerY = (screenHeight - scoreTexture[0].height) / 2.0f; + float centerY = 0.0f + (scoreTexture[0].height * 1.5f); DrawTexture(scoreTexture[0], centerX, centerY, WHITE); }