Files
mystictutorial/assets/maps/objects.tsx
2025-06-08 20:09:13 +02:00

82 lines
3.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.10" tiledversion="1.11.2" name="objects" tilewidth="80" tileheight="112" tilecount="6" columns="0">
<grid orientation="orthogonal" width="1" height="1"/>
<tile id="1" type="Object">
<properties>
<property name="animation" value="IDLE"/>
<property name="animationSpeed" type="float" value="1"/>
<property name="damage" type="float" value="7"/>
<property name="damageDelay" type="float" value="0.2"/>
<property name="life" type="int" value="12"/>
<property name="lifeReg" type="float" value="0.25"/>
<property name="speed" type="float" value="3.5"/>
</properties>
<image source="objects/player.png" width="32" height="32"/>
<objectgroup draworder="index" id="2">
<object id="1" x="11" y="18" width="9" height="5">
<ellipse/>
</object>
<object id="2" name="attack_sensor_down" x="0" y="17" width="32" height="15">
<properties>
<property name="sensor" type="bool" value="true"/>
</properties>
</object>
<object id="3" name="attack_sensor_up" x="0" y="0" width="32" height="15">
<properties>
<property name="sensor" type="bool" value="true"/>
</properties>
</object>
<object id="4" name="attack_sensor_left" x="0" y="0" width="15" height="32">
<properties>
<property name="sensor" type="bool" value="true"/>
</properties>
</object>
<object id="5" name="attack_sensor_right" x="17" y="0" width="15" height="32">
<properties>
<property name="sensor" type="bool" value="true"/>
</properties>
</object>
</objectgroup>
</tile>
<tile id="2" type="Prop">
<image source="objects/house.png" width="80" height="112"/>
<objectgroup draworder="index" id="2">
<object id="1" x="7" y="82" width="67" height="26"/>
</objectgroup>
</tile>
<tile id="4" type="Prop">
<image source="objects/chest.png" width="16" height="16"/>
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="4" width="16" height="10"/>
</objectgroup>
</tile>
<tile id="5" type="Prop">
<image source="objects/oak_tree.png" width="41" height="63"/>
<objectgroup draworder="index" id="2">
<object id="1" x="13" y="54">
<polygon points="0,0 6,1 11,1 16,-1 16,-2 14,-5 13,-13 3,-13 3,-6 2,-5 1,-3 0,-1"/>
</object>
</objectgroup>
</tile>
<tile id="6" type="Object">
<properties>
<property name="animation" value="IDLE"/>
<property name="z" type="int" value="0"/>
</properties>
<image source="objects/trap.png" width="16" height="16"/>
</tile>
<tile id="7" type="Object">
<properties>
<property name="animation" value="IDLE"/>
<property name="animationSpeed" type="float" value="1"/>
<property name="bodyType" propertytype="BodyType" value="StaticBody"/>
<property name="life" type="int" value="99999"/>
<property name="lifeReg" type="float" value="9999"/>
</properties>
<image source="objects/training_dummy.png" width="32" height="32"/>
<objectgroup draworder="index" id="2">
<object id="1" x="3" y="12" width="26" height="16"/>
</objectgroup>
</tile>
</tileset>