This commit is contained in:
2026-03-05 22:47:43 -08:00
parent a2eb4de815
commit 8cfae8dea2
285 changed files with 2814 additions and 11 deletions

View File

@@ -11,3 +11,15 @@ func _on_island_beach_east_interacted() -> void:
func _on_island_garden_interacted() -> void:
$kq4_038_island_garden.default_script(self)
func _on_room_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "The beautiful blue ocean washes gently upon the shore of the magical island. Dominating the center of this island is a splendid ivory palace.")
).build(self, "_on_script_complete"))
func _on_shore_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "The gentle waves of the blue ocean lap against the sandy shore of this magical island.")
).build(self, "_on_script_complete"))

View File

@@ -4,6 +4,8 @@
[ext_resource type="Texture2D" uid="uid://imapwruj8gg5" path="res://scenes/kq4_041_island_shore/pic_041_visual.png" id="2_visual"]
[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"]
[ext_resource type="Resource" uid="uid://14m5g0m6y6ap3" path="res://scenes/kq4_041_island_shore/shore_0.tres" id="5_shore"]
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"]
[sub_resource type="NavigationPolygon" id="NavigationPolygon_room41"]
vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781)
@@ -79,6 +81,16 @@ position = Vector2(293, 554)
[connection signal="interacted" from="kq4_040_island_beach_east" to="." method="_on_island_beach_east_interacted"]
[connection signal="interacted" from="kq4_038_island_garden" to="." method="_on_island_garden_interacted"]
[node name="shore" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(6, 6)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(0, 96, 37, 98, 0, 69, 55, 86, 34, 97, 100, 79, 208, 103, 99, 130, 163, 159, 0, 179)
script = ExtResource("6_setpiece")
label = "Island Shore"
points_resource = ExtResource("5_shore")
[connection signal="looked" from="shore" to="." method="_on_shore_looked"]
[editable path="kq4_035_island_beach"]
[editable path="kq4_040_island_beach_east"]
[editable path="kq4_038_island_garden"]

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dw6wwn4olx06i"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(0, 96, 37, 98, 0, 69, 55, 86, 34, 97, 100, 79, 208, 103, 99, 130, 163, 159, 0, 179)
metadata/_custom_type_script = "uid://dtemboas3bi8y"

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://iw2plym4oaew"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(8, 14, 11, 17, 15, 14, 21, 17, 23, 15, 28, 20, 33, 18, 40, 23, 0, 24, 0, 12)
metadata/_custom_type_script = "uid://dtemboas3bi8y"