[gd_scene format=3 uid="uid://jghg5u2ci9yo"] [ext_resource type="Resource" uid="uid://1w9w6a2a9f3fw" path="res://scenes/kq4_070_waterfall_cave/cave_exit_polygon.tres" id="7_cave_exit"] [ext_resource type="Script" path="res://scenes/kq4_070_waterfall_cave/kq4_070_waterfall_cave.gd" id="1_script"] [ext_resource type="Texture2D" path="res://scenes/kq4_070_waterfall_cave/070_caption_1_4044228144_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)]) [node name="background" type="Node2D"] y_sort_enabled = true script = ExtResource("1_script") [node name="bg" type="Sprite2D" parent="."] scale = Vector2(0.78, 0.78) 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="cave_exit" type="Polygon2D" parent="." groups=["set-piece"]] scale = Vector2(6, 6) color = Color(0.5, 0.5, 0.5, 0.25) polygon = PackedVector2Array(233, 14, 209, 133, 87, 161, 75, 153, 75, 135, 106, 17, 117, 0, 202, 0) script = ExtResource("4_transition") label = "Waterfall Entrance" points_resource = ExtResource("7_cave_exit") appear_at_node = "kq4_024_waterfall_and_pool" target = "uid://33baqytea2g56" [connection signal="interacted" from="cave_exit" to="." method="_on_cave_exit_interacted"] [node name="kq4_071_cave_entrance" parent="." instance=ExtResource("4_transition")] position = Vector2(910, 1400) polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381) appear_at_node = "kq4_070_waterfall_cave" target = "uid://1xrfrl4i0diqq" label = "071 Cave Entrance" [node name="entrance" parent="kq4_071_cave_entrance" index="0"] position = Vector2(133, 643) [node name="exit" parent="kq4_071_cave_entrance" index="1"] position = Vector2(174, 519) [connection signal="interacted" from="kq4_071_cave_entrance" to="." method="_on_kq4_071_cave_entrance_interacted"] [editable path="kq4_071_cave_entrance"]