From b9578c2a2c60d75c4a4d4519f10b99703ee5ea27 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sun, 5 Feb 2023 23:18:30 +0000 Subject: Swpan new entities - Each entity can generate a list of "spawns" (add a new entity) - Added a "dust" effect to the jump WIP TODO: probably wrap the entity list in a type so we don't need to pass the spritesheet to the update function. --- data/sprites.json | 10 ++++++++++ data/sprites.png | Bin 8068 -> 8565 bytes 2 files changed, 10 insertions(+) (limited to 'data') diff --git a/data/sprites.json b/data/sprites.json index af3e33e..6fddd4e 100644 --- a/data/sprites.json +++ b/data/sprites.json @@ -12,5 +12,15 @@ [0, 1, 0, 2], [5, 4, 5, 3] ] + }, + "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 } + ], + "sets": [ + [0, 1, 2] + ] } } diff --git a/data/sprites.png b/data/sprites.png index 7ee2136..21ef84e 100644 Binary files a/data/sprites.png and b/data/sprites.png differ -- cgit v1.2.3