TetrArcade/arcade/examples/map_with_custom_hitboxes.tmx

80 lines
3.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" tiledversion="1.1.5" orientation="orthogonal" renderorder="right-down" width="50" height="9" tilewidth="128" tileheight="128" infinite="0" backgroundcolor="#326683" nextobjectid="9">
<tileset firstgid="1" name="Examples" tilewidth="128" tileheight="128" tilecount="11" columns="0">
<tile id="0">
<image width="128" height="128" source="images/boxCrate_double.png"/>
</tile>
<tile id="1">
<image width="128" height="128" source="images/grassLeft.png"/>
</tile>
<tile id="2">
<image width="128" height="128" source="images/grassMid.png"/>
</tile>
<tile id="3">
<image width="128" height="128" source="images/grassRight.png"/>
</tile>
<tile id="4">
<image width="128" height="73" source="images/stoneHalf.png"/>
<objectgroup draworder="index">
<object id="1" x="0.454545" y="10.3636">
<polygon points="0,0 9.81818,-10 116.182,-9.90909 127,0.545455 127.091,52.0909 117.273,62.0909 9.81818,62.0909 -0.0909091,51.8182"/>
</object>
</objectgroup>
</tile>
<tile id="5">
<image width="128" height="128" source="images/coin_01.png"/>
</tile>
<tile id="6">
<image width="128" height="128" source="images/grassCorner_left.png"/>
</tile>
<tile id="7">
<image width="128" height="128" source="images/grassCorner_right.png"/>
</tile>
<tile id="8">
<image width="128" height="128" source="images/grassHill_left.png"/>
<objectgroup draworder="index">
<object id="1" x="0.545455" y="0.363636">
<polygon points="0,0.0869565 -0.272727,127.273 127,127.091"/>
</object>
</objectgroup>
</tile>
<tile id="9">
<image width="128" height="128" source="images/grassHill_right.png"/>
<objectgroup draworder="index">
<object id="2" x="0.363636" y="127.182">
<polygon points="0,0 127,-126.727 127.364,0.545455"/>
</object>
</objectgroup>
</tile>
<tile id="10">
<image width="128" height="128" source="images/grassCenter.png"/>
</tile>
</tileset>
<layer name="Obstructions" width="50" height="9">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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