Add hitboxes

This commit is contained in:
2024-01-28 11:00:32 +01:00
parent 0a4c1fd154
commit a61768e912
15 changed files with 494 additions and 200 deletions

View File

@@ -125,6 +125,9 @@
<property name="entity" value=""/>
<property name="player" type="int" value="0"/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" name="hitbox" x="4" y="2" width="8" height="12"/>
</objectgroup>
<animation>
<frame tileid="27" duration="200"/>
<frame tileid="28" duration="200"/>
@@ -512,6 +515,9 @@
<property name="player" type="int" value="0"/>
<property name="size_y" type="int" value="2"/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" name="hitbox" x="4" y="0" width="8" height="14"/>
</objectgroup>
<animation>
<frame tileid="539" duration="200"/>
<frame tileid="540" duration="200"/>
@@ -789,6 +795,9 @@
<property name="player" type="int" value="0"/>
<property name="size_y" type="int" value="2"/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" name="hitbox" x="4" y="0" width="8" height="14"/>
</objectgroup>
<animation>
<frame tileid="1051" duration="200"/>
<frame tileid="1052" duration="200"/>
@@ -1106,6 +1115,9 @@
<property name="player" type="int" value="0"/>
<property name="size_y" type="int" value="2"/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" name="hitbox" x="4" y="0" width="8" height="14"/>
</objectgroup>
<animation>
<frame tileid="1563" duration="200"/>
<frame tileid="1564" duration="200"/>
@@ -1935,6 +1947,9 @@
<property name="entity" value=""/>
<property name="size_y" type="int" value="2"/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" name="hitbox" x="4" y="1" width="8" height="13"/>
</objectgroup>
<animation>
<frame tileid="2075" duration="200"/>
<frame tileid="2076" duration="200"/>
@@ -2306,6 +2321,9 @@
<property name="entity" value=""/>
<property name="size_y" type="int" value="2"/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" name="hitbox" x="4" y="3" width="8" height="11"/>
</objectgroup>
<animation>
<frame tileid="2587" duration="200"/>
<frame tileid="2588" duration="200"/>
@@ -2559,24 +2577,23 @@
<property name="terrain" value=""/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" x="3" y="3" width="10" height="11">
<ellipse/>
</object>
<object id="2" name="hitbox" x="4" y="4" width="8" height="9"/>
</objectgroup>
</tile>
<tile id="5889">
<properties>
<property name="terrain" value=""/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" name="hitbox" x="3" y="7" width="10" height="7"/>
</objectgroup>
</tile>
<tile id="5890">
<properties>
<property name="terrain" value=""/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" x="4" y="6" width="8" height="8">
<ellipse/>
</object>
<object id="2" name="hitbox" x="6" y="4" width="4" height="10"/>
</objectgroup>
</tile>
<tile id="5891">
@@ -2584,9 +2601,7 @@
<property name="terrain" value=""/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" x="4" y="6" width="8" height="8">
<ellipse/>
</object>
<object id="2" name="hitbox" x="6" y="4" width="4" height="10"/>
</objectgroup>
</tile>
<tile id="5892">
@@ -2765,9 +2780,7 @@
<property name="terrain" value=""/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" x="4" y="6" width="8" height="8">
<ellipse/>
</object>
<object id="2" name="hitbox" x="6" y="4" width="4" height="10"/>
</objectgroup>
</tile>
<tile id="6147">
@@ -2775,9 +2788,7 @@
<property name="terrain" value=""/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" x="4" y="6" width="8" height="8">
<ellipse/>
</object>
<object id="2" name="hitbox" x="6" y="4" width="4" height="10"/>
</objectgroup>
</tile>
<tile id="6148">
@@ -2896,9 +2907,7 @@
<property name="terrain" value=""/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" x="4" y="6" width="8" height="8">
<ellipse/>
</object>
<object id="2" name="hitbox" x="6" y="4" width="4" height="10"/>
</objectgroup>
</tile>
<tile id="6403">
@@ -2906,9 +2915,7 @@
<property name="terrain" value=""/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" x="4" y="6" width="8" height="8">
<ellipse/>
</object>
<object id="2" name="hitbox" x="6" y="4" width="4" height="10"/>
</objectgroup>
</tile>
<tile id="6404">
@@ -3071,9 +3078,7 @@
<property name="terrain" value=""/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" x="4" y="6" width="8" height="8">
<ellipse/>
</object>
<object id="2" name="hitbox" x="6" y="4" width="4" height="10"/>
</objectgroup>
</tile>
<tile id="6657">
@@ -3197,9 +3202,7 @@
<property name="terrain" value=""/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" x="4" y="6" width="8" height="8">
<ellipse/>
</object>
<object id="2" name="hitbox" x="6" y="4" width="4" height="10"/>
</objectgroup>
</tile>
<tile id="6913">
@@ -3331,16 +3334,25 @@
<properties>
<property name="terrain" value=""/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" name="hitbox" x="3" y="3" width="10" height="10"/>
</objectgroup>
</tile>
<tile id="7171" type="gold_ore">
<properties>
<property name="terrain" value=""/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" name="hitbox" x="3" y="4" width="10" height="9"/>
</objectgroup>
</tile>
<tile id="7172" type="gold_ore">
<properties>
<property name="terrain" value=""/>
</properties>
<objectgroup draworder="index" id="2">
<object id="1" name="hitbox" x="1" y="3" width="14" height="10"/>
</objectgroup>
</tile>
<tile id="7173">
<properties>