diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-02-17 23:20:31 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-02-17 23:20:31 +0000 |
commit | 12728ed582057403e273d593eba781dd8b655f1f (patch) | |
tree | 5960174977ba9fd116265b9317c5bea35742b422 /data | |
parent | cf6fc8b7cb8b108e5778481070944acb13513b5d (diff) | |
download | space-plat-hs-12728ed582057403e273d593eba781dd8b655f1f.tar.gz space-plat-hs-12728ed582057403e273d593eba781dd8b655f1f.zip |
Added fixed pattern enemy (slimes)
Diffstat (limited to 'data')
-rw-r--r-- | data/map.json | 46 | ||||
-rw-r--r-- | data/sprites.json | 10 | ||||
-rw-r--r-- | data/sprites.png | bin | 10424 -> 10844 bytes |
3 files changed, 55 insertions, 1 deletions
diff --git a/data/map.json b/data/map.json index 9eb7906..097fbe4 100644 --- a/data/map.json +++ b/data/map.json @@ -67,6 +67,50 @@ }, { "height":16, + "id":15, + "name":"Slime", + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":112, + "y":96 + }, + { + "height":16, + "id":16, + "name":"Slime", + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":192, + "y":24 + }, + { + "height":16, + "id":17, + "name":"Slime", + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":112, + "y":48 + }, + { + "height":16, + "id":20, + "name":"Slime", + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":256, + "y":120 + }, + { + "height":16, "id":5, "name":"Battery", "rotation":0, @@ -138,7 +182,7 @@ "y":0 }], "nextlayerid":6, - "nextobjectid":15, + "nextobjectid":21, "orientation":"orthogonal", "renderorder":"right-down", "tiledversion":"1.7.2", diff --git a/data/sprites.json b/data/sprites.json index a911207..3ce716b 100644 --- a/data/sprites.json +++ b/data/sprites.json @@ -44,5 +44,15 @@ "sets": [ [0, 1, 2, 3] ] + }, + "slime": { + "frames": [ + { "x": 0, "y": 56, "width": 16, "height": 16 }, + { "x": 16, "y": 56, "width": 16, "height": 16 } + ], + "sets": [ + [0, 1], + [0, 1] + ] } } diff --git a/data/sprites.png b/data/sprites.png Binary files differindex 6b84a40..2b3616d 100644 --- a/data/sprites.png +++ b/data/sprites.png |