Files
ai-game-2/scenes/kq4_068_the_foyer/kq4_068_the_foyer.tscn
Bryce 30915514a8 Create rooms 053-099 with transitions
- Created 45 new room scenes from specs
- Added proper .tscn and .gd files for each room
- Wired up transitions based on spec exit information
- Connected to existing rooms (017, 022, 028, 030, 031) where applicable
- Rooms include: dwarfs areas, caves, swamp, castle, and more
2026-03-10 14:01:24 -07:00

112 lines
4.4 KiB
Plaintext

[gd_scene format=3 uid="uid://3hb2kqpkpvmnj"]
[ext_resource type="Script" path="res://scenes/kq4_068_the_foyer/kq4_068_the_foyer.gd" id="1_script"]
[ext_resource type="Texture2D" path="res://scenes/kq4_068_the_foyer/pic_068_visual.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"]
[sub_resource type="NavigationPolygon" id="NavigationPolygon_main"]
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"]
y_sort_enabled = true
script = ExtResource("1_script")
[node name="bg" type="Sprite2D" parent="."]
scale = Vector2(6, 6)
texture = ExtResource("2_texture")
centered = false
[node name="StartScalePoint" type="Node2D" parent="."]
position = Vector2(200, 900)
script = ExtResource("3_scale")
target_scale = 0.3
[node name="EndScalePoint" type="Node2D" parent="."]
position = Vector2(1800, 1100)
script = ExtResource("3_scale")
target_scale = 0.4
[node name="pathfind" type="NavigationRegion2D" parent="."]
navigation_polygon = SubResource("NavigationPolygon_main")
[node name="default-starting-point" type="Node2D" parent="."]
position = Vector2(200, 900)
[node name="kq4_017_spooky_house_exterior" parent="." instance=ExtResource("4_transition")]
position = Vector2(910, 1400)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_068_the_foyer"
target = "uid://1kz9yo5f1tpc6"
label = "017 Spooky House Exterior"
[node name="entrance" parent="kq4_017_spooky_house_exterior" index="0"]
position = Vector2(133, 643)
[node name="exit" parent="kq4_017_spooky_house_exterior" index="1"]
position = Vector2(174, 519)
[node name="kq4_067_the_parlor" parent="." instance=ExtResource("4_transition")]
position = Vector2(1766, 600)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_068_the_foyer"
target = "uid://vg4ru6pcqsn0"
label = "067 The Parlor"
[node name="entrance" parent="kq4_067_the_parlor" index="0"]
position = Vector2(133, 643)
[node name="exit" parent="kq4_067_the_parlor" index="1"]
position = Vector2(174, 519)
[node name="kq4_060_bedroom" parent="." instance=ExtResource("4_transition")]
position = Vector2(910, 200)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_068_the_foyer"
target = "uid://abd2plmdre4f"
label = "060 Bedroom"
[node name="entrance" parent="kq4_060_bedroom" index="0"]
position = Vector2(133, 643)
[node name="exit" parent="kq4_060_bedroom" index="1"]
position = Vector2(174, 519)
[node name="kq4_062_bedroom" parent="." instance=ExtResource("4_transition")]
position = Vector2(50, 600)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_068_the_foyer"
target = "uid://368r91sorjxs0"
label = "062 Bedroom"
[node name="entrance" parent="kq4_062_bedroom" index="0"]
position = Vector2(133, 643)
[node name="exit" parent="kq4_062_bedroom" index="1"]
position = Vector2(174, 519)
[node name="kq4_064_old_dining_room" parent="." instance=ExtResource("4_transition")]
position = Vector2(50, 600)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_068_the_foyer"
target = "uid://2y0sti59qypsl"
label = "064 Old Dining Room"
[node name="entrance" parent="kq4_064_old_dining_room" index="0"]
position = Vector2(133, 643)
[node name="exit" parent="kq4_064_old_dining_room" index="1"]
position = Vector2(174, 519)
[connection signal="interacted" from="kq4_017_spooky_house_exterior" to="." method="_on_kq4_017_spooky_house_exterior_interacted"]
[connection signal="interacted" from="kq4_067_the_parlor" to="." method="_on_kq4_067_the_parlor_interacted"]
[connection signal="interacted" from="kq4_060_bedroom" to="." method="_on_kq4_060_bedroom_interacted"]
[connection signal="interacted" from="kq4_062_bedroom" to="." method="_on_kq4_062_bedroom_interacted"]
[connection signal="interacted" from="kq4_064_old_dining_room" to="." method="_on_kq4_064_old_dining_room_interacted"]
[editable path="kq4_017_spooky_house_exterior"]
[editable path="kq4_067_the_parlor"]
[editable path="kq4_060_bedroom"]
[editable path="kq4_062_bedroom"]
[editable path="kq4_064_old_dining_room"]