From 1cd60a951b2c2f83b927a6b6961cbd3206bf5316 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 25 Apr 2023 22:18:54 +0100 Subject: Added "tracker" enemy --- data/map1.json | 8 ++++---- data/sprites.json | 14 ++++++++++++++ data/sprites.png | Bin 23326 -> 24220 bytes 3 files changed, 18 insertions(+), 4 deletions(-) (limited to 'data') diff --git a/data/map1.json b/data/map1.json index ee95e6c..d68295c 100644 --- a/data/map1.json +++ b/data/map1.json @@ -52,8 +52,8 @@ "type":"", "visible":true, "width":16, - "x":176, - "y":88 + "x":368, + "y":112 }, { "height":16, @@ -256,12 +256,12 @@ { "height":24, "id":38, - "name":"Runner", + "name":"Tracker-l", "rotation":0, "type":"", "visible":true, "width":16, - "x":136, + "x":496, "y":136 }], "opacity":1, diff --git a/data/sprites.json b/data/sprites.json index fac70b5..eaa86d1 100644 --- a/data/sprites.json +++ b/data/sprites.json @@ -134,6 +134,20 @@ [5, 4, 5, 3] ] }, + "tracker": { + "frames": [ + { "x": 0, "y": 240, "width": 16, "height": 24 }, + { "x": 16, "y": 240, "width": 16, "height": 24 }, + { "x": 32, "y": 240, "width": 16, "height": 24 }, + { "x": 48, "y": 240, "width": 16, "height": 24 }, + { "x": 64, "y": 240, "width": 16, "height": 24 }, + { "x": 80, "y": 240, "width": 16, "height": 24 } + ], + "sets": [ + [0, 1, 0, 2], + [5, 4, 5, 3] + ] + }, "exit": { "frames": [ { "x": 0, "y": 160, "width": 16, "height": 24 }, diff --git a/data/sprites.png b/data/sprites.png index 59ad50a..70445db 100644 Binary files a/data/sprites.png and b/data/sprites.png differ -- cgit v1.2.3