aboutsummaryrefslogtreecommitdiffstats
path: root/src/clicky.c
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-02-21 19:02:32 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-02-21 19:02:32 +0000
commit1a677439d001e9ef481c6e932b6ca78c3733f531 (patch)
treec91bb68765e0a3d853cc81572d6aba5dca955f1c /src/clicky.c
parent2ebbdb237a52551d4bb93fe2ab0778479765f9e8 (diff)
downloadPenguinYippies-1a677439d001e9ef481c6e932b6ca78c3733f531.tar.gz
PenguinYippies-1a677439d001e9ef481c6e932b6ca78c3733f531.tar.bz2
PenguinYippies-1a677439d001e9ef481c6e932b6ca78c3733f531.zip
Looking really extra funky
Diffstat (limited to 'src/clicky.c')
-rw-r--r--src/clicky.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clicky.c b/src/clicky.c
index 64e5645..4f901b0 100644
--- a/src/clicky.c
+++ b/src/clicky.c
@@ -28,9 +28,10 @@ Clicky createPenguinLolClicky(Game* game)
Clicky clicky;
clicky.animation = createAnimation(&game->assets.animations[PENGUIN_LOL_ANIMATION], ANIMATION_DEFAULT_DELAY);
+ setAnimationFrame(&clicky.animation, clicky.animation.frameCount - 1);
clicky.animation.repeat = false;
clicky.texture = NULL;
- clicky.rect = (Rectangle){0.0, 0.0, 256.0, 256.0};
+ clicky.rect = (Rectangle){0.0, 0.0, 512, 512};
clicky.data = NULL;
clicky.updateCB = updatePenguinLol;