Failed attempt to build collision detection

This commit is contained in:
Indrajith K L
2021-08-03 23:06:26 +05:30
parent 705886d371
commit c3c5832587
7 changed files with 116 additions and 30 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.5" tiledversion="1.5.0" orientation="orthogonal" renderorder="right-down" width="20" height="15" tilewidth="16" tileheight="16" infinite="0" nextlayerid="6" nextobjectid="2">
<map version="1.5" tiledversion="1.5.0" orientation="orthogonal" renderorder="right-down" width="20" height="15" tilewidth="16" tileheight="16" infinite="0" nextlayerid="7" nextobjectid="8">
<editorsettings>
<export target="level1.json" format="json"/>
</editorsettings>
@@ -43,6 +43,9 @@
</data>
</layer>
<objectgroup id="5" name="objects">
<object id="1" name="player" type="player" x="16" y="32" width="16" height="16"/>
<object id="1" name="player" type="player" x="0" y="0" width="16" height="16"/>
</objectgroup>
<objectgroup id="6" name="colliders">
<object id="7" type="collider" x="95.75" y="55.5" width="47.75" height="60.5"/>
</objectgroup>
</map>