add hero object to tiledmap
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"frame.defaultDuration": 250,
|
"frame.defaultDuration": 250,
|
||||||
"last.imagePath": "/home/gaja/IdeaProjects/mystictutorial/assets/maps",
|
"last.imagePath": "/home/gaja/IdeaProjects/mystictutorial/assets/maps/objects",
|
||||||
"map.height": 14,
|
"map.height": 14,
|
||||||
"map.lastUsedFormat": "tmx",
|
"map.lastUsedFormat": "tmx",
|
||||||
"map.layerDataFormat": null,
|
"map.layerDataFormat": null,
|
||||||
@@ -35,6 +35,7 @@
|
|||||||
"tileset.tsx"
|
"tileset.tsx"
|
||||||
],
|
],
|
||||||
"project": "mystic.tiled-project",
|
"project": "mystic.tiled-project",
|
||||||
|
"property.type": "float",
|
||||||
"recentFiles": [
|
"recentFiles": [
|
||||||
"tileset.tsx",
|
"tileset.tsx",
|
||||||
"mainmap.tmx"
|
"mainmap.tmx"
|
||||||
|
|||||||
@@ -1,2 +1,21 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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>
|
||||||
|
|||||||
BIN
assets/maps/objects/hero.png
Normal file
BIN
assets/maps/objects/hero.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
Reference in New Issue
Block a user