aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-04-17 23:41:35 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-04-17 23:41:35 +0100
commit7a8af18d0e1003c26eb595b5faa71e51da6286a6 (patch)
treed94ea6897570e12d9c044c40e82e9c05921ba64d /data
parentd333eca8c0761e39781af0711a54044cd5ea3c10 (diff)
downloadspace-plat-hs-7a8af18d0e1003c26eb595b5faa71e51da6286a6.tar.gz
space-plat-hs-7a8af18d0e1003c26eb595b5faa71e51da6286a6.zip
Added new shooter enemy
Diffstat (limited to 'data')
-rw-r--r--data/map1.json23
-rw-r--r--data/sprites.json83
-rw-r--r--data/sprites.pngbin18258 -> 21424 bytes
3 files changed, 75 insertions, 31 deletions
diff --git a/data/map1.json b/data/map1.json
index c1f6030..0d532df 100644
--- a/data/map1.json
+++ b/data/map1.json
@@ -52,8 +52,8 @@
"type":"",
"visible":true,
"width":16,
- "x":16,
- "y":16
+ "x":32,
+ "y":112
},
{
"height":16,
@@ -179,13 +179,13 @@
{
"height":24,
"id":25,
- "name":"Robot",
+ "name":"Shooter",
"rotation":0,
"type":"",
"visible":true,
"width":16,
- "x":32,
- "y":40
+ "x":64,
+ "y":136
},
{
"height":16,
@@ -219,6 +219,17 @@
"width":16,
"x":16,
"y":96
+ },
+ {
+ "height":24,
+ "id":33,
+ "name":"Shooter-l",
+ "rotation":0,
+ "type":"",
+ "visible":true,
+ "width":16,
+ "x":112,
+ "y":136
}],
"opacity":1,
"type":"objectgroup",
@@ -227,7 +238,7 @@
"y":0
}],
"nextlayerid":6,
- "nextobjectid":33,
+ "nextobjectid":34,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.7.2",
diff --git a/data/sprites.json b/data/sprites.json
index 3c0b7b7..c4fcfb3 100644
--- a/data/sprites.json
+++ b/data/sprites.json
@@ -35,8 +35,8 @@
"dust": {
"frames": [
{ "x": 0, "y": 24, "width": 16, "height": 16 },
- { "x": 16, "y": 24, "width": 16, "height": 16 },
- { "x": 32, "y": 24, "width": 16, "height": 16 }
+ { "x": 16, "y": 24, "width": 16, "height": 16 },
+ { "x": 32, "y": 24, "width": 16, "height": 16 }
],
"sets": [
[0, 1, 2]
@@ -45,9 +45,9 @@
"battery": {
"frames": [
{ "x": 0, "y": 40, "width": 16, "height": 16 },
- { "x": 16, "y": 40, "width": 16, "height": 16 },
- { "x": 32, "y": 40, "width": 16, "height": 16 },
- { "x": 48, "y": 40, "width": 16, "height": 16 }
+ { "x": 16, "y": 40, "width": 16, "height": 16 },
+ { "x": 32, "y": 40, "width": 16, "height": 16 },
+ { "x": 48, "y": 40, "width": 16, "height": 16 }
],
"sets": [
[0, 0, 0, 0, 0, 0, 0, 1, 2, 3]
@@ -55,10 +55,10 @@
},
"hud": {
"frames": [
- { "x": 48, "y": 24, "width": 8, "height": 8 },
- { "x": 56, "y": 24, "width": 8, "height": 8 },
- { "x": 48, "y": 32, "width": 8, "height": 8 },
- { "x": 56, "y": 32, "width": 8, "height": 8 }
+ { "x": 48, "y": 24, "width": 8, "height": 8 },
+ { "x": 56, "y": 24, "width": 8, "height": 8 },
+ { "x": 48, "y": 32, "width": 8, "height": 8 },
+ { "x": 56, "y": 32, "width": 8, "height": 8 }
],
"sets": [
[0, 1, 2, 3]
@@ -67,7 +67,7 @@
"slime": {
"frames": [
{ "x": 0, "y": 56, "width": 16, "height": 16 },
- { "x": 16, "y": 56, "width": 16, "height": 16 }
+ { "x": 16, "y": 56, "width": 16, "height": 16 }
],
"sets": [
[0, 1]
@@ -76,31 +76,64 @@
"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 }
+ { "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]
]
},
+ "shooter": {
+ "frames": [
+ { "x": 0, "y": 96, "width": 16, "height": 24 },
+ { "x": 16, "y": 96, "width": 16, "height": 24 },
+ { "x": 32, "y": 96, "width": 16, "height": 24 },
+ { "x": 48, "y": 96, "width": 16, "height": 24 },
+ { "x": 64, "y": 96, "width": 16, "height": 24 },
+ { "x": 80, "y": 96, "width": 16, "height": 24 }
+ ],
+ "sets": [
+ [0, 1, 0, 2],
+ [5, 4, 5, 3]
+ ]
+ },
+ "blast": {
+ "frames": [
+ { "x": 32, "y": 56, "width": 16, "height": 8 },
+ { "x": 48, "y": 56, "width": 16, "height": 8 }
+ ],
+ "sets": [
+ [0, 1]
+ ]
+ },
+ "impact": {
+ "frames": [
+ { "x": 64, "y": 56, "width": 8, "height": 8 },
+ { "x": 72, "y": 56, "width": 8, "height": 8 },
+ { "x": 80, "y": 56, "width": 8, "height": 8 }
+ ],
+ "sets": [
+ [0, 1, 2]
+ ]
+ },
"exit": {
"frames": [
{ "x": 0, "y": 160, "width": 16, "height": 24 },
- { "x": 16, "y": 160, "width": 16, "height": 24 },
- { "x": 32, "y": 160, "width": 16, "height": 24 },
- { "x": 48, "y": 160, "width": 16, "height": 24 },
- { "x": 64, "y": 160, "width": 16, "height": 24 },
- { "x": 80, "y": 160, "width": 16, "height": 24 },
+ { "x": 16, "y": 160, "width": 16, "height": 24 },
+ { "x": 32, "y": 160, "width": 16, "height": 24 },
+ { "x": 48, "y": 160, "width": 16, "height": 24 },
+ { "x": 64, "y": 160, "width": 16, "height": 24 },
+ { "x": 80, "y": 160, "width": 16, "height": 24 },
{ "x": 0, "y": 184, "width": 16, "height": 24 },
- { "x": 16, "y": 184, "width": 16, "height": 24 },
- { "x": 32, "y": 184, "width": 16, "height": 24 },
- { "x": 48, "y": 184, "width": 16, "height": 24 },
- { "x": 64, "y": 184, "width": 16, "height": 24 },
- { "x": 80, "y": 184, "width": 16, "height": 24 }
+ { "x": 16, "y": 184, "width": 16, "height": 24 },
+ { "x": 32, "y": 184, "width": 16, "height": 24 },
+ { "x": 48, "y": 184, "width": 16, "height": 24 },
+ { "x": 64, "y": 184, "width": 16, "height": 24 },
+ { "x": 80, "y": 184, "width": 16, "height": 24 }
],
"sets": [
[0, 1, 2, 3, 4, 5, 5,
diff --git a/data/sprites.png b/data/sprites.png
index 1ad43de..0247640 100644
--- a/data/sprites.png
+++ b/data/sprites.png
Binary files differ