From: MegaBrutal Date: Mon, 10 Sep 2018 22:25:00 +0000 (+0200) Subject: Add test doors to tilemap X-Git-Tag: early-release~29 X-Git-Url: http://git.megabrutal.com/?p=wgj58.git;a=commitdiff_plain;h=6252fb1168fd9caedbbad193159543b24013759d;hp=cb29becc715c01e495228174666fdd66a64ad7ac Add test doors to tilemap Test doors added with all possible orientations. modified: tilemap.json modified: tilemap.tmx --- diff --git a/tilemap.json b/tilemap.json index 38cfc3f..5a7025e 100644 --- a/tilemap.json +++ b/tilemap.json @@ -2,7 +2,7 @@ "infinite":false, "layers":[ { - "data":[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, 4, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,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 2, 2, 2, 0, 0, 0, 0, 0, 0, 4, 2, 2, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 4, 2, 2, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "height":19, "name":"floor", "opacity":1, @@ -61,6 +61,166 @@ "width":64, "x":774.666666666667, "y":894.666666666667 + }, + { + "gid":62, + "height":64, + "id":4, + "name":"cutedoor", + "properties": + { + "longpanel":false + }, + "propertytypes": + { + "longpanel":"bool" + }, + "rotation":0, + "type":"door", + "visible":true, + "width":64, + "x":320, + "y":580 + }, + { + "gid":62, + "height":64, + "id":5, + "name":"cutedoor", + "properties": + { + "longpanel":false + }, + "propertytypes": + { + "longpanel":"bool" + }, + "rotation":180, + "type":"door", + "visible":true, + "width":64, + "x":448, + "y":516 + }, + { + "gid":62, + "height":64, + "id":7, + "name":"cutedoor", + "properties": + { + "longpanel":true + }, + "propertytypes": + { + "longpanel":"bool" + }, + "rotation":0, + "type":"door", + "visible":true, + "width":64, + "x":320, + "y":640 + }, + { + "gid":62, + "height":64, + "id":10, + "name":"cutedoor", + "properties": + { + "longpanel":true + }, + "propertytypes": + { + "longpanel":"bool" + }, + "rotation":180, + "type":"door", + "visible":true, + "width":64, + "x":448, + "y":576 + }, + { + "gid":62, + "height":64, + "id":11, + "name":"cutedoor", + "properties": + { + "longpanel":true + }, + "propertytypes": + { + "longpanel":"bool" + }, + "rotation":270, + "type":"door", + "visible":true, + "width":64, + "x":252.797924388358, + "y":895.20591597973 + }, + { + "gid":62, + "height":64, + "id":12, + "name":"cutedoor", + "properties": + { + "longpanel":false + }, + "propertytypes": + { + "longpanel":"bool" + }, + "rotation":270, + "type":"door", + "visible":true, + "width":64, + "x":192.798050825782, + "y":895.32909258007 + }, + { + "gid":62, + "height":64, + "id":13, + "name":"cutedoor", + "properties": + { + "longpanel":true + }, + "propertytypes": + { + "longpanel":"bool" + }, + "rotation":90, + "type":"door", + "visible":true, + "width":64, + "x":188.535282507552, + "y":767.337574086597 + }, + { + "gid":62, + "height":64, + "id":14, + "name":"cutedoor", + "properties": + { + "longpanel":false + }, + "propertytypes": + { + "longpanel":"bool" + }, + "rotation":90, + "type":"door", + "visible":true, + "width":64, + "x":128.535408944975, + "y":767.460750686937 }], "opacity":1, "type":"objectgroup", @@ -68,7 +228,7 @@ "x":0, "y":0 }], - "nextobjectid":4, + "nextobjectid":19, "orientation":"orthogonal", "renderorder":"right-down", "tiledversion":"1.1.6", diff --git a/tilemap.tmx b/tilemap.tmx index e5a4dfe..d05a758 100644 --- a/tilemap.tmx +++ b/tilemap.tmx @@ -1,5 +1,5 @@ - + @@ -16,13 +16,13 @@ 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,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0, -0,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0, -0,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0, -0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0, -0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0, -0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0, -0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0, -0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0, +0,2,2,2,4,2,2,4,2,2,2,0,0,0,0,0,0,0,0, +0,2,2,2,4,2,2,4,2,2,2,0,0,0,0,0,0,0,0, +0,2,2,2,4,4,4,4,2,2,2,2,2,2,0,0,0,0,0, +0,4,4,4,4,2,2,2,2,2,2,2,2,2,0,0,0,0,0, +0,4,2,2,4,2,2,2,2,2,2,2,2,2,0,0,0,0,0, +0,4,2,2,4,2,2,2,2,2,2,2,2,2,0,0,0,0,0, +0,4,4,4,4,2,2,2,2,2,2,2,2,2,0,0,0,0,0, 0,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0, 0,2,2,1,1,1,1,1,1,2,2,0,0,0,0,0,0,0,0, 0,2,2,1,1,1,1,1,1,2,2,0,0,0,0,0,0,0,0, @@ -78,5 +78,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +