From 2d182c1f9c80a1e1ffb232bc6e17980cb3a64cf5 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 13 Feb 2023 21:58:24 +0000 Subject: Pickups WIP TODO: collision --- data/sprites.json | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'data/sprites.json') diff --git a/data/sprites.json b/data/sprites.json index 6fddd4e..6df8b7b 100644 --- a/data/sprites.json +++ b/data/sprites.json @@ -15,12 +15,23 @@ }, "dust": { "frames": [ - { "x": 0, "y": 24, "width": 16, "height": 24 }, - { "x": 16, "y": 24, "width": 16, "height": 24 }, - { "x": 32, "y": 24, "width": 16, "height": 24 } + { "x": 0, "y": 24, "width": 16, "height": 16 }, + { "x": 16, "y": 24, "width": 16, "height": 16 }, + { "x": 32, "y": 24, "width": 16, "height": 16 } ], "sets": [ [0, 1, 2] ] + }, + "battery": { + "frames": [ + { "x": 0, "y": 40, "width": 16, "height": 16 }, + { "x": 16, "y": 40, "width": 16, "height": 16 }, + { "x": 32, "y": 40, "width": 16, "height": 16 }, + { "x": 48, "y": 40, "width": 16, "height": 16 } + ], + "sets": [ + [0, 0, 0, 0, 0, 0, 0, 1, 2, 3] + ] } } -- cgit v1.2.3