From 5c316c38b5125a040c76109357933b2fe2c37721 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 25 Apr 2023 23:14:15 +0100 Subject: Reading direction property from entities --- data/map1.json | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) (limited to 'data') diff --git a/data/map1.json b/data/map1.json index d68295c..a43c2e8 100644 --- a/data/map1.json +++ b/data/map1.json @@ -179,7 +179,13 @@ { "height":16, "id":20, - "name":"Slime-l", + "name":"Slime", + "properties":[ + { + "name":"flip", + "type":"bool", + "value":true + }], "rotation":0, "type":"", "visible":true, @@ -201,7 +207,13 @@ { "height":24, "id":33, - "name":"Shooter-l", + "name":"Shooter", + "properties":[ + { + "name":"flip", + "type":"bool", + "value":true + }], "rotation":0, "type":"", "visible":true, @@ -256,13 +268,30 @@ { "height":24, "id":38, - "name":"Tracker-l", + "name":"Tracker", "rotation":0, "type":"", "visible":true, "width":16, "x":496, "y":136 + }, + { + "height":24, + "id":39, + "name":"Tracker", + "properties":[ + { + "name":"flip", + "type":"bool", + "value":true + }], + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":448, + "y":136 }], "opacity":1, "type":"objectgroup", @@ -271,7 +300,7 @@ "y":0 }], "nextlayerid":6, - "nextobjectid":39, + "nextobjectid":40, "orientation":"orthogonal", "renderorder":"right-down", "tiledversion":"1.7.2", -- cgit v1.2.3