From d70297578c985f629ff2f45f72c89e734333c424 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Wed, 4 Oct 2023 04:47:49 -0500 Subject: [PATCH] Added map enum types and setup stage plate object and connectors. --- Crawler/Crawler.tiled-project | 104 ++++++++++++++++++++----- Crawler/assets/Campaigns/World_Map.tmx | 55 ++++++++++++- 2 files changed, 140 insertions(+), 19 deletions(-) diff --git a/Crawler/Crawler.tiled-project b/Crawler/Crawler.tiled-project index 8a639151..8fe1e713 100644 --- a/Crawler/Crawler.tiled-project +++ b/Crawler/Crawler.tiled-project @@ -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, diff --git a/Crawler/assets/Campaigns/World_Map.tmx b/Crawler/assets/Campaigns/World_Map.tmx index 6cf989e6..b1b2ea27 100644 --- a/Crawler/assets/Campaigns/World_Map.tmx +++ b/Crawler/assets/Campaigns/World_Map.tmx @@ -1,5 +1,5 @@ - + @@ -551,5 +551,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +