aboutsummaryrefslogtreecommitdiff
path: root/data/map.json
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-02-09 17:41:31 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-02-09 17:41:31 +0000
commitc2fb8cd922032e24962bc3aef65d5428c5361957 (patch)
treecbd4c371f676383205c238f50d40b2e378a2e442 /data/map.json
parentffc274d310b14eb663d018a00a64b78ba45d0fc5 (diff)
downloadspace-plat-hs-c2fb8cd922032e24962bc3aef65d5428c5361957.tar.gz
space-plat-hs-c2fb8cd922032e24962bc3aef65d5428c5361957.zip
Object layer support for map entities
Diffstat (limited to 'data/map.json')
-rw-r--r--data/map.json26
1 files changed, 24 insertions, 2 deletions
diff --git a/data/map.json b/data/map.json
index 5c8f003..b04801b 100644
--- a/data/map.json
+++ b/data/map.json
@@ -37,9 +37,31 @@
"width":40,
"x":0,
"y":0
+ },
+ {
+ "draworder":"topdown",
+ "id":5,
+ "name":"Entities",
+ "objects":[
+ {
+ "height":24,
+ "id":1,
+ "name":"Player",
+ "rotation":0,
+ "type":"",
+ "visible":true,
+ "width":16,
+ "x":120,
+ "y":136
+ }],
+ "opacity":1,
+ "type":"objectgroup",
+ "visible":true,
+ "x":0,
+ "y":0
}],
- "nextlayerid":5,
- "nextobjectid":1,
+ "nextlayerid":6,
+ "nextobjectid":2,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.7.2",