add some more objects

This commit is contained in:
Quillraven
2025-05-29 22:45:35 +02:00
parent 157f10302f
commit dc905f9c07
12 changed files with 290 additions and 184 deletions

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="18" height="16" tilewidth="16" tileheight="16" infinite="0" nextlayerid="7" nextobjectid="5">
<map version="1.11" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="18" height="16" tilewidth="16" tileheight="16" infinite="0" nextlayerid="7" nextobjectid="11">
<tileset firstgid="1" source="objects.tsx"/>
<tileset firstgid="3" source="tileset.tsx"/>
<tileset firstgid="6" source="tileset.tsx"/>
<layer id="1" name="ground" width="18" height="16">
<data encoding="base64" compression="zlib">
eJylkjsPwjAMhLPwkCoeEjDBxkgzARPqBEywla2w9lfkx3OVYulkuSHA8Elt5DvH5wTn3BosDTYgfMHEOCtBEb/34KA4GpotGBjnRfR4gJZ4girW7AwN/3ezrsApam/gQlyNvp3nIubhySOQT2XocuGZ2MdnaiVL8WhA3ZOtoPegM2Vqo16Qflwvmd4Tnry7Vu2Ad+EpY6uHJpWV+LzI55e9neNsfAfr3eR6sbb8UK/f978MwUgx7qlN3W0KZop5Rv83sodpJA==
eJylkjsPwjAMhDPykCoeEjDBxkgzARPqBEywla2w9lfkr3OVYulkuSHA8Elt5DvH5wTn3BosDTYgfMHEOCtBEb/34KA4GpotGBjnRfR4gJZ4girW7AwN/3ezrsApam/gQlyNvp3nIubhySOQT2XocuGZ2MdnaiVL8WhA3ZOtoPegM2Vqo16Qflwvmd4Tnry7Vu2Ad+EpY6uHJpWV+LzI55e9neNsfAfr3eR6sbb8UK/f978MwUgx7qlN3W0KZop5Rv83Ub9shA==
</data>
</layer>
<layer id="3" name="water" width="18" height="16">
@@ -24,7 +24,12 @@
</layer>
<objectgroup id="6" name="trigger"/>
<objectgroup id="5" name="objects">
<object id="4" gid="2" x="24" y="214" width="32" height="32">
<object id="5" gid="3" x="197" y="118" width="80" height="112"/>
<object id="6" gid="4" x="58" y="101" width="64" height="80"/>
<object id="7" gid="4" x="43" y="215" width="64" height="80"/>
<object id="8" gid="4" x="199" y="216" width="64" height="80"/>
<object id="9" gid="5" x="32" y="32" width="16" height="16"/>
<object id="10" gid="2" x="25" y="214" width="32" height="32">
<properties>
<property name="controller" type="bool" value="true"/>
</properties>

View File

@@ -10,5 +10,65 @@
"properties": [
],
"propertyTypes": [
{
"id": 2,
"name": "AtlasAsset",
"storageType": "string",
"type": "enum",
"values": [
"OBJECTS"
],
"valuesAsFlags": false
},
{
"color": "#ffa0a0a4",
"drawFill": true,
"id": 3,
"members": [
{
"name": "animation",
"type": "string",
"value": ""
},
{
"name": "atlasAsset",
"propertyType": "AtlasAsset",
"type": "string",
"value": "OBJECTS"
},
{
"name": "speed",
"type": "float",
"value": 0
}
],
"name": "Object",
"type": "class",
"useAs": [
"property",
"tile",
"project"
]
},
{
"color": "#ffa0a0a4",
"drawFill": true,
"id": 1,
"members": [
{
"name": "atlasAsset",
"propertyType": "AtlasAsset",
"type": "string",
"value": "OBJECTS"
}
],
"name": "Prop",
"type": "class",
"useAs": [
"property",
"tile",
"project"
]
}
]
}

View File

@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.10" tiledversion="1.11.0" name="objects" tilewidth="32" tileheight="32" tilecount="1" columns="0">
<tileset version="1.10" tiledversion="1.11.0" name="objects" tilewidth="80" tileheight="112" tilecount="4" columns="0">
<grid orientation="orthogonal" width="1" height="1"/>
<tile id="1">
<tile id="1" type="Object">
<properties>
<property name="animation" value="IDLE"/>
<property name="atlasAsset" value="OBJECTS"/>
<property name="speed" type="float" value="2"/>
</properties>
<image source="objects/player.png" width="32" height="32"/>
@@ -14,4 +13,24 @@
</object>
</objectgroup>
</tile>
<tile id="2" type="Prop">
<image source="objects/house.png" width="80" height="112"/>
<objectgroup draworder="index" id="2">
<object id="1" x="7" y="82" width="67" height="26"/>
</objectgroup>
</tile>
<tile id="3" type="Prop">
<image source="objects/oak_tree.png" width="64" height="80"/>
<objectgroup draworder="index" id="2">
<object id="2" x="24" y="63">
<polygon points="0,0 6,1 11,1 16,-1 16,-2 13,-6 13,-12 3,-12 3,-6 2,-5 1,-3"/>
</object>
</objectgroup>
</tile>
<tile id="4" type="Prop">
<image source="objects/chest.png" width="16" height="16"/>
<objectgroup draworder="index" id="2">
<object id="1" x="0" y="4" width="16" height="10"/>
</objectgroup>
</tile>
</tileset>

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB