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

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b0cj3l40o6i0l"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(297, 78, 264, 109, 141, 181, 106, 186, 99, 182, 68, 52, 160, 29, 186, 31, 284, 66)
metadata/_custom_type_script = "uid://dtemboas3bi8y"

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://qtlmxa8rwpqa"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(316, 187, 107, 187, 99, 182, 68, 52, 213, 47, 285, 56, 316, 128)
metadata/_custom_type_script = "uid://dtemboas3bi8y"

View File

@@ -15,3 +15,21 @@ func _on_green_meadow_interacted() -> void:
func _on_open_ocean_interacted() -> void:
$kq4_031_open_ocean.default_script(self)
func _on_dock_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "You see a shabby little house, with a pier, in the distance.")
).build(self, "_on_script_complete"))
func _on_cottage_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "You see a shabby little house, with a pier, in the distance.")
).build(self, "_on_script_complete"))
func _on_room_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "You stand on a beautiful beach.")
).build(self, "_on_script_complete"))

View File

@@ -4,6 +4,9 @@
[ext_resource type="Texture2D" uid="uid://dbi8vjqvdpc3g" path="res://scenes/kq4_013_beach/caption_2_3376356057_generated.png" id="2_6hbuw"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_abc"]
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_abc"]
[ext_resource type="Resource" uid="uid://qtlmw98rwpqa" path="res://scenes/kq4_013_beach/dock_polygon.tres" id="5_dock"]
[ext_resource type="Resource" uid="uid://316m70krnlnbx" path="res://scenes/kq4_013_beach/cottage_polygon.tres" id="6_cottage"]
[ext_resource type="Script" uid="uid://cxm4y5s6pwpm8" path="res://SetPiece_.gd" id="8_setpiece"]
[sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"]
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)
@@ -88,10 +91,26 @@ position = Vector2(506, 555)
[node name="exit" parent="kq4_031_open_ocean" index="1"]
position = Vector2(-64, 534)
[node name="dock" type="Polygon2D" parent="." unique_id=123456789]
scale = Vector2(0.78, 0.78)
polygon = PackedVector2Array(0, 0, 100, 0, 100, 50, 0, 50)
script = ExtResource("8_setpiece")
label = "Dock"
polygon_resource = ExtResource("5_dock")
[node name="cottage" type="Polygon2D" parent="." unique_id=234567891]
scale = Vector2(0.78, 0.78)
polygon = PackedVector2Array(0, 0, 100, 0, 100, 50, 0, 50)
script = ExtResource("8_setpiece")
label = "Cottage"
polygon_resource = ExtResource("6_cottage")
[connection signal="interacted" from="kq4_007_fishermans_shack" to="." method="_on_fishermans_shack_interacted"]
[connection signal="interacted" from="kq4_014_green_meadow" to="." method="_on_green_meadow_interacted"]
[connection signal="interacted" from="kq4_019_coastal_cliffs" to="." method="_on_coastal_cliffs_interacted"]
[connection signal="interacted" from="kq4_031_open_ocean" to="." method="_on_open_ocean_interacted"]
[connection signal="looked" from="dock" to="." method="_on_dock_looked"]
[connection signal="looked" from="cottage" to="." method="_on_cottage_looked"]
[editable path="kq4_007_fishermans_shack"]
[editable path="kq4_014_green_meadow"]

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://8cpj5dv0jq81"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(317, 186, 96, 187, 0, 55, 1, 18, 46, 7, 291, 44, 317, 78)
metadata/_custom_type_script = "uid://dtemboas3bi8y"