aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-02-21 12:40:31 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-02-21 12:40:31 +0000
commit198498b3c604d55d3b54fef34c62f215ba8a2525 (patch)
treef3d7725657608cafdfc4888313f3631c14857032 /data
parentfd74ead510f4ca326e36450fa23dee0d681c296b (diff)
downloadspace-plat-hs-198498b3c604d55d3b54fef34c62f215ba8a2525.tar.gz
space-plat-hs-198498b3c604d55d3b54fef34c62f215ba8a2525.zip
New Robot enemy.
Diffstat (limited to 'data')
-rw-r--r--data/map.json43
-rw-r--r--data/sprites.json14
-rw-r--r--data/sprites.pngbin10894 -> 13384 bytes
-rw-r--r--data/tiles.pngbin7277 -> 7275 bytes
4 files changed, 52 insertions, 5 deletions
diff --git a/data/map.json b/data/map.json
index 4cc427d..015b82c 100644
--- a/data/map.json
+++ b/data/map.json
@@ -74,7 +74,7 @@
"type":"",
"visible":true,
"width":16,
- "x":112,
+ "x":240,
"y":96
},
{
@@ -89,15 +89,48 @@
"y":144
},
{
- "height":16,
+ "height":24,
"id":16,
- "name":"Slime",
+ "name":"Robot",
"rotation":0,
"type":"",
"visible":true,
"width":16,
"x":192,
- "y":24
+ "y":16
+ },
+ {
+ "height":24,
+ "id":24,
+ "name":"Robot",
+ "rotation":0,
+ "type":"",
+ "visible":true,
+ "width":16,
+ "x":232,
+ "y":64
+ },
+ {
+ "height":24,
+ "id":26,
+ "name":"Robot",
+ "rotation":0,
+ "type":"",
+ "visible":true,
+ "width":16,
+ "x":144,
+ "y":88
+ },
+ {
+ "height":24,
+ "id":25,
+ "name":"Robot",
+ "rotation":0,
+ "type":"",
+ "visible":true,
+ "width":16,
+ "x":32,
+ "y":40
},
{
"height":16,
@@ -194,7 +227,7 @@
"y":0
}],
"nextlayerid":6,
- "nextobjectid":23,
+ "nextobjectid":27,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.7.2",
diff --git a/data/sprites.json b/data/sprites.json
index 3ce716b..844a796 100644
--- a/data/sprites.json
+++ b/data/sprites.json
@@ -54,5 +54,19 @@
[0, 1],
[0, 1]
]
+ },
+ "robot": {
+ "frames": [
+ { "x": 0, "y": 72, "width": 16, "height": 24 },
+ { "x": 16, "y": 72, "width": 16, "height": 24 },
+ { "x": 32, "y": 72, "width": 16, "height": 24 },
+ { "x": 48, "y": 72, "width": 16, "height": 24 },
+ { "x": 64, "y": 72, "width": 16, "height": 24 },
+ { "x": 80, "y": 72, "width": 16, "height": 24 }
+ ],
+ "sets": [
+ [0, 1, 0, 2],
+ [5, 4, 5, 3]
+ ]
}
}
diff --git a/data/sprites.png b/data/sprites.png
index 646ff14..ee25de5 100644
--- a/data/sprites.png
+++ b/data/sprites.png
Binary files differ
diff --git a/data/tiles.png b/data/tiles.png
index d145e6c..451df8d 100644
--- a/data/tiles.png
+++ b/data/tiles.png
Binary files differ