aboutsummaryrefslogtreecommitdiff
path: root/src/player.c
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-17 08:06:56 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-17 08:06:56 +0100
commit20d95a3a156b8d903581d76359522ef9cd51e492 (patch)
tree7196ebb3567689f20a4b58335228b8258b038d5c /src/player.c
parentda4ab66aa33add78cbd721f0130d716af3f33590 (diff)
downloadgold-mine-run-20d95a3a156b8d903581d76359522ef9cd51e492.tar.gz
gold-mine-run-20d95a3a156b8d903581d76359522ef9cd51e492.zip
Trim spritesheet
Remove some unused space
Diffstat (limited to 'src/player.c')
-rw-r--r--src/player.c24
1 files changed, 12 insertions, 12 deletions
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 },
},
};