aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-02-13 21:58:24 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-02-13 21:58:24 +0000
commit2d182c1f9c80a1e1ffb232bc6e17980cb3a64cf5 (patch)
tree3e6a2b49a5fddd3d421a83f155de255b71560159 /data
parentcfc5b71c86a4927fa8d2294fce5e8b8264b4a3ca (diff)
downloadspace-plat-hs-2d182c1f9c80a1e1ffb232bc6e17980cb3a64cf5.tar.gz
space-plat-hs-2d182c1f9c80a1e1ffb232bc6e17980cb3a64cf5.zip
Pickups WIP
TODO: collision
Diffstat (limited to 'data')
-rw-r--r--data/map.json57
-rw-r--r--data/sprites.json17
-rw-r--r--data/sprites.pngbin8565 -> 9982 bytes
3 files changed, 70 insertions, 4 deletions
diff --git a/data/map.json b/data/map.json
index 0791988..d98ca03 100644
--- a/data/map.json
+++ b/data/map.json
@@ -53,6 +53,61 @@
"width":16,
"x":80,
"y":40
+ },
+ {
+ "height":16,
+ "id":3,
+ "name":"Battery",
+ "rotation":0,
+ "type":"",
+ "visible":true,
+ "width":16,
+ "x":192,
+ "y":48
+ },
+ {
+ "height":16,
+ "id":5,
+ "name":"Battery",
+ "rotation":0,
+ "type":"",
+ "visible":true,
+ "width":16,
+ "x":240,
+ "y":48
+ },
+ {
+ "height":16,
+ "id":6,
+ "name":"Battery",
+ "rotation":0,
+ "type":"",
+ "visible":true,
+ "width":16,
+ "x":256,
+ "y":48
+ },
+ {
+ "height":16,
+ "id":7,
+ "name":"Battery",
+ "rotation":0,
+ "type":"",
+ "visible":true,
+ "width":16,
+ "x":272,
+ "y":48
+ },
+ {
+ "height":16,
+ "id":8,
+ "name":"Battery",
+ "rotation":0,
+ "type":"",
+ "visible":true,
+ "width":16,
+ "x":288,
+ "y":48
}],
"opacity":1,
"type":"objectgroup",
@@ -61,7 +116,7 @@
"y":0
}],
"nextlayerid":6,
- "nextobjectid":3,
+ "nextobjectid":9,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.7.2",
diff --git a/data/sprites.json b/data/sprites.json
index 6fddd4e..6df8b7b 100644
--- a/data/sprites.json
+++ b/data/sprites.json
@@ -15,12 +15,23 @@
},
"dust": {
"frames": [
- { "x": 0, "y": 24, "width": 16, "height": 24 },
- { "x": 16, "y": 24, "width": 16, "height": 24 },
- { "x": 32, "y": 24, "width": 16, "height": 24 }
+ { "x": 0, "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]
]
+ },
+ "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 }
+ ],
+ "sets": [
+ [0, 0, 0, 0, 0, 0, 0, 1, 2, 3]
+ ]
}
}
diff --git a/data/sprites.png b/data/sprites.png
index 21ef84e..fde41d8 100644
--- a/data/sprites.png
+++ b/data/sprites.png
Binary files differ