add hero object to tiledmap

This commit is contained in:
Quillraven
2025-05-24 16:44:52 +02:00
parent 85ba3d894d
commit f9767d2695
3 changed files with 22 additions and 2 deletions

View File

@@ -25,7 +25,7 @@
}
},
"frame.defaultDuration": 250,
"last.imagePath": "/home/gaja/IdeaProjects/mystictutorial/assets/maps",
"last.imagePath": "/home/gaja/IdeaProjects/mystictutorial/assets/maps/objects",
"map.height": 14,
"map.lastUsedFormat": "tmx",
"map.layerDataFormat": null,
@@ -35,6 +35,7 @@
"tileset.tsx"
],
"project": "mystic.tiled-project",
"property.type": "float",
"recentFiles": [
"tileset.tsx",
"mainmap.tmx"

View File

@@ -1,2 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.10" tiledversion="1.11.1-99-gec89c545" name="objects" tilewidth="1" tileheight="1" tilecount="0" columns="0"/>
<tileset version="1.10" tiledversion="1.11.1-99-gec89c545" name="objects" tilewidth="64" tileheight="64" tilecount="1" columns="0">
<grid orientation="orthogonal" width="1" height="1"/>
<tile id="0">
<properties>
<property name="speed" type="float" value="5"/>
</properties>
<image source="objects/hero.png" width="64" height="64"/>
<objectgroup draworder="index" id="3">
<object id="2" name="collission" x="19.75" y="53.5" width="24.25" height="10.5">
<ellipse/>
</object>
<object id="3" name="interact" x="0" y="8" width="64" height="64">
<properties>
<property name="sensor" type="bool" value="true"/>
</properties>
<ellipse/>
</object>
</objectgroup>
</tile>
</tileset>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB