aboutsummaryrefslogtreecommitdiff
path: root/data/sprites.json
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/sprites.json
parentd333eca8c0761e39781af0711a54044cd5ea3c10 (diff)
downloadspace-plat-hs-7a8af18d0e1003c26eb595b5faa71e51da6286a6.tar.gz
space-plat-hs-7a8af18d0e1003c26eb595b5faa71e51da6286a6.zip
Added new shooter enemy
Diffstat (limited to 'data/sprites.json')
-rw-r--r--data/sprites.json83
1 files changed, 58 insertions, 25 deletions
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,