This commit is contained in:
2026-04-04 20:52:51 -07:00
parent 095dea3773
commit 7088f5cac2
400 changed files with 408 additions and 15010 deletions

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://1w9w6a2a9f3fw"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(233, 14, 209, 133, 87, 161, 75, 153, 75, 135, 106, 17, 117, 0, 202, 0)
metadata/_custom_type_script = "uid://dtemboas3bi8y"

View File

@@ -4,12 +4,15 @@ class_name WaterfallCave
@onready var ego: Node2D = $"../ego"
func _ready() -> void:
pass
pass
func _on_room_looked() -> void:
pass
pass
func _on_kq4_071_cave_entrance_interacted() -> void:
var target_scene = load("res://scenes/kq4_071_cave_entrance/kq4_071_cave_entrance.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
var target_scene = load("res://scenes/kq4_071_cave_entrance/kq4_071_cave_entrance.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
func _on_cave_exit_interacted() -> void:
$cave_exit.default_script(self)

View File

@@ -1,5 +1,6 @@
[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/pic_070_visual.png" id="2_texture"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_scale"]
@@ -35,6 +36,18 @@ 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)