Add support for objects with tiles
This commit is contained in:
4
tiled/entities.tsx
Normal file
4
tiled/entities.tsx
Normal file
@@ -0,0 +1,4 @@
|
||||
<?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">
|
||||
<image source="../assets/entities.png" width="1024" height="1024"/>
|
||||
</tileset>
|
||||
@@ -1,10 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.10" tiledversion="1.10.2" orientation="orthogonal" renderorder="right-down" width="80" height="50" tilewidth="16" tileheight="16" infinite="0" nextlayerid="33" nextobjectid="19728">
|
||||
<map version="1.10" tiledversion="1.10.2" orientation="orthogonal" renderorder="right-down" width="80" height="50" tilewidth="16" tileheight="16" infinite="0" nextlayerid="33" nextobjectid="19729">
|
||||
<editorsettings>
|
||||
<export target="../assets/maps/test.tmj" format="json"/>
|
||||
</editorsettings>
|
||||
<tileset firstgid="1" source="terrain.tsx"/>
|
||||
<tileset firstgid="298" source="buildings.tsx"/>
|
||||
<tileset firstgid="1322" source="entities.tsx"/>
|
||||
<layer id="1" name="Terrain" width="80" height="50">
|
||||
<data encoding="csv">
|
||||
1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,
|
||||
@@ -329,7 +330,9 @@
|
||||
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,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
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup id="31" name="Entities"/>
|
||||
<objectgroup id="31" name="Entities">
|
||||
<object id="19728" gid="1322" x="1095.25" y="405.75" width="10" height="10"/>
|
||||
</objectgroup>
|
||||
<objectgroup id="28" name="Game">
|
||||
<object id="19726" name="camera" x="1048" y="476">
|
||||
<point/>
|
||||
|
||||
Reference in New Issue
Block a user