commit 72a8ee00fc37c4c0b40c6b489ba4a09fbf265a98
parent 01bb0887a81509e60b4647b532d02887f12a6437
Author: Henry Unite <unitehenry@gmail.com>
Date: Sun, 19 Apr 2026 04:21:17 +0000
feat: title screen down flap texture
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/game.c b/src/game.c
@@ -93,6 +93,10 @@ void draw_bird() {
birdTexture = thrust > 0 ? downFlapTexture : upFlapTexture;
+ if (screen == TITLE) {
+ birdTexture = downFlapTexture;
+ }
+
Rectangle source = {0, 0, (float)birdTexture.width,
(float)birdTexture.height};