demo/resources/scenes/debug.tmx
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" orientation="orthogonal" renderorder="right-down" width="25" height="25" tilewidth="10" tileheight="10" nextobjectid="37">
<tileset firstgid="1" name="debug" tilewidth="10" tileheight="10">
<image source="tilesheet-for-tmx-example.png" width="80" height="150"/>
</tileset>
<layer name="Tile Layer 1" width="25" height="25">
<data encoding="csv">
14,14,14,14,14,14,14,16,16,16,22,22,16,16,16,16,16,14,14,14,14,14,14,14,14,
14,14,14,14,14,12,12,12,16,16,22,22,16,16,12,12,12,66,12,14,14,12,12,14,14,
14,14,14,66,12,12,65,12,12,12,14,14,12,13,12,12,12,12,12,12,12,12,65,14,14,
14,14,12,12,12,12,12,12,66,12,14,14,12,12,12,65,12,13,12,66,12,12,12,13,14,
14,14,12,12,12,12,12,12,12,14,14,14,12,12,12,12,12,12,12,12,12,12,12,12,14,
14,14,13,12,12,12,12,12,12,14,14,14,12,12,12,12,12,12,12,12,12,12,12,14,14,
14,14,12,12,12,65,12,12,12,14,14,12,12,12,9,9,9,9,9,12,12,12,12,14,14,
14,14,14,12,12,12,12,13,12,90,90,66,12,12,9,9,9,9,9,12,12,13,14,14,14,
14,14,14,14,14,12,12,12,12,14,14,12,12,12,9,9,9,9,9,12,12,12,14,14,14,
14,14,14,14,14,12,12,12,12,14,14,12,13,12,9,9,9,9,9,12,12,14,14,14,14,
14,14,14,14,13,12,65,12,12,14,14,14,12,12,12,12,9,12,12,12,12,14,14,14,14,
14,14,14,14,12,12,12,12,12,12,14,14,12,12,12,12,12,12,12,12,12,14,14,14,14,
14,14,14,66,12,12,12,12,12,12,14,14,14,12,12,65,12,12,66,12,12,14,14,14,14,
14,14,14,12,12,12,12,12,12,12,12,14,14,14,12,12,12,12,12,12,12,12,14,14,14,
14,14,14,14,12,12,12,12,12,66,12,12,14,14,12,12,12,13,12,12,12,12,14,14,14,
14,14,14,14,12,12,12,12,12,12,12,12,14,14,12,12,12,12,12,65,12,14,14,14,14,
14,14,14,14,12,13,12,12,65,12,13,12,14,14,12,12,65,12,12,12,12,14,14,14,14,
14,14,14,12,12,12,12,12,12,12,12,12,14,14,14,12,12,12,14,14,12,13,14,14,14,
14,14,12,12,65,12,12,14,14,14,14,12,12,14,14,12,14,14,14,14,14,14,14,14,14,
14,14,14,66,12,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,
14,14,14,12,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,
14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,
14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,
14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,
14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14
</data>
</layer>
<objectgroup name="Object Layer 1">
<object id="34" type="player_start_position" x="70" y="30" width="10" height="10"/>
<object id="36" type="npc" x="160" y="60" width="10" height="10">
<properties>
<property name="say" value="lol"/>
<property name="walkabout" value="slime"/>
</properties>
</object>
</objectgroup>
<layer name="Tile Layer 2" width="25" height="25">
<data encoding="csv">
30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,0,0,30,30,30,30,30,30,30,30,
30,30,30,30,30,0,0,39,0,0,0,0,0,0,39,39,39,0,0,30,30,0,0,30,30,
30,30,30,0,21,0,48,0,0,39,30,30,21,0,0,0,0,0,0,0,0,0,0,30,30,
30,30,0,0,0,0,0,0,0,0,30,30,0,0,0,0,0,0,0,40,0,0,0,0,30,
30,30,0,0,0,0,0,0,0,30,30,30,0,0,0,0,0,0,0,0,0,21,0,0,30,
30,30,0,0,0,0,21,0,0,30,30,30,0,4,1,1,1,1,1,4,0,0,0,30,30,
30,30,0,0,0,0,0,0,0,30,30,0,0,2,56,0,0,0,46,2,0,0,0,30,30,
30,30,30,0,0,0,0,0,0,0,0,0,0,2,0,0,55,0,0,2,39,0,30,30,30,
30,30,30,30,30,0,0,0,0,30,30,0,0,2,0,0,0,0,0,2,0,0,30,30,30,
30,30,30,30,30,0,0,0,39,30,30,0,0,2,28,0,0,0,0,2,0,30,30,30,30,
30,30,30,30,0,0,0,0,0,30,30,30,0,3,3,3,0,3,3,3,0,30,30,30,30,
30,30,30,30,0,0,0,0,0,0,30,30,0,0,0,61,0,61,0,0,0,30,30,30,30,
30,30,30,0,0,0,0,0,21,0,30,30,30,0,0,0,0,0,0,0,0,30,30,30,30,
30,30,30,0,0,0,92,0,0,0,0,30,30,30,0,0,0,0,32,0,0,21,30,30,30,
30,30,30,30,0,0,100,0,0,0,0,39,30,30,0,0,0,0,0,0,0,0,30,30,30,
30,30,30,30,0,0,0,0,0,0,0,0,30,30,0,0,21,0,0,0,0,30,30,30,30,
30,30,30,30,0,0,0,0,0,0,0,0,30,30,0,0,0,0,0,0,0,30,30,30,30,
30,30,30,0,0,0,0,0,0,0,0,21,30,30,30,0,0,0,30,30,0,0,30,30,30,
30,30,0,0,0,0,0,30,30,30,30,0,0,30,30,0,30,30,30,30,30,30,30,30,30,
30,30,30,0,0,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
30,30,30,0,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30
</data>
</layer>
<layer name="Tile Layer 3" width="25" height="25">
<data encoding="csv">
0,0,0,0,0,42,42,0,0,0,0,0,0,0,0,0,0,42,42,0,0,42,42,0,0,
0,0,0,42,43,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41,43,0,0,33,0,
0,0,43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