From 20d95a3a156b8d903581d76359522ef9cd51e492 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 17 Jul 2023 08:06:56 +0100 Subject: Trim spritesheet Remove some unused space --- src/game.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/game.c') diff --git a/src/game.c b/src/game.c index 8cf60a7..40dfb7b 100644 --- a/src/game.c +++ b/src/game.c @@ -67,8 +67,8 @@ static void hud_render() if (hud & HUD_ALL) { - Rect src = { 128, 32, 144, 144}; - Rect dst = { 4, 0, 16, 16}; + Rect src = { 128, 32, 144, 112 }; + Rect dst = { 4, 0, 16, 16 }; /* lives */ blitrc(binary_sprites_start, &src, &dst); @@ -123,10 +123,10 @@ static void hud_render() static const Rect intro_frames[WALK_CYCLE_FRAMES] = { /* walk cycle */ - { 0, 0, 144, 144 }, - { 16, 0, 144, 144 }, - { 0, 0, 144, 144 }, - { 32, 0, 144, 144 }, + { 0, 0, 144, 112 }, + { 16, 0, 144, 112 }, + { 0, 0, 144, 112 }, + { 32, 0, 144, 112 }, }; static void run_intro() -- cgit v1.2.3