Fixed tile objects rendering

This commit is contained in:
2023-11-11 09:35:05 +01:00
parent afb8e93f15
commit 10e47a6ad4
5 changed files with 33 additions and 4 deletions

View File

@@ -1,4 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.10" tiledversion="1.10.2" name="entities" tilewidth="16" tileheight="16" tilecount="4096" columns="64">
<editorsettings>
<export target="../assets/entities.tsj" format="json"/>
</editorsettings>
<image source="../assets/entities.png" width="1024" height="1024"/>
<tile id="0" type="worker"/>
<tile id="1" type="worker"/>
<tile id="2" type="worker"/>
<tile id="3" type="worker"/>
<tile id="64" type="axe"/>
</tileset>

View File

@@ -331,7 +331,7 @@
</data>
</layer>
<objectgroup id="31" name="Entities">
<object id="19728" gid="1322" x="1095.25" y="405.75" width="10" height="10"/>
<object id="19728" gid="1322" x="1155.52" y="473.417" width="10" height="10"/>
</objectgroup>
<objectgroup id="28" name="Game">
<object id="19726" name="camera" x="1048" y="476">