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/player.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/player.c') diff --git a/src/player.c b/src/player.c index a64f5d0..24231c5 100644 --- a/src/player.c +++ b/src/player.c @@ -40,29 +40,29 @@ static const Rect frames[2][6] = { { /* 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 }, /* jump */ - { 48, 0, 144, 144 }, + { 48, 0, 144, 112 }, /* dying */ - { 128, 0, 144, 144 }, + { 128, 0, 144, 112 }, }, { /* walk cycle */ - { 64, 0, 144, 144 }, - { 80, 0, 144, 144 }, - { 64, 0, 144, 144 }, - { 96, 0, 144, 144 }, + { 64, 0, 144, 112 }, + { 80, 0, 144, 112 }, + { 64, 0, 144, 112 }, + { 96, 0, 144, 112 }, /* jump */ - { 112, 0, 144, 144 }, + { 112, 0, 144, 112 }, /* dying */ - { 128, 0, 144, 144 }, + { 128, 0, 144, 112 }, }, }; -- cgit v1.2.3