wiring up

This commit is contained in:
2026-05-06 23:25:39 -04:00
parent cc051a1e15
commit 586dc8860c
17 changed files with 226 additions and 196 deletions

View File

@@ -1,9 +1,9 @@
extends Scene
func _on_room_looked() -> void:
pass
pass
func _on_kq4_079_mountain_path_to_dark_castle_interacted() -> void:
var target_scene = load("res://scenes/kq4_079_mountain_path_to_dark_castle/kq4_079_mountain_path_to_dark_castle.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
var target_scene = load("res://scenes/kq4_079_mountain_path_to_dark_castle/kq4_079_mountain_path_to_dark_castle.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)

View File

@@ -1,7 +1,7 @@
[gd_scene format=3 uid="uid://2el0d6jeg0kxx"]
[gd_scene format=3 uid="uid://cqv8r3milgnl"]
[ext_resource type="Script" path="res://scenes/kq4_080_lolottes_castle_entrance/kq4_080_lolottes_castle_entrance.gd" id="1_script"]
[ext_resource type="Texture2D" path="res://scenes/kq4_080_lolottes_castle_entrance/080_caption_1_525061510_generated.png" id="2_texture"]
[ext_resource type="Script" uid="uid://444ovy0dq5cg" path="res://scenes/kq4_080_lolottes_castle_entrance/kq4_080_lolottes_castle_entrance.gd" id="1_script"]
[ext_resource type="Texture2D" uid="uid://6olga2oi5v6v" path="res://scenes/kq4_080_lolottes_castle_entrance/080_caption_1_525061510_generated.png" id="2_texture"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_scale"]
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_transition"]
@@ -10,33 +10,33 @@ vertices = PackedVector2Array(100, 800, 1800, 800, 1800, 1200, 100, 1200)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
outlines = Array[PackedVector2Array]([PackedVector2Array(100, 800, 1800, 800, 1800, 1200, 100, 1200)])
[node name="background" type="Node2D"]
[node name="background" type="Node2D" unique_id=1013837568]
y_sort_enabled = true
script = ExtResource("1_script")
[node name="bg" type="Sprite2D" parent="."]
[node name="bg" type="Sprite2D" parent="." unique_id=1062846538]
scale = Vector2(0.78, 0.78)
texture = ExtResource("2_texture")
centered = false
[node name="StartScalePoint" type="Node2D" parent="."]
[node name="StartScalePoint" type="Node2D" parent="." unique_id=1453420889]
position = Vector2(200, 900)
script = ExtResource("3_scale")
target_scale = 0.3
[node name="EndScalePoint" type="Node2D" parent="."]
[node name="EndScalePoint" type="Node2D" parent="." unique_id=621446843]
position = Vector2(1800, 1100)
script = ExtResource("3_scale")
target_scale = 0.4
[node name="pathfind" type="NavigationRegion2D" parent="."]
[node name="pathfind" type="NavigationRegion2D" parent="." unique_id=1022843302]
navigation_polygon = SubResource("NavigationPolygon_main")
[node name="default-starting-point" type="Node2D" parent="."]
[node name="default-starting-point" type="Node2D" parent="." unique_id=1069396593]
position = Vector2(200, 900)
[node name="kq4_079_mountain_path_to_dark_castle" parent="." instance=ExtResource("4_transition")]
position = Vector2(50, 600)
[node name="kq4_079_mountain_path_to_dark_castle" parent="." unique_id=913838881 instance=ExtResource("4_transition")]
position = Vector2(1286, 475)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_080_lolottes_castle_entrance"
target = "uid://1q1az2h3p2ebd"
@@ -48,5 +48,11 @@ position = Vector2(133, 643)
[node name="exit" parent="kq4_079_mountain_path_to_dark_castle" index="1"]
position = Vector2(174, 519)
[node name="kq4_092_lolottes_throne_room" parent="." unique_id=1868572786 instance=ExtResource("4_transition")]
polygon = PackedVector2Array(1502, 294, 1842, 293, 1792, 741, 1487, 708, 1502, 276)
target = "uid://2s90vzllxmev"
[connection signal="interacted" from="kq4_079_mountain_path_to_dark_castle" to="." method="_on_kq4_079_mountain_path_to_dark_castle_interacted"]
[editable path="kq4_079_mountain_path_to_dark_castle"]
[editable path="kq4_079_mountain_path_to_dark_castle"]
[editable path="kq4_092_lolottes_throne_room"]