From fee80f42f0889f2d484e25f4366f14b68c65ba70 Mon Sep 17 00:00:00 2001 From: realtradam Date: Wed, 19 May 2021 05:42:53 -0400 Subject: fully working map import --- assets/json/map_test2.json | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'assets/json/map_test2.json') diff --git a/assets/json/map_test2.json b/assets/json/map_test2.json index ef9c4a1..33640e5 100644 --- a/assets/json/map_test2.json +++ b/assets/json/map_test2.json @@ -43,8 +43,35 @@ "width":16, "x":0, "y":0 + }, + { + "chunks":[ + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 0, 0, 0, 0, 0, 0, 5048, 0, 0, 0, 0, 0, 0, 0, 0, 5048, 0, 0, 0, 0, 0, 0, 5048, 0, 5048, 0, 5048, 5048, 0, 0, 0, 5048, 0, 0, 0, 0, 0, 0, 5048, 0, 0, 0, 5048, 5048, 0, 0, 0, 5048, 0, 0, 0, 0, 0, 0, 5048, 0, 0, 0, 0, 0, 0, 0, 0, 5048, 0, 0, 0, 0, 0, 0, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 5048, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":16, + "width":16, + "x":0, + "y":0 + }], + "height":16, + "id":3, + "name":"Tile Layer 3", + "opacity":1, + "properties":[ + { + "name":"Hitbox", + "type":"bool", + "value":true + }], + "startx":0, + "starty":0, + "type":"tilelayer", + "visible":true, + "width":16, + "x":0, + "y":0 }], - "nextlayerid":3, + "nextlayerid":4, "nextobjectid":1, "orientation":"orthogonal", "renderorder":"right-down", @@ -58,6 +85,10 @@ { "firstgid":4088, "source":"..\/tileset_1_Generic_16x16.tsx" + }, + { + "firstgid":5048, + "source":"..\/hitbox.tsx" }], "tilewidth":16, "type":"map", -- cgit v1.2.3