Added map enum types and setup stage plate object and connectors.

pull/28/head
sigonasr2 1 year ago
parent 203290c94a
commit d70297578c
  1. 104
      Crawler/Crawler.tiled-project
  2. 55
      Crawler/assets/Campaigns/World_Map.tmx

@ -74,6 +74,29 @@
"tile"
]
},
{
"id": 21,
"name": "Level",
"storageType": "string",
"type": "enum",
"values": [
"WORLD_MAP",
"CAMPAIGN_1_1",
"CAMPAIGN_1_2",
"CAMPAIGN_1_3",
"CAMPAIGN_1_4",
"CAMPAIGN_1_5",
"CAMPAIGN_1_6",
"CAMPAIGN_1_7",
"CAMPAIGN_1_8",
"SHOP_1_1",
"SHOP_1_2",
"SHOP_1_3",
"BOSS_1",
"BLACKSMITH"
],
"valuesAsFlags": false
},
{
"color": "#ffc3ae44",
"drawFill": true,
@ -100,6 +123,24 @@
"object"
]
},
{
"color": "#ff2f62a4",
"drawFill": true,
"id": 19,
"members": [
{
"name": "Optimize",
"type": "bool",
"value": false
}
],
"name": "Map",
"type": "class",
"useAs": [
"property",
"map"
]
},
{
"color": "#ffaa0000",
"drawFill": false,
@ -140,24 +181,6 @@
],
"valuesAsFlags": false
},
{
"color": "#ff2f62a4",
"drawFill": true,
"id": 19,
"members": [
{
"name": "Optimize",
"type": "bool",
"value": false
}
],
"name": "Map",
"type": "class",
"useAs": [
"property",
"map"
]
},
{
"color": "#fffa00f6",
"drawFill": true,
@ -202,6 +225,51 @@
"object"
]
},
{
"color": "#ffffd073",
"drawFill": true,
"id": 20,
"members": [
{
"name": "Connection 1",
"type": "object",
"value": 0
},
{
"name": "Connection 2",
"type": "object",
"value": 0
},
{
"name": "Connection 3",
"type": "object",
"value": 0
},
{
"name": "Connection 4",
"type": "object",
"value": 0
},
{
"name": "Map",
"propertyType": "Level",
"type": "string",
"value": "CAMPAIGN_1_1"
},
{
"name": "Unlock Condition",
"propertyType": "Level",
"type": "string",
"value": "WORLD_MAP"
}
],
"name": "StagePlate",
"type": "class",
"useAs": [
"property",
"object"
]
},
{
"color": "#ffffaa00",
"drawFill": true,

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.10" tiledversion="1.10.1" class="Map" orientation="orthogonal" renderorder="left-down" width="142" height="176" tilewidth="4" tileheight="4" infinite="0" nextlayerid="5" nextobjectid="3">
<map version="1.10" tiledversion="1.10.1" class="Map" orientation="orthogonal" renderorder="left-down" width="142" height="176" tilewidth="4" tileheight="4" infinite="0" nextlayerid="5" nextobjectid="12">
<properties>
<property name="Optimize" type="bool" value="true"/>
</properties>
@ -551,5 +551,58 @@
</layer>
<objectgroup id="4" name="Object Layer 1">
<object id="2" name="Temp Player Spawn" type="PlayerSpawnLocation" x="200" y="325" width="20" height="20"/>
<object id="3" name="Stage 1" type="StagePlate" x="252" y="496" width="44" height="16">
<properties>
<property name="Connection 1" type="object" value="4"/>
<property name="Connection 2" type="object" value="5"/>
</properties>
</object>
<object id="4" name="Stage 2" type="StagePlate" x="248" y="552" width="44" height="16">
<properties>
<property name="Connection 1" type="object" value="7"/>
<property name="Map" propertytype="Level" value="CAMPAIGN_1_2"/>
<property name="Unlock Condition" propertytype="Level" value="CAMPAIGN_1_1"/>
</properties>
</object>
<object id="5" name="Shop 1" type="StagePlate" x="344" y="476" width="20" height="24">
<properties>
<property name="Connection 1" type="object" value="8"/>
<property name="Map" propertytype="Level" value="SHOP_1_1"/>
<property name="Unlock Condition" propertytype="Level" value="CAMPAIGN_1_1"/>
</properties>
</object>
<object id="6" name="Stage 3" type="StagePlate" x="196" y="636" width="44" height="16">
<properties>
<property name="Connection 1" type="object" value="9"/>
<property name="Connection 2" type="object" value="0"/>
<property name="Map" propertytype="Level" value="CAMPAIGN_1_3"/>
<property name="Unlock Condition" propertytype="Level" value="CAMPAIGN_1_2"/>
</properties>
</object>
<object id="7" name="Shop 2" type="StagePlate" x="236" y="592" width="20" height="24">
<properties>
<property name="Connection 1" type="object" value="6"/>
<property name="Map" propertytype="Level" value="SHOP_1_2"/>
<property name="Unlock Condition" propertytype="Level" value="CAMPAIGN_1_2"/>
</properties>
</object>
<object id="8" name="Blacksmith" type="StagePlate" x="416" y="416" width="20" height="24">
<properties>
<property name="Map" propertytype="Level" value="BLACKSMITH"/>
<property name="Unlock Condition" propertytype="Level" value="CAMPAIGN_1_3"/>
</properties>
</object>
<object id="9" name="Stage 4" type="StagePlate" x="172" y="580" width="44" height="16">
<properties>
<property name="Map" propertytype="Level" value="CAMPAIGN_1_4"/>
<property name="Unlock Condition" propertytype="Level" value="CAMPAIGN_1_3"/>
</properties>
</object>
<object id="11" name="Boss 1" type="StagePlate" x="156" y="644" width="32" height="24">
<properties>
<property name="Connection 1" type="object" value="0"/>
<property name="Unlock Condition" type="object" value="0"/>
</properties>
</object>
</objectgroup>
</map>

Loading…
Cancel
Save