From 162d71607b8ce8ce1287a3121f39a6ceecda41a6 Mon Sep 17 00:00:00 2001 From: Russell Matney Date: Sun, 27 Oct 2024 19:05:55 -0400 Subject: [PATCH] feat: hatbot navigation restored! via metroTravelPoints implementation, which is a bit clunky. Also we're spawning on playerSpawnPoints instead of node-pathed elevators. --- data.pandora | 320 +++++++++++++-------- pandora/categories.gd | 4 - pandora/metro_travel_point_ids.gd | 13 +- src/core/metro/Metro.gd | 3 + src/games/hatbot/zones/LevelZero.tscn | 15 +- src/games/hatbot/zones/Simulation.tscn | 44 ++- src/games/hatbot/zones/TheKingdom.tscn | 51 +++- src/games/hatbot/zones/TheLandingSite.tscn | 48 +++- src/games/hatbot/zones/Volcano.tscn | 29 +- 9 files changed, 368 insertions(+), 159 deletions(-) diff --git a/data.pandora b/data.pandora index 3e960dd8e..dac964c19 100644 --- a/data.pandora +++ b/data.pandora @@ -13,6 +13,7 @@ }, { "_category_id": "", + "_generate_ids": true, "_icon_color": "eb4f4fff", "_id": "45", "_ids_generation_class": "MetroTravelPointIds", @@ -20,15 +21,6 @@ "_name": "MetroTravelPoint", "_script_path": "res://src/core/metro/MetroTravelPointEntity.gd" }, - { - "_category_id": "45", - "_generate_ids": true, - "_icon_color": "ffffff00", - "_id": "46", - "_ids_generation_class": "DemoLandTravelPointIds", - "_index": 0, - "_name": "DemoLandTravelPoint" - }, { "_category_id": "", "_generate_ids": true, @@ -272,110 +264,6 @@ } } }, - { - "_category_id": "46", - "_icon_color": "ffffff00", - "_id": "47", - "_index": 0, - "_name": "Area01Door01", - "_property_overrides": { - "destination_zone": { - "type": "resource", - "value": "res://src/games/demoland/zones/area01/Area01.tscn" - } - } - }, - { - "_category_id": "46", - "_icon_color": "ffffff00", - "_id": "54", - "_index": 0, - "_name": "Area02Door01", - "_property_overrides": { - "destination_zone": { - "type": "resource", - "value": "res://src/games/demoland/zones/area02/Area02.tscn" - } - } - }, - { - "_category_id": "46", - "_icon_color": "ffffff00", - "_id": "55", - "_index": 0, - "_name": "Area03Door01", - "_property_overrides": { - "destination_zone": { - "type": "resource", - "value": "res://src/games/demoland/zones/Area03.tscn" - } - } - }, - { - "_category_id": "46", - "_icon_color": "ffffff00", - "_id": "56", - "_index": 0, - "_name": "Area04Door01", - "_property_overrides": { - "destination_zone": { - "type": "resource", - "value": "res://src/games/demoland/zones/Area04.tscn" - } - } - }, - { - "_category_id": "46", - "_icon_color": "ffffff00", - "_id": "57", - "_index": 0, - "_name": "Area05Door01", - "_property_overrides": { - "destination_zone": { - "type": "resource", - "value": "res://src/games/demoland/zones/Area05.tscn" - } - } - }, - { - "_category_id": "46", - "_icon_color": "ffffff00", - "_id": "58", - "_index": 0, - "_name": "Area06Door01", - "_property_overrides": { - "destination_zone": { - "type": "resource", - "value": "res://src/games/demoland/zones/Area06PurpleStone.tscn" - } - } - }, - { - "_category_id": "46", - "_icon_color": "ffffff00", - "_id": "59", - "_index": 0, - "_name": "Area07Door01", - "_property_overrides": { - "destination_zone": { - "type": "resource", - "value": "res://src/games/demoland/zones/Area07GrassyCave.tscn" - } - } - }, - { - "_category_id": "46", - "_icon_color": "ffffff00", - "_id": "60", - "_index": 0, - "_name": "Area08Door01", - "_property_overrides": { - "destination_zone": { - "type": "resource", - "value": "res://src/games/demoland/zones/Area08AllTheThings.tscn" - } - } - }, { "_category_id": "69", "_icon_color": "ffffff00", @@ -2258,6 +2146,210 @@ "value": "res://src/dino/levels/tower/TowerLevelGen.gd" } } + }, + { + "_category_id": "45", + "_icon_color": "ffffff00", + "_id": "213", + "_index": 0, + "_name": "HatBotLevelZeroToLandingSite", + "_property_overrides": { + "destination_node_path": { + "type": "string", + "value": "Reception/ToLandingSite" + }, + "destination_zone": { + "type": "resource", + "value": "res://src/games/hatbot/zones/LevelZero.tscn" + } + } + }, + { + "_category_id": "45", + "_icon_color": "ffffff00", + "_id": "214", + "_index": 0, + "_name": "HatBotLevelZeroToTheKingdom", + "_property_overrides": { + "destination_node_path": { + "type": "string", + "value": "SecretEntrance/ToTheKingdom" + }, + "destination_zone": { + "type": "resource", + "value": "res://src/games/hatbot/zones/LevelZero.tscn" + } + } + }, + { + "_category_id": "45", + "_icon_color": "ffffff00", + "_id": "215", + "_index": 0, + "_name": "HatBotLandingSiteToZero", + "_property_overrides": { + "destination_node_path": { + "type": "string", + "value": "FromZero/ToZero" + }, + "destination_zone": { + "type": "resource", + "value": "res://src/games/hatbot/zones/TheLandingSite.tscn" + } + } + }, + { + "_category_id": "45", + "_icon_color": "ffffff00", + "_id": "216", + "_index": 0, + "_name": "HatBotLandingSiteToKingdomBack", + "_property_overrides": { + "destination_node_path": { + "type": "string", + "value": "SubLandingElevator/ToKingdomBack" + }, + "destination_zone": { + "type": "resource", + "value": "res://src/games/hatbot/zones/TheLandingSite.tscn" + } + } + }, + { + "_category_id": "45", + "_icon_color": "ffffff00", + "_id": "217", + "_index": 0, + "_name": "HatBotLandingSiteToSimulation", + "_property_overrides": { + "destination_node_path": { + "type": "string", + "value": "ToSimulation/ToSimulation" + }, + "destination_zone": { + "type": "resource", + "value": "res://src/games/hatbot/zones/TheLandingSite.tscn" + } + } + }, + { + "_category_id": "45", + "_icon_color": "ffffff00", + "_id": "218", + "_index": 0, + "_name": "HatBotLandingSiteToVolcano", + "_property_overrides": { + "destination_node_path": { + "type": "string", + "value": "ToVolcano/ToVolcano" + }, + "destination_zone": { + "type": "resource", + "value": "res://src/games/hatbot/zones/TheLandingSite.tscn" + } + } + }, + { + "_category_id": "45", + "_icon_color": "ffffff00", + "_id": "219", + "_index": 0, + "_name": "HatBotSimulationToLandingSite", + "_property_overrides": { + "destination_node_path": { + "type": "string", + "value": "ToLandingSite/ToLandingSite" + }, + "destination_zone": { + "type": "resource", + "value": "res://src/games/hatbot/zones/Simulation.tscn" + } + } + }, + { + "_category_id": "45", + "_icon_color": "ffffff00", + "_id": "220", + "_index": 0, + "_name": "HatBotSimulationToKingdom", + "_property_overrides": { + "destination_node_path": { + "type": "string", + "value": "ToKingdom/ToKingdom" + }, + "destination_zone": { + "type": "resource", + "value": "res://src/games/hatbot/zones/Simulation.tscn" + } + } + }, + { + "_category_id": "45", + "_icon_color": "ffffff00", + "_id": "221", + "_index": 0, + "_name": "HatBotKingdomToSimulation", + "_property_overrides": { + "destination_node_path": { + "type": "string", + "value": "ToSimulation/ToSimulation" + }, + "destination_zone": { + "type": "resource", + "value": "res://src/games/hatbot/zones/TheKingdom.tscn" + } + } + }, + { + "_category_id": "45", + "_icon_color": "ffffff00", + "_id": "222", + "_index": 0, + "_name": "HatBotKingdomToLandingSite", + "_property_overrides": { + "destination_node_path": { + "type": "string", + "value": "ToLandingSite/ToLandingSite" + }, + "destination_zone": { + "type": "resource", + "value": "res://src/games/hatbot/zones/TheKingdom.tscn" + } + } + }, + { + "_category_id": "45", + "_icon_color": "ffffff00", + "_id": "223", + "_index": 0, + "_name": "HatBotKingdomToLevelZero", + "_property_overrides": { + "destination_node_path": { + "type": "string", + "value": "SecretEndgameRoomToLevelZero/ToLevelZero" + }, + "destination_zone": { + "type": "resource", + "value": "res://src/games/hatbot/zones/TheKingdom.tscn" + } + } + }, + { + "_category_id": "45", + "_icon_color": "ffffff00", + "_id": "224", + "_index": 0, + "_name": "HatBotVolcanoToLandingSite", + "_property_overrides": { + "destination_node_path": { + "type": "string", + "value": "ToLandingSite/ToLandingSite" + }, + "destination_zone": { + "type": "resource", + "value": "res://src/games/hatbot/zones/Volcano.tscn" + } + } } ], "_properties": [ @@ -2587,7 +2679,7 @@ }, "_id_generator": { "_ids_by_context": { - "default": 211 + "default": 224 } } } \ No newline at end of file diff --git a/pandora/categories.gd b/pandora/categories.gd index 341ece727..ccd2f3b6c 100644 --- a/pandora/categories.gd +++ b/pandora/categories.gd @@ -13,7 +13,3 @@ const DINOENTITY = "131" const DINOTILES = "179" -class MetroTravelPointCategories: - const DEMOLANDTRAVELPOINT = "46" - - diff --git a/pandora/metro_travel_point_ids.gd b/pandora/metro_travel_point_ids.gd index 207633ca0..6596c1b7d 100644 --- a/pandora/metro_travel_point_ids.gd +++ b/pandora/metro_travel_point_ids.gd @@ -2,4 +2,15 @@ class_name MetroTravelPointIds -const AREA01DOOR01 = "47" +const HATBOTLEVELZEROTOLANDINGSITE = "213" +const HATBOTLEVELZEROTOTHEKINGDOM = "214" +const HATBOTLANDINGSITETOZERO = "215" +const HATBOTLANDINGSITETOKINGDOMBACK = "216" +const HATBOTLANDINGSITETOSIMULATION = "217" +const HATBOTLANDINGSITETOVOLCANO = "218" +const HATBOTSIMULATIONTOLANDINGSITE = "219" +const HATBOTSIMULATIONTOKINGDOM = "220" +const HATBOTKINGDOMTOSIMULATION = "221" +const HATBOTKINGDOMTOLANDINGSITE = "222" +const HATBOTKINGDOMTOLEVELZERO = "223" +const HATBOTVOLCANOTOLANDINGSITE = "224" diff --git a/src/core/metro/Metro.gd b/src/core/metro/Metro.gd index de69fb560..9f7144728 100644 --- a/src/core/metro/Metro.gd +++ b/src/core/metro/Metro.gd @@ -16,6 +16,9 @@ func load_zone(zone_scene_or_path, spawn_node_path=null): zone_scene = load(zone_scene_or_path) else: zone_scene = zone_scene_or_path + if not zone_scene: + Log.warn("no zone_scene to load!", zone_scene_or_path) + return var zone_scene_inst = zone_scene.instantiate() current_zone = zone_scene_inst diff --git a/src/games/hatbot/zones/LevelZero.tscn b/src/games/hatbot/zones/LevelZero.tscn index 19ce1ab72..89eebc1d7 100644 --- a/src/games/hatbot/zones/LevelZero.tscn +++ b/src/games/hatbot/zones/LevelZero.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=28 format=3 uid="uid://cp6u64j76x4l8"] +[gd_scene load_steps=29 format=3 uid="uid://cp6u64j76x4l8"] [ext_resource type="Script" path="res://src/core/metro/MetroZone.gd" id="1_qaiq7"] [ext_resource type="Shader" path="res://src/shaders/BgBlur.gdshader" id="2_nb6de"] @@ -26,9 +26,9 @@ shader = ExtResource("2_nb6de") shader_parameter/radius = 8.0 -[sub_resource type="Resource" id="Resource_eefwc"] +[sub_resource type="Resource" id="Resource_pbb2r"] script = ExtResource("9_k6ryx") -_id = "54" +_id = "215" [sub_resource type="RectangleShape2D" id="RectangleShape2D_durwq"] size = Vector2(62, 25) @@ -42,6 +42,10 @@ size = Vector2(126, 56) [sub_resource type="RectangleShape2D" id="RectangleShape2D_yl45m"] size = Vector2(14, 14) +[sub_resource type="Resource" id="Resource_l644k"] +script = ExtResource("9_k6ryx") +_id = "223" + [node name="LevelZero" type="Node2D" groups=["metro_zones"]] script = ExtResource("1_qaiq7") @@ -85,7 +89,7 @@ color = Color(0.384314, 0.509804, 0.65098, 1) script = ExtResource("4_al0vp") [node name="ToLandingSite" parent="Reception" instance=ExtResource("3_hrl45")] -destination_travel_point = SubResource("Resource_eefwc") +destination_travel_point = SubResource("Resource_pbb2r") [node name="ColdFireDark" parent="Reception" instance=ExtResource("4_paos8")] layer_0/tile_data = PackedInt32Array(-458760, 1, 0, -327688, 1, 0, -458758, 131073, 2, -327686, 131073, 0, -262152, 1, 2, -131080, 131073, 0, -262150, 1, 0, -131078, 1, 2, -65544, 1, 2, -65542, 131073, 0, 262136, 131073, 0, 262138, 1, 2, 327672, 131073, 2, 458744, 131073, 0, 327674, 1, 2, 458746, 1, 0, 524280, 131073, 0, 524282, 1, 2, -458757, 1, 0, -327685, 1, 0, -458755, 131073, 2, -327683, 131073, 0, -262149, 1, 0, -262147, 131073, 0, 262139, 131073, 2, 262141, 131073, 0, 327675, 1, 2, 458747, 1, 0, 327677, 131073, 2, 458749, 1, 2, 524283, 1, 2, 524285, 1, 0, -458754, 1, 0, -327682, 131073, 2, -524288, 1, 2, -393216, 1, 2, -262146, 131073, 0, -327680, 131073, 0, 262142, 1, 0, 196608, 131073, 2, 327678, 131073, 0, 458750, 131073, 2, 262144, 131073, 0, 393216, 1, 2, 524286, 131073, 0, 458752, 1, 2, -524287, 131073, 0, -393215, 131073, 0, -524285, 131073, 2, -393213, 131073, 0, -327679, 131073, 2, -327677, 1, 0, 196609, 1, 0, 196611, 1, 2, 262145, 131073, 0, 393217, 131073, 0, 262147, 131073, 2, 393219, 1, 0, 458753, 131073, 2, 458755, 1, 0, -524284, 131073, 0, -393212, 131073, 2, -524282, 1, 2, -393210, 131073, 0, -327676, 1, 2, -327674, 131073, 0, -196602, 131073, 2, -131066, 1, 2, 196612, 131073, 0, 196614, 1, 2, 262148, 1, 0, 393220, 1, 2, 262150, 131073, 0, 393222, 131073, 0, 458756, 131073, 0, 458758, 131073, 0, -524281, 1, 0, -393209, 131073, 2, -327673, 131073, 0, -196601, 131073, 0, -131065, 131073, 2, 196615, 131073, 0, 262151, 131073, 0, 393223, 1, 0, 458759, 1, 2, -393224, 1, 2, -196616, 1, 0, 196600, 131073, 2, 393208, 131073, 2, -458759, 1, 0, -393223, 131073, 0, -327687, 131073, 2, -262151, 1, 2, -196615, 1, 2, -131079, 131073, 2, -65543, 1, 0, 196601, 131073, 0, 262137, 1, 0, 327673, 1, 0, 393209, 131073, 2, 458745, 1, 0, 524281, 131073, 0, -393222, 131073, 0, -196614, 1, 0, 196602, 131073, 0, 393210, 1, 2, -393221, 1, 2, 196603, 131073, 2, 393211, 131073, 0, -458756, 131073, 0, -393220, 131073, 0, -327684, 131073, 0, -262148, 131073, 2, 196604, 131073, 0, 262140, 131073, 2, 327676, 131073, 0, 393212, 131073, 0, 458748, 1, 2, 524284, 1, 0, -393219, 131073, 0, 196605, 1, 2, 393213, 1, 2, -393218, 131073, 2, 196606, 1, 0, 393214, 1, 0, -458753, 1, 0, -393217, 1, 2, -327681, 1, 2, -262145, 1, 2, 196607, 131073, 2, 262143, 131073, 0, 327679, 131073, 2, 393215, 131073, 0, 458751, 1, 2, 524287, 1, 2, -458752, 131073, 2, 131072, 131073, 2, 327680, 1, 0, -458751, 131073, 2, 131073, 131073, 2, 327681, 131073, 2, -524286, 131073, 2, -458750, 131073, 0, -393214, 1, 2, -327678, 1, 2, 131074, 1, 0, 196610, 131073, 0, 262146, 131073, 2, 327682, 1, 2, 393218, 131073, 2, 458754, 1, 2, -458749, 1, 2, 131075, 1, 2, 327683, 1, 2, -458748, 1, 2, 131076, 131073, 2, 327684, 131073, 0, -524283, 131073, 0, -458747, 1, 0, -393211, 131073, 0, -327675, 131073, 0, -262139, 131073, 0, -196603, 1, 0, -131067, 131073, 0, 131077, 131073, 0, 196613, 131073, 2, 262149, 131073, 0, 327685, 131073, 0, 393221, 1, 0, 458757, 131073, 2, -458746, 131073, 0, -262138, 131073, 2, 131078, 131073, 0, 327686, 1, 0, -458745, 131073, 2, -262137, 1, 2, 131079, 131073, 2, 327687, 131073, 2) @@ -98,7 +102,7 @@ script = ExtResource("4_al0vp") layer_0/tile_data = PackedInt32Array(524280, 131073, 0, 524282, 1, 2, 524283, 1, 2, 524285, 1, 0, 524286, 131073, 0, 458752, 1, 2, 458753, 131073, 2, 458755, 1, 0, -524282, 131073, 0, 458756, 131073, 0, 458758, 131073, 0, -524281, 131073, 2, 458759, 1, 2, 524281, 131073, 0, 524284, 1, 0, 524287, 1, 2, 458754, 1, 2, -524283, 1, 2, 458757, 131073, 2, 524272, 1, 2, 589808, 131073, 0, 655344, 1, 0, 720880, 131073, 2, 786416, 131073, 0, 851952, 1, 2, 524273, 1, 0, 589809, 1, 0, 655345, 1, 2, 720881, 1, 0, 786417, 131073, 2, 851953, 131073, 0, 524274, 1, 0, 589810, 131073, 2, 655346, 1, 2, 720882, 131073, 2, 786418, 131073, 2, 851954, 131073, 0, 524275, 131073, 0, 589811, 131073, 2, 655347, 131073, 2, 720883, 131073, 2, 786419, 1, 2, 851955, 131073, 2, 524276, 131073, 0, 589812, 131073, 2, 655348, 1, 2, 720884, 131073, 2, 786420, 1, 2, 851956, 1, 2, 524277, 1, 0, 589813, 1, 2, 655349, 1, 0, 720885, 1, 0, 786421, 131073, 2, 851957, 131073, 2, 524278, 1, 0, 589814, 1, 2, 655350, 1, 0, 720886, 1, 0, 786422, 131073, 2, 851958, 1, 0, 524279, 131073, 2, 589815, 131073, 0, 655351, 131073, 0, 720887, 131073, 2, 786423, 131073, 2, 851959, 131073, 0, -655376, 1, 0, -589840, 1, 2, -524304, 1, 2, -655375, 1, 0, -589839, 131073, 2, -524303, 131073, 2, -655374, 1, 0, -589838, 131073, 0, -524302, 131073, 0, -655373, 1, 2, -589837, 1, 2, -524301, 131073, 2, -655372, 131073, 0, -589836, 1, 0, -524300, 131073, 0, -655371, 1, 2, -589835, 1, 2, -524299, 131073, 0, -655370, 1, 2, -589834, 131073, 0, -524298, 131073, 2, -655369, 131073, 0, -589833, 131073, 2, -524297, 131073, 0, -655368, 131073, 0, -589832, 1, 2, -524296, 1, 2, -655367, 1, 0, -589831, 131073, 0, -524295, 131073, 2, -655366, 131073, 0, -589830, 131073, 0, -524294, 131073, 0, -655365, 131073, 0, -589829, 131073, 2, -655364, 1, 0, -589828, 1, 0, -655363, 1, 0, -589827, 1, 2, -655362, 1, 0, -589826, 1, 0, -655361, 1, 0, -589825, 131073, 2, -720896, 131073, 0, -655360, 131073, 2, -720895, 1, 2, -655359, 131073, 2, -720894, 1, 0, -655358, 1, 2, -720893, 1, 0, -655357, 131073, 0, -720892, 131073, 2, -655356, 131073, 0, -720891, 131073, 2, -655355, 131073, 2, -589819, 131073, 2, -720890, 131073, 0, -655354, 1, 2, -589818, 131073, 0, -720889, 1, 2, -655353, 131073, 0, -589817, 131073, 2, -720888, 131073, 2, -655352, 1, 0, -589816, 1, 0, -720887, 131073, 2, -655351, 131073, 0, -589815, 131073, 0, -720886, 1, 2, -655350, 131073, 2, -589814, 131073, 2, -393202, 1, 0, -393201, 1, 2, -393200, 1, 0, -393199, 1, 0, -458768, 131073, 2, -393232, 1, 2, -327696, 131073, 2, -262160, 1, 0, -196624, 131073, 2, -131088, 131073, 0, -65552, 1, 2, -16, 1, 0, 65520, 1, 0, 131056, 1, 2, 196592, 131073, 2, 262128, 131073, 2, -458767, 131073, 0, -393231, 1, 2, -327695, 1, 0, -262159, 1, 0, -196623, 1, 0, -131087, 131073, 0, -65551, 1, 0, -15, 131073, 2, 65521, 131073, 2, 131057, 1, 2, 196593, 131073, 0, 262129, 131073, 2, -458766, 131073, 2, -393230, 1, 2, -327694, 131073, 0, -262158, 1, 0, -196622, 131073, 0, -131086, 1, 0, -65550, 131073, 2, -14, 131073, 0, 65522, 1, 2, 131058, 1, 2, 196594, 131073, 2, 262130, 1, 0, 327674, 131073, 2, 393210, 131073, 2, 458746, 1, 2, 327675, 131073, 2, 393211, 131073, 2, 458747, 1, 2, 327676, 1, 2, 393212, 131073, 2, 458748, 131073, 0, 327677, 131073, 2, 393213, 131073, 0, 458749, 131073, 0, 589816, 1, 2, 655352, 131073, 0, 720888, 1, 2, 786424, 1, 0, 851960, 1, 0, 589817, 131073, 2, 655353, 1, 2, 720889, 1, 0, 786425, 1, 2, 851961, 131073, 0, 589818, 131073, 2, 655354, 1, 2, 720890, 131073, 0, 786426, 1, 2, 851962, 1, 0, 589819, 131073, 0, 655355, 1, 0, 720891, 131073, 0, 786427, 131073, 2, 851963, 1, 2, 589820, 131073, 0, 655356, 131073, 2, 720892, 1, 0, 786428, 131073, 2, 851964, 1, 0, 589821, 1, 2, 655357, 1, 2, 720893, 131073, 0, 786429, 131073, 2, 851965, 131073, 2, 589822, 131073, 0, 655358, 131073, 0, 720894, 131073, 2, 786430, 131073, 0, 851966, 1, 2, 589823, 131073, 2, 655359, 1, 2, 720895, 1, 2, 786431, 131073, 0, 851967, 131073, 0, 524288, 1, 0, 589824, 1, 2, 655360, 131073, 0, 720896, 1, 2, 786432, 131073, 2, 524289, 131073, 2, 589825, 1, 2, 655361, 1, 2, 720897, 1, 2, 786433, 1, 2, 524290, 1, 2, 589826, 131073, 0, 655362, 131073, 0, 720898, 1, 0, 786434, 1, 0, 524291, 1, 0, 589827, 1, 0, 655363, 1, 0, 720899, 131073, 2, 786435, 131073, 2, 524292, 131073, 2, 589828, 1, 0, 655364, 1, 2, 720900, 131073, 0, 786436, 1, 0, 524293, 131073, 2, 589829, 1, 0, 655365, 1, 2, 720901, 131073, 2, 786437, 1, 0, 524294, 1, 0, 589830, 131073, 2, 655366, 1, 0, 720902, 131073, 2, 786438, 131073, 0, 524295, 1, 0, 589831, 131073, 2, 655367, 131073, 0, 720903, 1, 0, 786439, 131073, 0, 524296, 131073, 0, 589832, 1, 0, 655368, 1, 0, 720904, 1, 2, 786440, 1, 0, 524297, 1, 0, 589833, 1, 0, 655369, 131073, 0, 720905, 131073, 2, 786441, 131073, 0, 524298, 1, 2, 589834, 131073, 0, 655370, 1, 2, 720906, 1, 0, 786442, 131073, 2, 524299, 131073, 2, 589835, 1, 0, 655371, 1, 2, 720907, 1, 0, 786443, 131073, 2, 524300, 131073, 0, 589836, 1, 2, 655372, 1, 2, 720908, 1, 0, 786444, 131073, 2, 524301, 131073, 0, 589837, 1, 0, 655373, 1, 2, 720909, 1, 2, 786445, 131073, 0, 524302, 1, 2, 589838, 1, 0, 655374, 1, 2, 720910, 1, 2, 786446, 131073, 2, 524303, 131073, 0, 589839, 1, 2, 655375, 131073, 2, 720911, 1, 2, 786447, 1, 2, 524304, 1, 2, 589840, 1, 0, 655376, 131073, 0, 720912, 1, 2, 786448, 1, 0, 524305, 1, 2, 589841, 1, 0, 655377, 131073, 0, 720913, 1, 0, 786449, 131073, 0, 524306, 131073, 2, 589842, 1, 0, 655378, 1, 0, 720914, 131073, 2, 786450, 1, 2, 524307, 131073, 2, 589843, 1, 0, 655379, 1, 2, 720915, 1, 0, 786451, 1, 2, 524308, 131073, 2, 589844, 1, 0, 655380, 131073, 0, 720916, 131073, 0, 786452, 131073, 2, 524309, 131073, 2, 589845, 131073, 0, 655381, 1, 2, 720917, 131073, 2, 786453, 1, 2, 524310, 131073, 0, 589846, 131073, 0, 655382, 131073, 0, 720918, 131073, 0, 786454, 131073, 2, 524311, 131073, 2, 589847, 1, 0, 655383, 1, 2, 720919, 131073, 2, 786455, 1, 0, -720875, 1, 2, -655339, 131073, 0, -589803, 1, 2, -524267, 1, 2, -458731, 1, 2, -393195, 1, 2, -327659, 131073, 2, -262123, 131073, 0, -196587, 1, 0, -131051, 1, 0, -65515, 131073, 2, 21, 1, 0, 65557, 131073, 2, 131093, 1, 0, 196629, 1, 2, 262165, 131073, 2, 327701, 131073, 0, 393237, 1, 2, 458773, 1, 2, -720874, 1, 0, -655338, 131073, 0, -589802, 131073, 0, -524266, 1, 2, -458730, 131073, 0, -393194, 131073, 0, -327658, 1, 2, -262122, 131073, 2, -196586, 1, 0, -131050, 131073, 2, -65514, 1, 0, 22, 131073, 0, 65558, 131073, 0, 131094, 1, 0, 196630, 1, 2, 262166, 1, 2, 327702, 1, 0, 393238, 131073, 2, 458774, 1, 0, -720873, 131073, 2, -655337, 1, 2, -589801, 131073, 0, -524265, 1, 0, -458729, 131073, 0, -393193, 1, 0, -327657, 1, 0, -262121, 1, 0, -196585, 1, 2, -131049, 1, 2, -65513, 1, 0, 23, 1, 0, 65559, 131073, 2, 131095, 1, 2, 196631, 131073, 2, 262167, 131073, 2, 327703, 1, 0, 393239, 131073, 2, 458775, 1, 0, -1245184, 131073, 0, -1179648, 1, 0, -1114112, 1, 2, -1048576, 1, 2, -983040, 1, 2, -917504, 1, 0, -851968, 1, 2, -786432, 1, 0, -1245183, 1, 2, -1179647, 131073, 0, -1114111, 1, 0, -1048575, 131073, 0, -983039, 131073, 0, -917503, 131073, 2, -851967, 131073, 2, -786431, 131073, 2, -1245182, 1, 2, -1179646, 131073, 2, -1114110, 131073, 2, -1048574, 1, 0, -983038, 131073, 0, -917502, 131073, 2, -851966, 131073, 2, -786430, 131073, 0, -1245181, 1, 0, -1179645, 131073, 0, -1114109, 131073, 0, -1048573, 1, 2, -983037, 1, 0, -917501, 1, 2, -851965, 1, 0, -786429, 1, 0, -1245180, 1, 2, -1179644, 1, 0, -1114108, 1, 2, -1048572, 1, 2, -983036, 131073, 2, -917500, 131073, 0, -851964, 131073, 2, -786428, 1, 0, -1245179, 131073, 0, -1179643, 131073, 2, -1114107, 1, 2, -1048571, 1, 2, -983035, 1, 0, -917499, 1, 0, -851963, 131073, 2, -786427, 1, 2, -1245178, 1, 2, -1179642, 1, 2, -1114106, 1, 0, -1048570, 1, 0, -983034, 131073, 2, -917498, 1, 2, -851962, 1, 2, -786426, 131073, 0, -1245177, 131073, 2, -1179641, 131073, 2, -1114105, 1, 2, -1048569, 1, 0, -983033, 1, 0, -917497, 1, 2, -851961, 131073, 2, -786425, 1, 0, -1245176, 1, 2, -1179640, 131073, 0, -1114104, 131073, 0, -1048568, 131073, 0, -983032, 1, 0, -917496, 131073, 2, -851960, 1, 2, -786424, 1, 0, -1245175, 131073, 2, -1179639, 1, 0, -1114103, 131073, 0, -1048567, 131073, 0, -983031, 131073, 0, -917495, 1, 0, -851959, 1, 0, -786423, 1, 2, -1245174, 131073, 0, -1179638, 1, 0, -1114102, 131073, 0, -1048566, 1, 0, -983030, 131073, 2, -917494, 1, 2, -851958, 131073, 2, -786422, 1, 2, -1245163, 131073, 0, -1179627, 131073, 0, -1114091, 1, 2, -1048555, 131073, 2, -983019, 131073, 2, -917483, 131073, 0, -851947, 1, 0, -786411, 131073, 2, -1245162, 131073, 0, -1179626, 1, 0, -1114090, 131073, 2, -1048554, 1, 0, -983018, 1, 0, -917482, 1, 2, -851946, 131073, 0, -786410, 131073, 2, -1245161, 131073, 2, -1179625, 1, 2, -1114089, 131073, 0, -1048553, 1, 2, -983017, 1, 2, -917481, 131073, 2, -851945, 1, 2, -786409, 131073, 0, -524293, 131073, 2, -524292, 131073, 2, -524291, 1, 0, -524290, 1, 2, -524289, 131073, 0, -589824, 131073, 0, -589823, 131073, 0, -589822, 1, 0, -589821, 131073, 0, -589820, 131073, 2, -458747, 131073, 0, -393211, 1, 2, -327675, 131073, 0, -262139, 131073, 2, -196603, 1, 2, -131067, 1, 2, -65531, 1, 0, -458746, 131073, 2, -393210, 131073, 0, -327674, 1, 0, -262138, 131073, 0, -196602, 131073, 2, -131066, 131073, 0, -65530, 1, 2, -458745, 131073, 2, -393209, 131073, 2, -327673, 131073, 2, -262137, 1, 2, -196601, 131073, 0, -131065, 1, 0, -65529, 1, 0, -524280, 131073, 2, -458744, 1, 0, -393208, 131073, 0, -327672, 1, 2, -262136, 131073, 2, -196600, 131073, 0, -131064, 131073, 2, -65528, 1, 0, 458760, 131073, 2, 458761, 131073, 0, 458762, 131073, 2, 458763, 1, 2, 458764, 131073, 0, 458765, 1, 2, 458766, 1, 2, 458767, 1, 0, 458768, 131073, 2, 458769, 1, 2, 458770, 1, 2, 458771, 131073, 0, 458772, 131073, 0, -1966080, 131073, 0, -1900544, 131073, 2, -1835008, 1, 0, -1769472, 131073, 0, -1703936, 1, 2, -1638400, 1, 2, -1572864, 1, 0, -1507328, 1, 0, -1441792, 131073, 2, -1376256, 1, 2, -1310720, 1, 2, -1966079, 131073, 0, -1900543, 1, 0, -1835007, 131073, 2, -1769471, 1, 0, -1703935, 131073, 2, -1638399, 1, 2, -1572863, 1, 0, -1507327, 1, 0, -1441791, 1, 0, -1376255, 131073, 0, -1310719, 1, 0, -1966078, 131073, 2, -1900542, 1, 2, -1835006, 131073, 0, -1769470, 1, 2, -1703934, 1, 2, -1638398, 131073, 2, -1572862, 1, 0, -1507326, 131073, 2, -1441790, 1, 0, -1376254, 1, 2, -1310718, 131073, 2, -1966077, 1, 0, -1900541, 1, 0, -1835005, 131073, 2, -1769469, 1, 0, -1703933, 1, 0, -1638397, 1, 0, -1572861, 1, 2, -1507325, 1, 0, -1441789, 1, 0, -1376253, 1, 2, -1310717, 131073, 0, -1966076, 1, 0, -1900540, 1, 0, -1835004, 131073, 2, -1769468, 131073, 2, -1703932, 131073, 2, -1638396, 1, 0, -1572860, 1, 0, -1507324, 1, 0, -1441788, 1, 0, -1376252, 131073, 2, -1310716, 131073, 2, -1966075, 1, 2, -1900539, 131073, 2, -1835003, 1, 0, -1769467, 1, 2, -1703931, 131073, 0, -1638395, 1, 2, -1572859, 131073, 0, -1507323, 1, 2, -1441787, 1, 0, -1376251, 131073, 0, -1310715, 1, 2, -1966074, 1, 0, -1900538, 1, 0, -1835002, 131073, 2, -1769466, 131073, 0, -1703930, 1, 0, -1638394, 131073, 2, -1572858, 1, 0, -1507322, 1, 2, -1441786, 131073, 0, -1376250, 1, 0, -1310714, 1, 0, -1966073, 131073, 0, -1900537, 1, 0, -1835001, 1, 2, -1769465, 1, 2, -1703929, 131073, 2, -1638393, 131073, 2, -1572857, 131073, 0, -1507321, 131073, 2, -1441785, 1, 2, -1376249, 1, 0, -1310713, 131073, 2, -1966072, 1, 2, -1900536, 1, 2, -1835000, 1, 0, -1769464, 131073, 0, -1703928, 1, 0, -1638392, 131073, 2, -1572856, 1, 0, -1507320, 1, 2, -1441784, 131073, 2, -1376248, 131073, 2, -1310712, 1, 0, -1966071, 131073, 2, -1900535, 131073, 0, -1834999, 1, 0, -1769463, 131073, 2, -1703927, 131073, 0, -1638391, 1, 0, -1572855, 131073, 0, -1507319, 1, 2, -1441783, 1, 0, -1376247, 131073, 0, -1310711, 131073, 2, -1966070, 1, 2, -1900534, 1, 0, -1834998, 131073, 2, -1769462, 131073, 0, -1703926, 131073, 0, -1638390, 1, 0, -1572854, 131073, 2, -1507318, 1, 0, -1441782, 131073, 2, -1376246, 1, 0, -1310710, 1, 2, -1966059, 131073, 0, -1900523, 131073, 2, -1834987, 131073, 2, -1769451, 131073, 0, -1703915, 131073, 2, -1638379, 1, 0, -1572843, 131073, 2, -1507307, 131073, 0, -1441771, 1, 0, -1376235, 1, 2, -1310699, 131073, 0, -1966058, 1, 2, -1900522, 131073, 2, -1834986, 1, 2, -1769450, 131073, 0, -1703914, 131073, 0, -1638378, 131073, 2, -1572842, 131073, 0, -1507306, 1, 0, -1441770, 1, 2, -1376234, 131073, 0, -1310698, 131073, 0, -1966057, 1, 2, -1900521, 131073, 2, -1834985, 131073, 0, -1769449, 131073, 0, -1703913, 1, 0, -1638377, 1, 2, -1572841, 1, 2, -1507305, 1, 2, -1441769, 1, 2, -1376233, 1, 2, -1310697, 131073, 2) [node name="PlayerSpawnPoint" parent="FirstRoom" groups=["metro_zones"] instance=ExtResource("5_f2j1h")] -position = Vector2(-541, 26) +position = Vector2(-483, 19) dev_only = true [node name="MoveActionHint" parent="FirstRoom" instance=ExtResource("6_xoy8t")] @@ -395,6 +399,7 @@ position = Vector2(-128, 0) script = ExtResource("4_al0vp") [node name="ToTheKingdom" parent="SecretEntrance" instance=ExtResource("3_hrl45")] +destination_travel_point = SubResource("Resource_l644k") [node name="ColdFireDark2" parent="SecretEntrance" instance=ExtResource("4_paos8")] layer_0/tile_data = PackedInt32Array(-458760, 1, 0, -327688, 1, 0, -458758, 131073, 2, -327686, 131073, 0, -262152, 1, 2, -131080, 131073, 0, -262150, 1, 0, -131078, 1, 2, -65544, 1, 2, -65542, 131073, 0, 262136, 131073, 0, 262138, 1, 2, 327672, 131073, 2, 458744, 131073, 0, 327674, 1, 2, 458746, 1, 0, 524280, 131073, 0, 524282, 1, 2, -458757, 1, 0, -327685, 1, 0, -458755, 131073, 2, -327683, 131073, 0, -262149, 1, 0, -262147, 131073, 0, 262139, 131073, 2, 262141, 131073, 0, 327675, 1, 2, 458747, 1, 0, 327677, 131073, 2, 458749, 1, 2, 524283, 1, 2, 524285, 1, 0, -458754, 1, 0, -327682, 131073, 2, -524288, 1, 2, -393216, 1, 2, -262146, 131073, 0, -327680, 131073, 0, 262142, 1, 0, 196608, 131073, 2, 327678, 131073, 0, 458750, 131073, 2, 262144, 131073, 0, 393216, 1, 2, 524286, 131073, 0, 458752, 1, 2, -524287, 131073, 0, -393215, 131073, 0, -524285, 131073, 2, -393213, 131073, 0, -327679, 131073, 2, -327677, 1, 0, 196609, 1, 0, 196611, 1, 2, 262145, 131073, 0, 393217, 131073, 0, 262147, 131073, 2, 393219, 1, 0, 458753, 131073, 2, 458755, 1, 0, -524284, 131073, 0, -393212, 131073, 2, -524282, 1, 2, -393210, 131073, 0, -327676, 1, 2, -327674, 131073, 0, -196602, 131073, 2, -131066, 1, 2, 196612, 131073, 0, 196614, 1, 2, 262148, 1, 0, 393220, 1, 2, 262150, 131073, 0, 393222, 131073, 0, 458756, 131073, 0, 458758, 131073, 0, -524281, 1, 0, -393209, 131073, 2, -327673, 131073, 0, -196601, 131073, 0, -131065, 131073, 2, 196615, 131073, 0, 262151, 131073, 0, 393223, 1, 0, 458759, 1, 2, -393224, 1, 2, -196616, 1, 0, 196600, 131073, 2, 393208, 131073, 2, -458759, 1, 0, -393223, 131073, 0, -327687, 131073, 2, -262151, 1, 2, -196615, 1, 2, -131079, 131073, 2, -65543, 1, 0, 196601, 131073, 0, 262137, 1, 0, 327673, 1, 0, 393209, 131073, 2, 458745, 1, 0, 524281, 131073, 0, -393222, 131073, 0, -196614, 1, 0, 196602, 131073, 0, 393210, 1, 2, -393221, 1, 2, 196603, 131073, 2, 393211, 131073, 0, -458756, 131073, 0, -393220, 131073, 0, -327684, 131073, 0, -262148, 131073, 2, 196604, 131073, 0, 262140, 131073, 2, 327676, 131073, 0, 393212, 131073, 0, 458748, 1, 2, 524284, 1, 0, -393219, 131073, 0, 196605, 1, 2, 393213, 1, 2, -393218, 131073, 2, 196606, 1, 0, 393214, 1, 0, -458753, 1, 0, -393217, 1, 2, -327681, 1, 2, -262145, 1, 2, 196607, 131073, 2, 262143, 131073, 0, 327679, 131073, 2, 393215, 131073, 0, 458751, 1, 2, 524287, 1, 2, -458752, 131073, 2, 131072, 131073, 2, 327680, 1, 0, -458751, 131073, 2, 131073, 131073, 2, 327681, 131073, 2, -524286, 131073, 2, -458750, 131073, 0, -393214, 1, 2, -327678, 1, 2, 131074, 1, 0, 196610, 131073, 0, 262146, 131073, 2, 327682, 1, 2, 393218, 131073, 2, 458754, 1, 2, -458749, 1, 2, 131075, 1, 2, 327683, 1, 2, -458748, 1, 2, 131076, 131073, 2, 327684, 131073, 0, -524283, 131073, 0, -458747, 1, 0, -393211, 131073, 0, -327675, 131073, 0, -262139, 131073, 0, -196603, 1, 0, -131067, 131073, 0, 131077, 131073, 0, 196613, 131073, 2, 262149, 131073, 0, 327685, 131073, 0, 393221, 1, 0, 458757, 131073, 2, -458746, 131073, 0, -262138, 131073, 2, 131078, 131073, 0, 327686, 1, 0, -458745, 131073, 2, -262137, 1, 2, 131079, 131073, 2, 327687, 131073, 2, -8, 1, 0, 65528, 1, 0, 131064, 131073, 2, -7, 131073, 2, 65529, 1, 2, 131065, 1, 0, -6, 1, 2, 65530, 1, 2, 131066, 1, 0) diff --git a/src/games/hatbot/zones/Simulation.tscn b/src/games/hatbot/zones/Simulation.tscn index 3607bf77a..eb0c8fdb9 100644 --- a/src/games/hatbot/zones/Simulation.tscn +++ b/src/games/hatbot/zones/Simulation.tscn @@ -1,16 +1,20 @@ -[gd_scene load_steps=22 format=3] +[gd_scene load_steps=28 format=3 uid="uid://cooexj7xxfqh4"] [ext_resource type="Script" path="res://src/core/metro/MetroZone.gd" id="1_1bdcv"] [ext_resource type="Shader" path="res://src/shaders/BgBlur.gdshader" id="2_48np1"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/SpaceshipTiles8.tscn" id="3_3kbfw"] +[ext_resource type="Script" path="res://src/dino/PlayerSpawner.gd" id="2_t7nac"] +[ext_resource type="PackedScene" uid="uid://bt8jdg76u0jh6" path="res://addons/bones/reptile/tilemaps/SpaceshipTiles8.tscn" id="3_3kbfw"] [ext_resource type="Texture2D" uid="uid://q2pnjmesx2xc" path="res://src/backgrounds/background_city_sheet.png" id="3_3rpyx"] +[ext_resource type="Script" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="3_y8ltx"] [ext_resource type="PackedScene" uid="uid://dx2sj4ijj8tlh" path="res://src/dino/entities/doors/Elevator.tscn" id="4_0thwe"] +[ext_resource type="PackedScene" uid="uid://sisqkgg1lwpf" path="res://src/dino/hud/DinoHUD.tscn" id="4_bkvsy"] [ext_resource type="Script" path="res://src/core/metro/MetroRoom.gd" id="4_obeiq"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/WoodenBoxesTiles8.tscn" id="5_tky8d"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/GrassyCaveTileMap8.tscn" id="6_1c5dl"] +[ext_resource type="PackedScene" uid="uid://dnoqoloeex0er" path="res://addons/bones/reptile/tilemaps/WoodenBoxesTiles8.tscn" id="5_tky8d"] +[ext_resource type="PackedScene" uid="uid://qlyyoed7ln8c" path="res://addons/bones/reptile/tilemaps/GrassyCaveTileMap8.tscn" id="6_1c5dl"] [ext_resource type="PackedScene" uid="uid://dwhejqu03vl0b" path="res://src/dino/enemies/soldiers/Soldier.tscn" id="7_fdlq5"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/PurpleStoneTiles16.tscn" id="8_u6t8r"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/GildedKingdomTiles8.tscn" id="9_wn65p"] +[ext_resource type="PackedScene" uid="uid://djq8imlbn8tut" path="res://addons/bones/reptile/tilemaps/PurpleStoneTiles16.tscn" id="8_u6t8r"] +[ext_resource type="PackedScene" uid="uid://jegvid2kg2u5" path="res://addons/bones/reptile/tilemaps/GildedKingdomTiles8.tscn" id="9_wn65p"] +[ext_resource type="Script" path="res://src/core/metro/MetroTravelPointEntity.gd" id="10_e87nn"] [ext_resource type="PackedScene" uid="uid://drxg0wu7qxcg8" path="res://src/dino/pickups/powerups/SSPowerup.tscn" id="11_4s4lm"] [ext_resource type="PackedScene" uid="uid://iek1yvone6at" path="res://src/dino/bosses/beefstronaut/Beefstronaut.tscn" id="11_v6sjm"] [ext_resource type="PackedScene" path="res://src/dino/entities/doors/Door.tscn" id="12_ecmpw"] @@ -25,9 +29,29 @@ shader = ExtResource("2_48np1") shader_parameter/radius = 64.0 +[sub_resource type="Resource" id="Resource_3c5gu"] +script = ExtResource("10_e87nn") +_id = "217" + +[sub_resource type="Resource" id="Resource_8lcfg"] +script = ExtResource("10_e87nn") +_id = "221" + [node name="Simulation" type="Node2D" groups=["metro_zones"]] script = ExtResource("1_1bdcv") +[node name="PlayerSpawner" type="Node" parent="."] +script = ExtResource("2_t7nac") + +[node name="Camera2D" type="Camera2D" parent="."] + +[node name="PhantomCameraHost" type="Node" parent="Camera2D"] +process_priority = 300 +process_physics_priority = 300 +script = ExtResource("3_y8ltx") + +[node name="DinoHUD" parent="." instance=ExtResource("4_bkvsy")] + [node name="ParallaxBackground" type="ParallaxBackground" parent="."] scroll_limit_begin = Vector2(-384, -384) scroll_limit_end = Vector2(1280, 384) @@ -61,10 +85,8 @@ script = ExtResource("4_obeiq") layer_0/tile_data = PackedInt32Array(458759, 196609, 4, 393223, 196609, 3, 327687, 196609, 3, 262151, 196609, 3, 196615, 196609, 3, -131065, 196609, 4, -196601, 196609, 3, -262137, 196609, 3, -327673, 196609, 3, -393209, 196609, 3, -458745, 196609, 3, -524281, 196609, 2, 458758, 131073, 4, 393222, 131073, 3, 327686, 131073, 3, 262150, 131073, 3, 196614, 131073, 3, -131066, 131073, 4, -196602, 131073, 3, -262138, 131073, 3, -327674, 131073, 3, -393210, 131073, 3, -458746, 131073, 3, -524282, 131073, 2, 458757, 65537, 4, 393221, 65537, 3, 327685, 65537, 3, 262149, 65537, 3, 196613, 65537, 3, -131067, 65537, 4, -196603, 65537, 3, -262139, 65537, 3, -327675, 65537, 3, -393211, 458753, 3, -458747, 131073, 3, -524283, 131073, 2, -393212, 131073, 4, -458748, 131073, 3, -524284, 131073, 2, -393213, 131073, 4, -458749, 131073, 3, -524285, 131073, 2, -393214, 393217, 3, -458750, 131073, 3, -524286, 131073, 2, -393215, 131073, 3, -458751, 131073, 3, -524287, 131073, 2, -393216, 131073, 3, -458752, 131073, 3, -524288, 131073, 2, -327681, 131073, 3, -393217, 131073, 3, -458753, 131073, 2, -327682, 131073, 3, -393218, 131073, 3, -458754, 131073, 2, -327683, 458753, 3, -393219, 131073, 3, -458755, 131073, 2, -327684, 131073, 4, -393220, 131073, 3, -458756, 131073, 2, -393221, 131073, 3, -458757, 131073, 2, 524282, 196609, 4, 458746, 196609, 3, 393210, 196609, 3, 327674, 196609, 3, 262138, 196609, 3, 196602, 196609, 3, -65542, 196609, 3, -131078, 196609, 3, -196614, 196609, 3, -262150, 196609, 3, -327686, 393217, 3, -393222, 131073, 3, -458758, 131073, 2, 524281, 131073, 4, 458745, 131073, 3, 393209, 131073, 3, 327673, 131073, 3, 262137, 131073, 3, 196601, 131073, 3, -65543, 131073, 3, -131079, 131073, 3, -196615, 131073, 3, -262151, 131073, 3, -327687, 131073, 3, -393223, 131073, 3, -458759, 131073, 2, 524280, 65537, 4, 458744, 65537, 3, 393208, 65537, 3, 327672, 65537, 3, 262136, 65537, 3, 196600, 65537, 3, -65544, 65537, 3, -131080, 65537, 3, -196616, 65537, 3, -262152, 65537, 3, -327688, 65537, 3, -393224, 65537, 3, -458760, 65537, 2, -327685, 131073, 4, 131079, 196609, 2, 131078, 131073, 2, 131077, 65537, 2, -327678, 196609, 4, -327679, 393217, 3, -327680, 131073, 3, -262145, 131073, 3, -262146, 458753, 3, -262147, 65537, 4, -262143, 196609, 4, -262144, 393217, 3, -196609, 458753, 3, -196610, 65537, 4, -196608, 196609, 4, -131073, 65537, 4, 458753, 196609, 5, 458752, 131073, 5, 524287, 131073, 5, 524286, 65537, 5, 131066, 196609, 3, 65530, 196609, 3, -6, 196609, 3, 131065, 131073, 3, 65529, 131073, 3, -7, 131073, 3, 131064, 65537, 3, 65528, 65537, 3, -8, 65537, 3) [node name="ToLandingSite" parent="ToLandingSite" instance=ExtResource("4_0thwe")] -z_index = 10 position = Vector2(0, 24) -destination_zone_name = "TheLandingSite" -destination_travel_point_path = "./ToSimulation/ToSimulation" +destination_travel_point = SubResource("Resource_3c5gu") [node name="WoodenBoxesTiles8" parent="ToLandingSite" instance=ExtResource("5_tky8d")] layer_0/tile_data = PackedInt32Array(327676, 196609, 4, 262140, 196609, 2, 327675, 65537, 4, 262139, 65537, 2) @@ -192,7 +214,5 @@ layer_0/tile_data = PackedInt32Array(262142, 327680, 5, 196609, 524288, 5, 19660 layer_0/tile_data = PackedInt32Array(262146, 196609, 5, 262145, 393217, 2, 262144, 131073, 2, 327679, 131073, 2, 327678, 458753, 2, 327677, 65537, 5, 327681, 196609, 4, 327680, 131073, 4, 393215, 131073, 4, 393214, 65537, 4, -131072, 131073, 5, -65537, 131073, 5, -131070, 196609, 5, -131071, 131073, 5, -65538, 131073, 5, -65539, 65537, 5) [node name="ToKingdom" parent="ToKingdom" instance=ExtResource("4_0thwe")] -z_index = 10 position = Vector2(0, 16) -destination_zone_name = "TheKingdom" -destination_travel_point_path = "./ToSimulation/ToSimulation" +destination_travel_point = SubResource("Resource_8lcfg") diff --git a/src/games/hatbot/zones/TheKingdom.tscn b/src/games/hatbot/zones/TheKingdom.tscn index 8a0ddec63..8bc24de91 100644 --- a/src/games/hatbot/zones/TheKingdom.tscn +++ b/src/games/hatbot/zones/TheKingdom.tscn @@ -1,20 +1,24 @@ -[gd_scene load_steps=22 format=3] +[gd_scene load_steps=29 format=3 uid="uid://cstaokcgt7qhl"] [ext_resource type="Script" path="res://src/core/metro/MetroZone.gd" id="1_javx7"] +[ext_resource type="Script" path="res://src/dino/PlayerSpawner.gd" id="2_j8btw"] [ext_resource type="Shader" path="res://src/shaders/BgBlur.gdshader" id="2_wvs4k"] +[ext_resource type="Script" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="3_7ep7d"] [ext_resource type="Texture2D" uid="uid://ca1qei0yboss5" path="res://src/backgrounds/background_mountains_sheet.png" id="3_efp6d"] [ext_resource type="PackedScene" uid="uid://dx2sj4ijj8tlh" path="res://src/dino/entities/doors/Elevator.tscn" id="3_laypo"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/GildedKingdomTiles8.tscn" id="4_7b052"] +[ext_resource type="PackedScene" uid="uid://jegvid2kg2u5" path="res://addons/bones/reptile/tilemaps/GildedKingdomTiles8.tscn" id="4_7b052"] [ext_resource type="Script" path="res://src/core/metro/MetroRoom.gd" id="4_64ise"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/SpaceshipTiles8.tscn" id="5_fdigg"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/GrassyCaveTileMap8.tscn" id="5_q6axq"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/WoodenBoxesTiles8.tscn" id="6_cqiek"] +[ext_resource type="PackedScene" uid="uid://sisqkgg1lwpf" path="res://src/dino/hud/DinoHUD.tscn" id="4_r0doj"] +[ext_resource type="PackedScene" uid="uid://bt8jdg76u0jh6" path="res://addons/bones/reptile/tilemaps/SpaceshipTiles8.tscn" id="5_fdigg"] +[ext_resource type="PackedScene" uid="uid://qlyyoed7ln8c" path="res://addons/bones/reptile/tilemaps/GrassyCaveTileMap8.tscn" id="5_q6axq"] +[ext_resource type="PackedScene" uid="uid://dnoqoloeex0er" path="res://addons/bones/reptile/tilemaps/WoodenBoxesTiles8.tscn" id="6_cqiek"] [ext_resource type="PackedScene" uid="uid://bid88q8ils016" path="res://src/dino/entities/checkpoints/Candle.tscn" id="7_2jren"] [ext_resource type="PackedScene" uid="uid://7y0pacsggdqf" path="res://src/dino/pickups/coins/Coin.tscn" id="7_6utu0"] [ext_resource type="PackedScene" uid="uid://drxg0wu7qxcg8" path="res://src/dino/pickups/powerups/SSPowerup.tscn" id="7_x20i6"] [ext_resource type="PackedScene" path="res://src/dino/entities/doors/Door.tscn" id="8_1itx7"] [ext_resource type="PackedScene" uid="uid://bs0c5xn0vglfn" path="res://src/dino/entities/PlayerSpawnPoint.tscn" id="8_typcp"] [ext_resource type="PackedScene" uid="uid://behm7cukujwxa" path="res://src/dino/bosses/monstroar/Monstroar.tscn" id="9_ggu7q"] +[ext_resource type="Script" path="res://src/core/metro/MetroTravelPointEntity.gd" id="9_plcl1"] [ext_resource type="PackedScene" uid="uid://dba5urikk70ib" path="res://src/dino/bosses/WarpSpot.tscn" id="10_8esf0"] [ext_resource type="PackedScene" path="res://src/games/hatbot/CoinDoorQuest.tscn" id="11_4yi87"] [ext_resource type="PackedScene" uid="uid://dwhejqu03vl0b" path="res://src/dino/enemies/soldiers/Soldier.tscn" id="11_cnih1"] @@ -25,10 +29,34 @@ shader = ExtResource("2_wvs4k") shader_parameter/radius = 64.0 +[sub_resource type="Resource" id="Resource_jlivu"] +script = ExtResource("9_plcl1") +_id = "220" + +[sub_resource type="Resource" id="Resource_asrcv"] +script = ExtResource("9_plcl1") +_id = "216" + +[sub_resource type="Resource" id="Resource_23jas"] +script = ExtResource("9_plcl1") +_id = "214" + [node name="TheKingdom" type="Node2D" groups=["metro_zones"]] script = ExtResource("1_javx7") metadata/_edit_vertical_guides_ = [] +[node name="PlayerSpawner" type="Node" parent="."] +script = ExtResource("2_j8btw") + +[node name="Camera2D" type="Camera2D" parent="."] + +[node name="PhantomCameraHost" type="Node" parent="Camera2D"] +process_priority = 300 +process_physics_priority = 300 +script = ExtResource("3_7ep7d") + +[node name="DinoHUD" parent="." instance=ExtResource("4_r0doj")] + [node name="ParallaxBackground" type="ParallaxBackground" parent="."] scroll_limit_begin = Vector2(-1000, -800) scroll_limit_end = Vector2(1000, 800) @@ -59,8 +87,7 @@ script = ExtResource("4_64ise") [node name="ToSimulation" parent="ToSimulation" instance=ExtResource("3_laypo")] position = Vector2(-8, 24) -destination_zone_name = "Simulation" -destination_travel_point_path = "./ToKingdom/ToKingdom" +destination_travel_point = SubResource("Resource_jlivu") [node name="GildedKingdomTiles8" parent="ToSimulation" instance=ExtResource("4_7b052")] layer_0/tile_data = PackedInt32Array(458759, 196609, 3, 393223, 196609, 3, 327687, 196609, 2, 65543, 196609, 4, 7, 196609, 3, -65529, 196609, 3, -131065, 196609, 3, -196601, 196609, 3, -262137, 196609, 3, -327673, 196609, 3, -393209, 196609, 3, -458745, 196609, 3, -524281, 196609, 2, 458758, 131073, 3, 393222, 131073, 3, 327686, 131073, 2, 65542, 131073, 4, 6, 131073, 3, -65530, 131073, 3, -131066, 131073, 3, -196602, 131073, 3, -262138, 131073, 3, -327674, 131073, 3, -393210, 131073, 3, -458746, 131073, 3, -524282, 131073, 2, 458757, 131073, 3, 393221, 131073, 3, 327685, 131073, 2, 65541, 589825, 5, 5, 65537, 3, -65531, 65537, 3, -131067, 65537, 3, -196603, 65537, 3, -262139, 65537, 3, -327675, 65537, 3, -393211, 458753, 3, -458747, 131073, 3, -524283, 131073, 2, 458756, 131073, 3, 393220, 131073, 3, 327684, 131073, 2, -393212, 131073, 4, -458748, 131073, 3, -524284, 131073, 2, 458755, 131073, 3, 393219, 458753, 4, 327683, 65537, 2, -393213, 131073, 4, -458749, 131073, 3, -524285, 131073, 2, 458754, 131073, 3, 393218, 131073, 2, -393214, 131073, 4, -458750, 131073, 3, -524286, 131073, 2, 458753, 131073, 3, 393217, 131073, 2, -393215, 131073, 4, -458751, 131073, 3, -524287, 131073, 2, 458752, 131073, 3, 393216, 131073, 2, -393216, 131073, 4, -458752, 131073, 3, -524288, 131073, 2, 524287, 131073, 3, 458751, 131073, 2, -327681, 131073, 4, -393217, 131073, 3, -458753, 131073, 2, 524286, 131073, 3, 458750, 131073, 2, -327682, 131073, 4, -393218, 131073, 3, -458754, 131073, 2, 524285, 131073, 3, 458749, 131073, 2, -327683, 131073, 4, -393219, 131073, 3, -458755, 131073, 2, 524284, 131073, 3, 458748, 131073, 2, -327684, 131073, 4, -393220, 131073, 3, -458756, 131073, 2, 524283, 131073, 3, 458747, 131073, 2, -327685, 131073, 4, -393221, 131073, 3, -458757, 131073, 2, 524282, 131073, 3, 458746, 393217, 4, 393210, 196609, 3, 327674, 196609, 3, 262138, 196609, 3, 196602, 196609, 3, 131066, 196609, 3, 65530, 196609, 3, -6, 196609, 3, -65542, 196609, 3, -131078, 196609, 3, -196614, 196609, 3, -262150, 196609, 3, -327686, 393217, 3, -393222, 131073, 3, -458758, 131073, 2, 524281, 131073, 3, 458745, 131073, 3, 393209, 131073, 3, 327673, 131073, 3, 262137, 131073, 3, 196601, 131073, 3, 131065, 131073, 3, 65529, 131073, 3, -7, 131073, 3, -65543, 131073, 3, -131079, 131073, 3, -196615, 131073, 3, -262151, 131073, 3, -327687, 131073, 3, -393223, 131073, 3, -458759, 131073, 2, 524280, 65537, 3, 458744, 65537, 3, 393208, 65537, 3, 327672, 65537, 3, 262136, 65537, 3, 196600, 65537, 3, 131064, 65537, 3, 65528, 65537, 3, -8, 65537, 3, -65544, 65537, 3, -131080, 65537, 3, -196616, 65537, 3, -262152, 65537, 3, -327688, 65537, 3, -393224, 65537, 3, -458760, 65537, 2, 655367, 196609, 4, 589831, 196609, 3, 524295, 196609, 3, 655366, 131073, 4, 589830, 131073, 3, 524294, 131073, 3, 655365, 131073, 4, 589829, 131073, 3, 524293, 131073, 3, 655364, 131073, 4, 589828, 131073, 3, 524292, 131073, 3, 655363, 131073, 4, 589827, 131073, 3, 524291, 131073, 3, 655362, 131073, 4, 589826, 131073, 3, 524290, 131073, 3, 655361, 131073, 4, 589825, 131073, 3, 524289, 131073, 3, 655360, 131073, 4, 589824, 131073, 3, 524288, 131073, 3, 720895, 131073, 4, 655359, 131073, 3, 589823, 131073, 3, 720894, 131073, 4, 655358, 131073, 3, 589822, 131073, 3, 720893, 131073, 4, 655357, 131073, 3, 589821, 131073, 3, 720892, 131073, 4, 655356, 131073, 3, 589820, 131073, 3, 720891, 131073, 4, 655355, 131073, 3, 589819, 131073, 3, 720890, 131073, 4, 655354, 131073, 3, 589818, 131073, 3, 720889, 131073, 4, 655353, 131073, 3, 589817, 131073, 3, 720888, 65537, 4, 655352, 65537, 3, 589816, 65537, 3, 65540, 131073, 5, 65539, 327681, 5, 3, 262145, 2) @@ -262,7 +289,7 @@ script = ExtResource("4_64ise") [node name="GildedKingdomTiles8" parent="KingdomTowerMiddle" instance=ExtResource("4_7b052")] layer_0/tile_data = PackedInt32Array(262146, 131073, 4, 196610, 131073, 3, 131074, 458753, 4, 65538, 65537, 2, 262145, 131073, 4, 196609, 131073, 3, 131073, 131073, 2, 131072, 131073, 2, 196607, 131073, 2, 196606, 65537, 2, 327669, 196609, 4, 262133, 393217, 3, 327668, 131073, 4, 262132, 131073, 3, 327667, 131073, 4, 262131, 458753, 4, 327666, 131073, 4, 262130, 131073, 2, 327665, 131073, 4, 262129, 131073, 2, 393200, 196609, 3, 327664, 393217, 3, 262128, 131073, 2, 393199, 131073, 3, 327663, 131073, 3, 262127, 131073, 2, -65553, 196609, 5, 393198, 131073, 3, 327662, 131073, 3, 262126, 131073, 2, -65554, 131073, 5, 393197, 131073, 3, 327661, 131073, 3, 262125, 131073, 2, -65555, 131073, 5, 393196, 131073, 3, 327660, 131073, 3, 262124, 131073, 2, -65556, 131073, 5, 393195, 131073, 3, 327659, 131073, 3, 262123, 131073, 2, -65557, 393217, 5, 393194, 65537, 3, 327658, 65537, 3, 262122, 65537, 2, -65558, 65537, 4, -131094, 65537, 3, -196630, 65537, 3, -131084, 131073, 4, -131085, 65537, 4, -131083, 393217, 5, 327689, 196609, 3, 262153, 196609, 3, 196617, 196609, 3, 131081, 196609, 3, 65545, 196609, 3, 9, 196609, 3, -65527, 196609, 3, -131063, 196609, 3, -196599, 196609, 3, -262135, 196609, 3, 327688, 131073, 3, 262152, 131073, 3, 196616, 131073, 3, 131080, 131073, 3, 65544, 458753, 4, 8, 65537, 3, -65528, 65537, 3, -131064, 65537, 3, -196600, 65537, 3, -262136, 65537, 3, 327687, 131073, 3, 262151, 131073, 3, 196615, 131073, 3, 131079, 131073, 3, 65543, 131073, 2, 327686, 131073, 3, 262150, 131073, 3, 196614, 131073, 3, 131078, 131073, 3, 65542, 131073, 2, 327685, 131073, 3, 262149, 131073, 3, 196613, 131073, 3, 131077, 131073, 3, 65541, 131073, 2, 327684, 65537, 3, 262148, 458753, 3, 196612, 131073, 3, 131076, 131073, 3, 65540, 131073, 2, 262147, 131073, 4, 196611, 131073, 3, 131075, 131073, 3, 65539, 131073, 2, 131061, 65537, 2, -524299, 131073, 5, -458764, 196609, 4, -524300, 393217, 2, -458765, 131073, 4, -524301, 131073, 2, -458766, 131073, 4, -524302, 131073, 2, -458767, 131073, 4, -524303, 131073, 2, -458768, 131073, 4, -524304, 131073, 2, -458769, 131073, 4, -524305, 131073, 2, -458770, 131073, 4, -524306, 131073, 2, -327699, 196609, 4, -393235, 196609, 3, -458771, 393217, 3, -524307, 131073, 2, -327700, 131073, 4, -393236, 131073, 3, -458772, 131073, 3, -524308, 131073, 2, -327701, 393217, 3, -393237, 131073, 3, -458773, 131073, 3, -524309, 131073, 2, -262166, 65537, 3, -327702, 65537, 3, -393238, 65537, 3, -458774, 65537, 3, -524310, 65537, 2, 196596, 131073, 2, 196595, 65537, 2, 917513, 196609, 4, 851977, 196609, 3, 786441, 196609, 3, 720905, 196609, 3, 655369, 196609, 3, 589833, 196609, 3, 524297, 196609, 3, 458761, 196609, 3, 393225, 196609, 3, 917512, 131073, 4, 851976, 131073, 3, 786440, 131073, 3, 720904, 131073, 3, 655368, 131073, 3, 589832, 131073, 3, 524296, 131073, 3, 458760, 131073, 3, 393224, 131073, 3, 917511, 65537, 4, 851975, 65537, 3, 786439, 65537, 3, 720903, 65537, 3, 655367, 65537, 3, 589831, 65537, 3, 524295, 65537, 3, 458759, 458753, 3, 393223, 131073, 3, 458758, 131073, 4, 393222, 131073, 3, 458757, 131073, 4, 393221, 131073, 3, 458756, 65537, 4, 393220, 65537, 3, 917506, 196609, 4, 851970, 196609, 3, 786434, 196609, 2, 917505, 131073, 4, 851969, 131073, 3, 786433, 131073, 2, 917504, 131073, 4, 851968, 131073, 3, 786432, 131073, 2, 262144, 131073, 4, 983039, 131073, 4, 917503, 131073, 3, 851967, 393217, 4, 786431, 196609, 3, 720895, 196609, 3, 655359, 196609, 2, 327679, 131073, 4, 983038, 131073, 4, 917502, 131073, 3, 851966, 131073, 3, 786430, 131073, 3, 720894, 131073, 3, 655358, 131073, 2, 327678, 65537, 4, 983037, 131073, 4, 917501, 131073, 3, 851965, 131073, 3, 786429, 131073, 3, 720893, 131073, 3, 655357, 131073, 2, 983036, 131073, 4, 917500, 131073, 3, 851964, 131073, 3, 786428, 131073, 3, 720892, 131073, 3, 655356, 131073, 2, 983035, 131073, 4, 917499, 131073, 3, 851963, 131073, 3, 786427, 131073, 3, 720891, 131073, 3, 655355, 131073, 2, 983034, 131073, 4, 917498, 131073, 3, 851962, 131073, 3, 786426, 131073, 3, 720890, 131073, 3, 655354, 131073, 2, 983033, 131073, 4, 917497, 131073, 3, 851961, 131073, 3, 786425, 131073, 3, 720889, 131073, 3, 655353, 131073, 2, 983032, 131073, 4, 917496, 131073, 3, 851960, 131073, 3, 786424, 131073, 3, 720888, 131073, 3, 655352, 131073, 2, 983031, 131073, 4, 917495, 131073, 3, 851959, 131073, 3, 786423, 131073, 3, 720887, 131073, 3, 655351, 131073, 2, 983030, 131073, 4, 917494, 131073, 3, 851958, 458753, 4, 786422, 65537, 3, 720886, 65537, 3, 655350, 65537, 2, 983029, 131073, 4, 917493, 131073, 3, 851957, 131073, 2, 983028, 131073, 4, 917492, 131073, 3, 851956, 131073, 2, 983027, 131073, 4, 917491, 131073, 3, 851955, 131073, 2, 983026, 131073, 4, 917490, 131073, 3, 851954, 131073, 2, 983025, 131073, 4, 917489, 131073, 3, 851953, 131073, 2, 983024, 65537, 4, 917488, 65537, 3, 851952, 65537, 2, 524272, 196609, 4, 458736, 196609, 3, 524271, 131073, 4, 458735, 131073, 3, 524270, 131073, 4, 458734, 131073, 3, 524269, 131073, 4, 458733, 131073, 3, 720876, 196609, 4, 655340, 196609, 3, 589804, 196609, 3, 524268, 393217, 3, 458732, 131073, 3, 983019, 196609, 4, 917483, 196609, 3, 851947, 196609, 3, 786411, 196609, 3, 720875, 393217, 3, 655339, 131073, 3, 589803, 131073, 3, 524267, 131073, 3, 458731, 131073, 3, 983018, 65537, 4, 917482, 65537, 3, 851946, 65537, 3, 786410, 65537, 3, 720874, 65537, 3, 655338, 65537, 3, 589802, 65537, 3, 524266, 65537, 3, 458730, 65537, 3, 196608, 131073, 3, 262143, 131073, 3, 262142, 65537, 3, -327671, 196609, 3, -393207, 196609, 3, -458743, 196609, 3, -524279, 196609, 3, -589815, 196609, 2, -327672, 65537, 3, -393208, 65537, 3, -458744, 458753, 3, -524280, 131073, 3, -589816, 131073, 2, -458745, 131073, 4, -524281, 131073, 3, -589817, 131073, 2, -458746, 131073, 4, -524282, 131073, 3, -589818, 131073, 2, -458747, 131073, 4, -524283, 131073, 3, -589819, 131073, 2, -458748, 131073, 4, -524284, 131073, 3, -589820, 131073, 2, -458749, 131073, 4, -524285, 131073, 3, -589821, 131073, 2, -458750, 131073, 4, -524286, 131073, 3, -589822, 131073, 2, -458751, 393217, 3, -524287, 131073, 3, -589823, 131073, 2, -458752, 131073, 3, -524288, 131073, 3, -589824, 131073, 2, -393217, 131073, 3, -458753, 131073, 3, -524289, 131073, 2, -393218, 65537, 3, -458754, 65537, 3, -524290, 65537, 2, -131081, 196609, 5, -131082, 131073, 5, -524296, 196609, 5, -524297, 131073, 5, -524298, 131073, 5, -327680, 458753, 3, -393216, 131073, 3, -327681, 131073, 3, -327682, 65537, 3, -327679, 196609, 3, -393215, 196609, 3, -262143, 196609, 4, -262144, 65537, 4, 262137, 196609, 4, 196601, 196609, 3, 131065, 196609, 2, 262136, 131073, 4, 196600, 131073, 3, 131064, 131073, 2, 262135, 131073, 4, 196599, 131073, 3, 131063, 131073, 2, 262134, 131073, 4, 196598, 131073, 3, 131062, 131073, 2, 196597, 458753, 4, -196619, 196609, 2, -196620, 131073, 2, -196621, 65537, 2, -131093, 196609, 3, -196629, 196609, 3, -262165, 196609, 3, -262147, 131073, 5, -262148, 131073, 5, -262149, 65537, 5, -262145, 131073, 4, -262146, 131073, 4) -[node name="Candle" parent="KingdomTowerMiddle" instance=ExtResource("7_2jren")] +[node name="Candle" parent="KingdomTowerMiddle" groups=["metro_checkpoints"] instance=ExtResource("7_2jren")] position = Vector2(40, -8) [node name="KingdomTowerLower" type="Node2D" parent="." groups=["metro_rooms"]] @@ -336,7 +363,7 @@ layer_0/tile_data = PackedInt32Array(-1638377, 196609, 3, -1703913, 196609, 3, - [node name="WoodenBoxesTiles8" parent="RoyalHallway" instance=ExtResource("6_cqiek")] layer_0/tile_data = PackedInt32Array(-1900524, 196609, 4, -1966060, 196609, 3, -2031596, 196609, 2, -1900525, 131073, 4, -1966061, 131073, 3, -2031597, 131073, 2, -1900526, 65537, 4, -1966062, 65537, 3, -2031598, 65537, 2, -1703938, 196609, 4, -1769474, 196609, 3, -1835010, 196609, 2, -1703939, 131073, 4, -1769475, 131073, 3, -1835011, 131073, 2, -1703940, 65537, 4, -1769476, 65537, 3, -1835012, 65537, 2) -[node name="Candle" parent="RoyalHallway" instance=ExtResource("7_2jren")] +[node name="Candle" parent="RoyalHallway" groups=["metro_checkpoints"] instance=ExtResource("7_2jren")] position = Vector2(56, -208) [node name="ThroneRoom" type="Node2D" parent="." groups=["metro_rooms"]] @@ -384,8 +411,7 @@ layer_0/tile_data = PackedInt32Array(-1048585, 196609, 4, -1114121, 196609, 3, - [node name="ToLandingSite" parent="ToLandingSite" instance=ExtResource("3_laypo")] position = Vector2(-168, -208) -destination_zone_name = "TheLandingSite" -destination_travel_point_path = "./SubLandingElevator/ToKingdomBack" +destination_travel_point = SubResource("Resource_asrcv") [node name="GrassyCaveTileMap" parent="ToLandingSite" instance=ExtResource("5_q6axq")] layer_0/tile_data = PackedInt32Array(-1507345, 196609, 2, -1507346, 131073, 2, -1507347, 131073, 2, -1507348, 131073, 2, -1507349, 131073, 2, -1507350, 131073, 2, -1507351, 131073, 2, -1507352, 131073, 2, -1507353, 393217, 4, -1572889, 196609, 3, -1638425, 196609, 3, -1703961, 196609, 3, -1769497, 196609, 3, -1835033, 196609, 3, -1900569, 196609, 3, -1966105, 196609, 3, -2031641, 196609, 3, -2097177, 393217, 3, -2097168, 458753, 3, -2097169, 131073, 4, -2097170, 131073, 4, -2097171, 131073, 4, -2097172, 131073, 4, -2097173, 131073, 4, -2097174, 131073, 4, -2097175, 131073, 4, -2097176, 131073, 4, -1835024, 65537, 4, -1900560, 65537, 3, -1966096, 65537, 3, -2031632, 65537, 3, -1310733, 196609, 4, -1376269, 196609, 3, -1441805, 196609, 2, -1310734, 131073, 4, -1376270, 131073, 3, -1441806, 131073, 2, -1310735, 131073, 4, -1376271, 131073, 3, -1441807, 131073, 2, -1310736, 131073, 4, -1376272, 131073, 3, -1441808, 131073, 2, -1310737, 131073, 4, -1376273, 131073, 3, -1441809, 393217, 4, -1310738, 131073, 4, -1376274, 131073, 3, -1441810, 131073, 3, -1310739, 131073, 4, -1376275, 131073, 3, -1441811, 131073, 3, -1310740, 131073, 4, -1376276, 131073, 3, -1441812, 131073, 3, -1310741, 131073, 4, -1376277, 131073, 3, -1441813, 131073, 3, -1310742, 131073, 4, -1376278, 131073, 3, -1441814, 131073, 3, -1310743, 131073, 4, -1376279, 131073, 3, -1441815, 131073, 3, -1310744, 131073, 4, -1376280, 131073, 3, -1441816, 131073, 3, -1310745, 131073, 4, -1376281, 131073, 3, -1441817, 131073, 3, -1310746, 131073, 4, -1376282, 131073, 3, -1441818, 131073, 3, -1310747, 131073, 4, -1376283, 131073, 3, -1441819, 131073, 3, -1507354, 131073, 3, -1572890, 131073, 3, -1638426, 131073, 3, -1703962, 131073, 3, -1769498, 131073, 3, -1835034, 131073, 3, -1900570, 131073, 3, -1966106, 131073, 3, -2031642, 131073, 3, -2097178, 131073, 3, -2162714, 131073, 3, -2228250, 131073, 3, -1507355, 131073, 3, -1572891, 131073, 3, -1638427, 131073, 3, -1703963, 131073, 3, -1769499, 131073, 3, -1835035, 131073, 3, -1900571, 131073, 3, -1966107, 131073, 3, -2031643, 131073, 3, -2097179, 131073, 3, -2162715, 131073, 3, -2228251, 131073, 3, -1310748, 65537, 4, -1376284, 65537, 3, -1441820, 65537, 3, -1507356, 65537, 3, -1572892, 65537, 3, -1638428, 65537, 3, -1703964, 65537, 3, -1769500, 65537, 3, -1835036, 65537, 3, -1900572, 65537, 3, -1966108, 65537, 3, -2031644, 65537, 3, -2097180, 65537, 3, -2162716, 65537, 3, -2228252, 65537, 3, -2162701, 196609, 3, -2228237, 196609, 3, -2293773, 196609, 2, -2162702, 131073, 3, -2228238, 131073, 3, -2293774, 131073, 2, -2162703, 131073, 3, -2228239, 131073, 3, -2293775, 131073, 2, -2162704, 131073, 3, -2228240, 131073, 3, -2293776, 131073, 2, -2162705, 131073, 3, -2228241, 131073, 3, -2293777, 131073, 2, -2162706, 131073, 3, -2228242, 131073, 3, -2293778, 131073, 2, -2162707, 131073, 3, -2228243, 131073, 3, -2293779, 131073, 2, -2162708, 131073, 3, -2228244, 131073, 3, -2293780, 131073, 2, -2162709, 131073, 3, -2228245, 131073, 3, -2293781, 131073, 2, -2162710, 131073, 3, -2228246, 131073, 3, -2293782, 131073, 2, -2162711, 131073, 3, -2228247, 131073, 3, -2293783, 131073, 2, -2162712, 131073, 3, -2228248, 131073, 3, -2293784, 131073, 2, -2162713, 131073, 3, -2228249, 131073, 3, -2293785, 131073, 2, -2293786, 131073, 2, -2293787, 131073, 2, -2293788, 65537, 2, -1835021, 196609, 4, -1900557, 196609, 3, -1966093, 196609, 3, -2031629, 196609, 3, -2097165, 196609, 3, -1835022, 131073, 4, -1900558, 131073, 3, -1966094, 131073, 3, -2031630, 131073, 3, -2097166, 131073, 3, -1835023, 131073, 4, -1900559, 131073, 3, -1966095, 131073, 3, -2031631, 131073, 3, -2097167, 131073, 3) @@ -402,5 +428,4 @@ layer_0/tile_data = PackedInt32Array(-4784017, 196609, 4, -4849553, 196609, 3, - [node name="ToLevelZero" parent="SecretEndgameRoomToLevelZero" instance=ExtResource("3_laypo")] position = Vector2(704, -656) -destination_zone_name = "LevelZero" -destination_travel_point_path = "./SecretEntrance/ToTheKingdom" +destination_travel_point = SubResource("Resource_23jas") diff --git a/src/games/hatbot/zones/TheLandingSite.tscn b/src/games/hatbot/zones/TheLandingSite.tscn index 79b80ce88..42aa31b2b 100644 --- a/src/games/hatbot/zones/TheLandingSite.tscn +++ b/src/games/hatbot/zones/TheLandingSite.tscn @@ -1,27 +1,59 @@ -[gd_scene load_steps=16 format=3 uid="uid://badft3bar0jhr"] +[gd_scene load_steps=24 format=3 uid="uid://badft3bar0jhr"] [ext_resource type="Script" path="res://src/core/metro/MetroZone.gd" id="1_lh6bi"] +[ext_resource type="Script" path="res://src/dino/PlayerSpawner.gd" id="2_0rd3d"] [ext_resource type="Shader" path="res://src/shaders/BgBlur.gdshader" id="2_swsow"] [ext_resource type="Texture2D" uid="uid://q2pnjmesx2xc" path="res://src/backgrounds/background_city_sheet.png" id="3_n5fna"] +[ext_resource type="Script" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="3_yg8vm"] +[ext_resource type="PackedScene" uid="uid://sisqkgg1lwpf" path="res://src/dino/hud/DinoHUD.tscn" id="4_78afd"] [ext_resource type="Script" path="res://src/core/metro/MetroRoom.gd" id="4_h5aoq"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/GrassyCaveTileMap8.tscn" id="5_70q41"] +[ext_resource type="PackedScene" uid="uid://qlyyoed7ln8c" path="res://addons/bones/reptile/tilemaps/GrassyCaveTileMap8.tscn" id="5_70q41"] [ext_resource type="PackedScene" uid="uid://dx2sj4ijj8tlh" path="res://src/dino/entities/doors/Elevator.tscn" id="6_jvgol"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/WoodenBoxesTiles8.tscn" id="7_31llo"] +[ext_resource type="PackedScene" uid="uid://dnoqoloeex0er" path="res://addons/bones/reptile/tilemaps/WoodenBoxesTiles8.tscn" id="7_31llo"] [ext_resource type="PackedScene" uid="uid://dn6uahtfgkb4u" path="res://src/dino/enemies/shootyCrawly/ShootyCrawly.tscn" id="8_a4rxl"] [ext_resource type="PackedScene" uid="uid://drxg0wu7qxcg8" path="res://src/dino/pickups/powerups/SSPowerup.tscn" id="9_aod2w"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/GildedKingdomTiles8.tscn" id="10_8x20u"] +[ext_resource type="PackedScene" uid="uid://jegvid2kg2u5" path="res://addons/bones/reptile/tilemaps/GildedKingdomTiles8.tscn" id="10_8x20u"] +[ext_resource type="Script" path="res://src/core/metro/MetroTravelPointEntity.gd" id="10_phqqv"] [ext_resource type="PackedScene" uid="uid://dah35ils4effb" path="res://src/dino/enemies/blobs/Blob.tscn" id="11_bcrjp"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/SpaceshipTiles8.tscn" id="12_elrvm"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/VolcanoTiles8.tscn" id="13_cfneh"] +[ext_resource type="PackedScene" uid="uid://bt8jdg76u0jh6" path="res://addons/bones/reptile/tilemaps/SpaceshipTiles8.tscn" id="12_elrvm"] +[ext_resource type="PackedScene" uid="uid://dqlvqjsr8s2at" path="res://addons/bones/reptile/tilemaps/VolcanoTiles8.tscn" id="13_cfneh"] [ext_resource type="PackedScene" uid="uid://bid88q8ils016" path="res://src/dino/entities/checkpoints/Candle.tscn" id="14_o6185"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_bonx2"] shader = ExtResource("2_swsow") shader_parameter/radius = 64.0 +[sub_resource type="Resource" id="Resource_7leli"] +script = ExtResource("10_phqqv") +_id = "213" + +[sub_resource type="Resource" id="Resource_dmsi6"] +script = ExtResource("10_phqqv") +_id = "222" + +[sub_resource type="Resource" id="Resource_jlivu"] +script = ExtResource("10_phqqv") +_id = "220" + +[sub_resource type="Resource" id="Resource_uxinh"] +script = ExtResource("10_phqqv") +_id = "224" + [node name="TheLandingSite" type="Node2D" groups=["metro_zones"]] script = ExtResource("1_lh6bi") +[node name="PlayerSpawner" type="Node" parent="."] +script = ExtResource("2_0rd3d") + +[node name="Camera2D" type="Camera2D" parent="."] + +[node name="PhantomCameraHost" type="Node" parent="Camera2D"] +process_priority = 300 +process_physics_priority = 300 +script = ExtResource("3_yg8vm") + +[node name="DinoHUD" parent="." instance=ExtResource("4_78afd")] + [node name="ParallaxBackground" type="ParallaxBackground" parent="."] scroll_limit_begin = Vector2(-768, -600) scroll_limit_end = Vector2(1152, 400) @@ -55,6 +87,7 @@ layer_0/tile_data = PackedInt32Array(983047, 196609, 4, 917511, 196609, 3, 85197 [node name="ToZero" parent="FromZero" instance=ExtResource("6_jvgol")] position = Vector2(0, 16) +destination_travel_point = SubResource("Resource_7leli") [node name="Arrival" type="Node2D" parent="." groups=["metro_rooms"]] script = ExtResource("4_h5aoq") @@ -117,6 +150,7 @@ layer_0/tile_data = PackedInt32Array(196623, 196609, 3, 131087, 196609, 3, 65551 [node name="ToKingdomBack" parent="SubLandingElevator" instance=ExtResource("6_jvgol")] position = Vector2(-16, 0) +destination_travel_point = SubResource("Resource_dmsi6") [node name="GildedKingdomTiles8" parent="SubLandingElevator" instance=ExtResource("10_8x20u")] layer_0/tile_data = PackedInt32Array(196609, 196609, 4, 131073, 196609, 2, 196608, 131073, 4, 131072, 131073, 2, 262143, 131073, 4, 196607, 131073, 2, 262142, 131073, 4, 196606, 131073, 2, 262141, 131073, 4, 196605, 131073, 2, 262140, 131073, 4, 196604, 131073, 2, 262139, 131073, 4, 196603, 131073, 2, 262138, 131073, 4, 196602, 393217, 4, 131066, 196609, 3, 65530, 196609, 3, -6, 196609, 3, -65542, 196609, 3, -131078, 393217, 3, 262137, 65537, 4, 196601, 65537, 3, 131065, 65537, 3, 65529, 65537, 3, -7, 65537, 3, -65543, 65537, 3, -131079, 65537, 3, -196607, 196609, 4, -262143, 196609, 2, -196608, 131073, 4, -262144, 131073, 2, -131073, 131073, 4, -196609, 131073, 2, -131074, 131073, 4, -196610, 131073, 2, -131075, 131073, 4, -196611, 131073, 2, -131076, 131073, 4, -196612, 131073, 2, -131077, 131073, 4, -196613, 131073, 2, -196614, 131073, 2, -196615, 65537, 2) @@ -152,6 +186,7 @@ layer_0/tile_data = PackedInt32Array(458759, 196609, 4, 393223, 196609, 3, 32768 [node name="ToSimulation" parent="ToSimulation" instance=ExtResource("6_jvgol")] position = Vector2(8, 24) +destination_travel_point = SubResource("Resource_jlivu") [node name="SpaceshipTiles8" parent="ToSimulation" instance=ExtResource("12_elrvm")] layer_0/tile_data = PackedInt32Array(327683, 393217, 2, 327682, 458753, 2, 327681, 131073, 5, 327680, 131073, 5, 393215, 393217, 2, 393214, 458753, 2, 393213, 131073, 5, 327684, 524289, 5, 262148, 327681, 3, 196612, 65537, 2, 196613, 524289, 4, 131077, 262145, 3, 65541, 262145, 3, 5, 262145, 3, -65531, 262145, 3, -131067, 262145, 3, -196603, 524289, 3, -196604, 65537, 4, -262140, 327681, 4, -327676, 524289, 2, -327677, 131073, 5, -327678, 131073, 5, -327679, 131073, 5, -327680, 327681, 2, -262144, 524289, 5, -196609, 131073, 5, -131074, 196609, 4, -196610, 393217, 2, -65539, 524289, 5, -131075, 327681, 3, 393212, 327681, 5, 327676, 262145, 3, 262140, 262145, 2, -65540, 65537, 5, 327686, 262145, 4, 262150, 524289, 2, 262149, 393217, 5, -262138, 524289, 5, -327674, 262145, 2, -262139, 393217, 2, -262147, 524289, 2, -262148, 65537, 5, -196611, 327681, 4, 393218, 65537, 4, 393219, 196609, 4, 458750, 65537, 4, 458751, 196609, 4) @@ -165,6 +200,7 @@ layer_0/tile_data = PackedInt32Array(458759, 196609, 4, 393223, 196609, 3, 32768 [node name="ToVolcano" parent="ToVolcano" instance=ExtResource("6_jvgol")] position = Vector2(-16, 16) +destination_travel_point = SubResource("Resource_uxinh") [node name="VolcanoTiles8" parent="ToVolcano" instance=ExtResource("13_cfneh")] layer_0/tile_data = PackedInt32Array(262149, 196609, 4, 196613, 196609, 2, -65531, 196609, 4, -131067, 196609, 3, -196603, 196609, 3, -262139, 196609, 3, -327675, 196609, 2, 262148, 65537, 4, 196612, 65537, 2, -65532, 65537, 4, -131068, 65537, 3, -196604, 65537, 3, -262140, 65537, 3, -327676, 458753, 2, 262147, 131073, 5, -327677, 131073, 5, 262146, 131073, 5, -327678, 131073, 5, 262145, 131073, 5, -327679, 131073, 5, 262144, 131073, 5, -327680, 131073, 5, 327679, 131073, 5, -262145, 131073, 5, 327678, 131073, 5, -262146, 131073, 5, 327677, 131073, 5, -262147, 131073, 5, 327676, 131073, 5, -262148, 131073, 5, 327675, 131073, 5, -262149, 131073, 5, 327674, 327681, 5, 262138, 262145, 3, 196602, 262145, 3, 131066, 262145, 3, 65530, 262145, 3, -6, 262145, 3, -65542, 262145, 3, -131078, 262145, 3, -196614, 262145, 3, -262150, 327681, 2) diff --git a/src/games/hatbot/zones/Volcano.tscn b/src/games/hatbot/zones/Volcano.tscn index 48a0334af..40e39c522 100644 --- a/src/games/hatbot/zones/Volcano.tscn +++ b/src/games/hatbot/zones/Volcano.tscn @@ -1,13 +1,17 @@ -[gd_scene load_steps=21 format=3 uid="uid://5vwwc56o0obb"] +[gd_scene load_steps=26 format=3 uid="uid://5vwwc56o0obb"] [ext_resource type="Script" path="res://src/core/metro/MetroZone.gd" id="1_5sa6m"] [ext_resource type="Shader" path="res://src/shaders/BgBlur.gdshader" id="2_20wgn"] +[ext_resource type="Script" path="res://src/dino/PlayerSpawner.gd" id="2_gnqsl"] +[ext_resource type="Script" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="3_ihma0"] [ext_resource type="Texture2D" uid="uid://ca1qei0yboss5" path="res://src/backgrounds/background_mountains_sheet.png" id="3_u3cpt"] [ext_resource type="Script" path="res://src/core/metro/MetroRoom.gd" id="4_8m6jk"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/VolcanoTiles8.tscn" id="5_hnnq2"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/GrassyCaveTileMap8.tscn" id="6_vteb1"] +[ext_resource type="PackedScene" uid="uid://sisqkgg1lwpf" path="res://src/dino/hud/DinoHUD.tscn" id="4_856sa"] +[ext_resource type="PackedScene" uid="uid://dqlvqjsr8s2at" path="res://addons/bones/reptile/tilemaps/VolcanoTiles8.tscn" id="5_hnnq2"] +[ext_resource type="PackedScene" uid="uid://qlyyoed7ln8c" path="res://addons/bones/reptile/tilemaps/GrassyCaveTileMap8.tscn" id="6_vteb1"] [ext_resource type="PackedScene" uid="uid://dx2sj4ijj8tlh" path="res://src/dino/entities/doors/Elevator.tscn" id="7_yfbgo"] -[ext_resource type="PackedScene" path="res://addons/bones/reptile/tilemaps/WoodenBoxesTiles8.tscn" id="8_j17mi"] +[ext_resource type="Script" path="res://src/core/metro/MetroTravelPointEntity.gd" id="8_dm3kc"] +[ext_resource type="PackedScene" uid="uid://dnoqoloeex0er" path="res://addons/bones/reptile/tilemaps/WoodenBoxesTiles8.tscn" id="8_j17mi"] [ext_resource type="PackedScene" uid="uid://dn6uahtfgkb4u" path="res://src/dino/enemies/shootyCrawly/ShootyCrawly.tscn" id="9_8m6c5"] [ext_resource type="PackedScene" path="res://src/dino/entities/doors/Door.tscn" id="11_7pvm7"] [ext_resource type="PackedScene" uid="uid://7y0pacsggdqf" path="res://src/dino/pickups/coins/Coin.tscn" id="12_xkhi8"] @@ -24,9 +28,25 @@ shader = ExtResource("2_20wgn") shader_parameter/radius = 64.0 +[sub_resource type="Resource" id="Resource_dbsd3"] +script = ExtResource("8_dm3kc") +_id = "218" + [node name="Volcano" type="Node2D" groups=["metro_zones"]] script = ExtResource("1_5sa6m") +[node name="PlayerSpawner" type="Node" parent="."] +script = ExtResource("2_gnqsl") + +[node name="Camera2D" type="Camera2D" parent="."] + +[node name="PhantomCameraHost" type="Node" parent="Camera2D"] +process_priority = 300 +process_physics_priority = 300 +script = ExtResource("3_ihma0") + +[node name="DinoHUD" parent="." instance=ExtResource("4_856sa")] + [node name="ParallaxBackground" type="ParallaxBackground" parent="."] scroll_limit_begin = Vector2(-200, -1280) scroll_limit_end = Vector2(100, 100) @@ -61,6 +81,7 @@ layer_0/tile_data = PackedInt32Array(458759, 196609, 4, 393223, 196609, 3, 32768 layer_0/tile_data = PackedInt32Array(327682, 131073, 4, 262146, 131073, 3, 196610, 393217, 4, 131074, 196609, 2, 327681, 131073, 4, 262145, 131073, 3, 196609, 131073, 3, 131073, 131073, 2, 327680, 131073, 4, 262144, 131073, 3, 196608, 131073, 3, 131072, 131073, 2, 393215, 131073, 4, 327679, 131073, 3, 262143, 131073, 3, 196607, 131073, 2, 393214, 131073, 4, 327678, 131073, 3, 262142, 131073, 3, 196606, 131073, 2, 393213, 131073, 4, 327677, 131073, 3, 262141, 458753, 4, 196605, 65537, 2, 196612, 196609, 2, 196611, 131073, 2, 262140, 131073, 2, 262139, 65537, 2, 327685, 196609, 4, 262149, 196609, 2, 327684, 131073, 4, 262148, 393217, 4, 327683, 131073, 4, 262147, 131073, 3, 393212, 131073, 4, 327676, 131073, 3, 393211, 131073, 4, 327675, 458753, 4, 393210, 65537, 4, 327674, 65537, 2, -262144, 196609, 4, -196609, 65537, 4, -327679, 196609, 4, -327680, 393217, 3, -262145, 458753, 3, -262146, 65537, 4, -393213, 196609, 5, -393214, 131073, 5, -393215, 393217, 2, -393216, 131073, 2, -327681, 131073, 2, -327682, 458753, 2, -327683, 131073, 5, -327684, 65537, 5) [node name="ToLandingSite" parent="ToLandingSite" instance=ExtResource("7_yfbgo")] +destination_travel_point = SubResource("Resource_dbsd3") [node name="DoubleJumpCoinRoom" type="Node2D" parent="." groups=["metro_rooms"]] position = Vector2(384, -192)