interior
This commit is contained in:
@@ -4,6 +4,4 @@ func _on_room_looked() -> void:
|
||||
pass
|
||||
|
||||
func _on_kq4_068_the_foyer_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_068_the_foyer/kq4_068_the_foyer.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
$kq4_068_the_foyer.default_script(self)
|
||||
|
||||
@@ -4,11 +4,7 @@ func _on_room_looked() -> void:
|
||||
pass
|
||||
|
||||
func _on_kq4_068_the_foyer_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_068_the_foyer/kq4_068_the_foyer.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
$kq4_068_the_foyer.default_script(self)
|
||||
|
||||
func _on_kq4_059_baby_nursery_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_059_baby_nursery/kq4_059_baby_nursery.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
$kq4_059_baby_nursery.default_script(self)
|
||||
|
||||
@@ -4,11 +4,7 @@ func _on_room_looked() -> void:
|
||||
pass
|
||||
|
||||
func _on_kq4_068_the_foyer_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_068_the_foyer/kq4_068_the_foyer.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
$kq4_068_the_foyer.default_script(self)
|
||||
|
||||
func _on_kq4_065_old_kitchen_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_065_old_kitchen/kq4_065_old_kitchen.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
$kq4_065_old_kitchen.default_script(self)
|
||||
|
||||
@@ -1,67 +1,68 @@
|
||||
[gd_scene format=3 uid="uid://2y0sti59qypsl"]
|
||||
[gd_scene format=3 uid="uid://w5po4qisklh8"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/kq4_064_old_dining_room/kq4_064_old_dining_room.gd" id="1_script"]
|
||||
[ext_resource type="Texture2D" path="res://scenes/kq4_064_old_dining_room/064_caption_1_919373381_generated.png" id="2_texture"]
|
||||
[ext_resource type="Script" uid="uid://d3kmlrjnbpkdt" path="res://scenes/kq4_064_old_dining_room/kq4_064_old_dining_room.gd" id="1_script"]
|
||||
[ext_resource type="Texture2D" uid="uid://dsa2v7xlntaju" path="res://scenes/kq4_064_old_dining_room/064_caption_1_919373381_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"]
|
||||
|
||||
[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)])
|
||||
vertices = PackedVector2Array(394.03906, 779.27344, 191.99219, 743.5078, 323.28906, 711.96875, 454.60156, 764.6172, 1423.8125, 754.59375, 1258.7109, 673.97656, 1197.5781, 607.21094, 1316.4766, 625.5703, 1535.4063, 759.09375, 401.29688, 970.5469, 251.47656, 911.8828, 397.29688, 791.6406, 494.85938, 875.6328, 525.65625, 1008.0469, 1610.6172, 904.5625, 1464.8125, 927.7031, 1253.7031, 685.8203, 962.8828, 777.9922, 1735.9375, 1055.1328)
|
||||
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(4, 5, 6, 7, 8), PackedInt32Array(9, 10, 11, 3, 12, 13), PackedInt32Array(8, 14, 15, 4), PackedInt32Array(16, 5, 4), PackedInt32Array(2, 16, 4, 17, 3), PackedInt32Array(11, 0, 3), PackedInt32Array(13, 12, 15, 18), PackedInt32Array(18, 15, 14)])
|
||||
outlines = Array[PackedVector2Array]([PackedVector2Array(322, 702, 1247, 676, 1171, 593, 1320, 616, 1543, 752, 1619, 899, 1758, 1066, 524, 1018, 398, 980, 232, 915, 386, 788, 143, 745), PackedVector2Array(963, 788, 469, 775, 502, 866, 1452, 917, 1416, 765)])
|
||||
|
||||
[node name="background" type="Node2D"]
|
||||
[node name="background" type="Node2D" unique_id=25704140]
|
||||
y_sort_enabled = true
|
||||
script = ExtResource("1_script")
|
||||
|
||||
[node name="bg" type="Sprite2D" parent="."]
|
||||
[node name="bg" type="Sprite2D" parent="." unique_id=139422996]
|
||||
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=729538493]
|
||||
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=387993488]
|
||||
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=2071550797]
|
||||
navigation_polygon = SubResource("NavigationPolygon_main")
|
||||
|
||||
[node name="default-starting-point" type="Node2D" parent="."]
|
||||
[node name="default-starting-point" type="Node2D" parent="." unique_id=1702792888]
|
||||
position = Vector2(200, 900)
|
||||
|
||||
[node name="kq4_068_the_foyer" parent="." instance=ExtResource("4_transition")]
|
||||
position = Vector2(910, 200)
|
||||
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
||||
[node name="kq4_068_the_foyer" parent="." unique_id=1994564203 instance=ExtResource("4_transition")]
|
||||
position = Vector2(351, -41)
|
||||
polygon = PackedVector2Array(-108, 454, -102, 844, 78, 811, 108, 429)
|
||||
appear_at_node = "kq4_064_old_dining_room"
|
||||
target = "uid://3hb2kqpkpvmnj"
|
||||
label = "068 The Foyer"
|
||||
|
||||
[node name="entrance" parent="kq4_068_the_foyer" index="0"]
|
||||
position = Vector2(133, 643)
|
||||
position = Vector2(168, 787)
|
||||
|
||||
[node name="exit" parent="kq4_068_the_foyer" index="1"]
|
||||
position = Vector2(174, 519)
|
||||
position = Vector2(-97, 787)
|
||||
|
||||
[node name="kq4_065_old_kitchen" parent="." instance=ExtResource("4_transition")]
|
||||
position = Vector2(910, 1400)
|
||||
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
||||
[node name="kq4_065_old_kitchen" parent="." unique_id=757373723 instance=ExtResource("4_transition")]
|
||||
position = Vector2(1217, -17)
|
||||
polygon = PackedVector2Array(-49, 358, -18, 700, 179, 703, 181, 351)
|
||||
appear_at_node = "kq4_064_old_dining_room"
|
||||
target = "uid://3am8ohkla4wr9"
|
||||
label = "065 Old Kitchen"
|
||||
|
||||
[node name="entrance" parent="kq4_065_old_kitchen" index="0"]
|
||||
position = Vector2(133, 643)
|
||||
position = Vector2(139, 711)
|
||||
|
||||
[node name="exit" parent="kq4_065_old_kitchen" index="1"]
|
||||
position = Vector2(174, 519)
|
||||
position = Vector2(50, 651)
|
||||
|
||||
[connection signal="interacted" from="kq4_068_the_foyer" to="." method="_on_kq4_068_the_foyer_interacted"]
|
||||
[connection signal="interacted" from="kq4_065_old_kitchen" to="." method="_on_kq4_065_old_kitchen_interacted"]
|
||||
|
||||
[editable path="kq4_068_the_foyer"]
|
||||
[editable path="kq4_065_old_kitchen"]
|
||||
[editable path="kq4_065_old_kitchen"]
|
||||
|
||||
@@ -4,6 +4,4 @@ func _on_room_looked() -> void:
|
||||
pass
|
||||
|
||||
func _on_kq4_064_old_dining_room_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_064_old_dining_room/kq4_064_old_dining_room.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
$kq4_064_old_dining_room.default_script(self)
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
[gd_scene format=3 uid="uid://3am8ohkla4wr9"]
|
||||
[gd_scene format=3 uid="uid://7r5j24tcpshw"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/kq4_065_old_kitchen/kq4_065_old_kitchen.gd" id="1_script"]
|
||||
[ext_resource type="Texture2D" path="res://scenes/kq4_065_old_kitchen/065_caption_1_2159121701_generated.png" id="2_texture"]
|
||||
[ext_resource type="Script" uid="uid://b01ual16pdhxk" path="res://scenes/kq4_065_old_kitchen/kq4_065_old_kitchen.gd" id="1_script"]
|
||||
[ext_resource type="Texture2D" uid="uid://c4yueuqpa1knm" path="res://scenes/kq4_065_old_kitchen/065_caption_1_2159121701_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"]
|
||||
|
||||
[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)])
|
||||
vertices = PackedVector2Array(742.84375, 927.2578, 1121.5781, 916.5625, 1516.6563, 945.1875, 1611.8906, 1060.2188, 1269.5938, 1212.6797, 416.5078, 1085.8906, 466.6875, 945.3672, 697.9375, 704.3281, 728.0625, 754.4531, 1533.0938, 769.1797, 1052.4766, 770.2969)
|
||||
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3, 4, 5, 6), PackedInt32Array(0, 6, 7, 8), PackedInt32Array(8, 7, 9, 10), PackedInt32Array(1, 10, 9, 2)])
|
||||
outlines = Array[PackedVector2Array]([PackedVector2Array(694, 694, 1544, 760, 1527, 942, 1628, 1064, 1271, 1223, 403, 1094, 458, 940), PackedVector2Array(1046, 780, 739, 765, 752, 917, 1106, 907)])
|
||||
|
||||
[node name="background" type="Node2D"]
|
||||
[node name="background" type="Node2D" unique_id=611574044]
|
||||
y_sort_enabled = true
|
||||
script = ExtResource("1_script")
|
||||
|
||||
[node name="bg" type="Sprite2D" parent="."]
|
||||
[node name="bg" type="Sprite2D" parent="." unique_id=332374136]
|
||||
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=519274724]
|
||||
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=1921721524]
|
||||
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=1369379808]
|
||||
navigation_polygon = SubResource("NavigationPolygon_main")
|
||||
|
||||
[node name="default-starting-point" type="Node2D" parent="."]
|
||||
[node name="default-starting-point" type="Node2D" parent="." unique_id=440136281]
|
||||
position = Vector2(200, 900)
|
||||
|
||||
[node name="kq4_064_old_dining_room" parent="." instance=ExtResource("4_transition")]
|
||||
position = Vector2(50, 600)
|
||||
[node name="kq4_064_old_dining_room" parent="." unique_id=728390668 instance=ExtResource("4_transition")]
|
||||
position = Vector2(1103, 522)
|
||||
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
||||
appear_at_node = "kq4_065_old_kitchen"
|
||||
target = "uid://2y0sti59qypsl"
|
||||
@@ -49,4 +49,5 @@ position = Vector2(133, 643)
|
||||
position = Vector2(174, 519)
|
||||
|
||||
[connection signal="interacted" from="kq4_064_old_dining_room" to="." method="_on_kq4_064_old_dining_room_interacted"]
|
||||
[editable path="kq4_064_old_dining_room"]
|
||||
|
||||
[editable path="kq4_064_old_dining_room"]
|
||||
|
||||
@@ -4,11 +4,7 @@ func _on_room_looked() -> void:
|
||||
pass
|
||||
|
||||
func _on_kq4_068_the_foyer_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_068_the_foyer/kq4_068_the_foyer.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
$kq4_068_the_foyer.default_script(self)
|
||||
|
||||
func _on_kq4_066_secret_tower_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_066_secret_tower/kq4_066_secret_tower.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
$kq4_066_secret_tower.default_script(self)
|
||||
|
||||
@@ -4,29 +4,16 @@ func _on_room_looked() -> void:
|
||||
pass
|
||||
|
||||
func _on_kq4_017_spooky_house_exterior_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_017_spooky_house_exterior/kq4_017_spooky_house_exterior.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
$kq4_017_spooky_house_exterior.default_script(self)
|
||||
|
||||
func _on_kq4_067_the_parlor_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_067_the_parlor/kq4_067_the_parlor.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
$kq4_067_the_parlor.default_script(self)
|
||||
|
||||
func _on_kq4_060_bedroom_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_060_bedroom/kq4_060_bedroom.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
$kq4_060_bedroom.default_script(self)
|
||||
|
||||
func _on_kq4_062_bedroom_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_062_bedroom/kq4_062_bedroom.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
$kq4_062_bedroom.default_script(self)
|
||||
|
||||
func _on_kq4_064_old_dining_room_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_064_old_dining_room/kq4_064_old_dining_room.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
|
||||
func _on_foyer_exit_interacted() -> void:
|
||||
$foyer_exit.default_script(self)
|
||||
$kq4_064_old_dining_room.default_script(self)
|
||||
|
||||
Reference in New Issue
Block a user