aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-04-19 23:16:22 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-04-19 23:19:37 +0100
commit9ffa3f57067598acfbe5196a4452b225ab295b83 (patch)
treed893d9eba5a51f5a831e287bf1724e1f93a48026 /data
parent7a1d4eb4481fa54753673e67532039da2b9c0b2f (diff)
downloadspace-plat-hs-9ffa3f57067598acfbe5196a4452b225ab295b83.tar.gz
space-plat-hs-9ffa3f57067598acfbe5196a4452b225ab295b83.zip
Added "runner" enemy
Diffstat (limited to 'data')
-rw-r--r--data/map1.json83
-rw-r--r--data/sprites.json14
-rw-r--r--data/sprites.pngbin21424 -> 23767 bytes
3 files changed, 72 insertions, 25 deletions
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,
@@ -166,28 +166,6 @@
"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,
"name":"Slime",
@@ -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
--- a/data/sprites.png
+++ b/data/sprites.png
Binary files differ