From 9ffa3f57067598acfbe5196a4452b225ab295b83 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Wed, 19 Apr 2023 23:16:22 +0100 Subject: Added "runner" enemy --- data/map1.json | 83 ++++++++++++++++++++++++++++++++++++++---------------- data/sprites.json | 14 +++++++++ data/sprites.png | Bin 21424 -> 23767 bytes 3 files changed, 72 insertions(+), 25 deletions(-) (limited to 'data') diff --git a/data/map1.json b/data/map1.json index 0d532df..ee95e6c 100644 --- a/data/map1.json +++ b/data/map1.json @@ -52,8 +52,8 @@ "type":"", "visible":true, "width":16, - "x":32, - "y":112 + "x":176, + "y":88 }, { "height":16, @@ -165,28 +165,6 @@ "x":336, "y":40 }, - { - "height":24, - "id":26, - "name":"Robot-l", - "rotation":0, - "type":"", - "visible":true, - "width":16, - "x":144, - "y":88 - }, - { - "height":24, - "id":25, - "name":"Shooter", - "rotation":0, - "type":"", - "visible":true, - "width":16, - "x":64, - "y":136 - }, { "height":16, "id":17, @@ -228,7 +206,62 @@ "type":"", "visible":true, "width":16, + "x":224, + "y":16 + }, + { + "height":24, + "id":34, + "name":"Runner", + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":144, + "y":64 + }, + { + "height":24, + "id":35, + "name":"Runner", + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":32, + "y":40 + }, + { + "height":24, + "id":36, + "name":"Runner", + "rotation":0, + "type":"", + "visible":true, + "width":16, "x":112, + "y":112 + }, + { + "height":24, + "id":37, + "name":"Runner", + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":64, + "y":136 + }, + { + "height":24, + "id":38, + "name":"Runner", + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":136, "y":136 }], "opacity":1, @@ -238,7 +271,7 @@ "y":0 }], "nextlayerid":6, - "nextobjectid":34, + "nextobjectid":39, "orientation":"orthogonal", "renderorder":"right-down", "tiledversion":"1.7.2", diff --git a/data/sprites.json b/data/sprites.json index c4fcfb3..fac70b5 100644 --- a/data/sprites.json +++ b/data/sprites.json @@ -120,6 +120,20 @@ [0, 1, 2] ] }, + "runner": { + "frames": [ + { "x": 0, "y": 120, "width": 16, "height": 24 }, + { "x": 16, "y": 120, "width": 16, "height": 24 }, + { "x": 32, "y": 120, "width": 16, "height": 24 }, + { "x": 48, "y": 120, "width": 16, "height": 24 }, + { "x": 64, "y": 120, "width": 16, "height": 24 }, + { "x": 80, "y": 120, "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 0247640..697ee1f 100644 Binary files a/data/sprites.png and b/data/sprites.png differ -- cgit v1.2.3