- Added kq4_032_ocean_near_island scene with west, east, and south exits to room 031 - Updated room 031 to add north exit to room 032 (bidirectional connection) - Room 032 north exit to room 040 omitted (room 040 doesn't exist yet) - Note: Room 032 has 3 exits to room 031 (west, east, south) with unique node names since Godot doesn't allow duplicate node names. All three call the same handler.
151 lines
6.3 KiB
Plaintext
151 lines
6.3 KiB
Plaintext
[gd_scene format=3 uid="uid://2f7c49hpkducc"]
|
|
|
|
[ext_resource type="Script" uid="uid://1hjbz7zjl0ody" path="res://scenes/kq4_031_open_ocean/kq4_031_open_ocean.gd" id="1_abc"]
|
|
[ext_resource type="Texture2D" uid="uid://33ffq67ojobi7" path="res://scenes/kq4_031_open_ocean/pic_031_visual.png" id="2_abc"]
|
|
[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://26m7oh4jqrev0" path="res://scenes/kq4_031_open_ocean/ocean_polygon_0.tres" id="5_ocean"]
|
|
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_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)
|
|
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(3, 4, 5, 6, 7, 0), PackedInt32Array(3, 2, 8)])
|
|
outlines = Array[PackedVector2Array]([PackedVector2Array(-39, 206, 1223, 217, 2004, 461, 2022, 1331, 1052, 1430, 365, 1253, -152, 1191, -86, 587)])
|
|
|
|
[node name="background" type="Node2D" unique_id=657573819]
|
|
y_sort_enabled = true
|
|
script = ExtResource("1_abc")
|
|
|
|
[node name="bg" type="Sprite2D" parent="." unique_id=874052749]
|
|
scale = Vector2(6, 6)
|
|
texture = ExtResource("2_abc")
|
|
centered = false
|
|
|
|
[node name="StartScalePoint" type="Node2D" parent="." unique_id=1640687858]
|
|
position = Vector2(1476, 742)
|
|
script = ExtResource("3_abc")
|
|
target_scale = 0.25
|
|
|
|
[node name="EndScalePoint" type="Node2D" parent="." unique_id=1996763530]
|
|
position = Vector2(1408, 1097)
|
|
scale = Vector2(0.44, 0.44)
|
|
script = ExtResource("3_abc")
|
|
target_scale = 0.35
|
|
|
|
[node name="pathfind" type="NavigationRegion2D" parent="." unique_id=1418661203]
|
|
position = Vector2(-1, 0)
|
|
navigation_polygon = SubResource("NavigationPolygon_ppo6b")
|
|
|
|
[node name="default-starting-point" type="Node2D" parent="." unique_id=1018141532]
|
|
position = Vector2(194, 819)
|
|
|
|
[node name="kq4_001_beach" parent="." unique_id=484638394 instance=ExtResource("4_abc")]
|
|
position = Vector2(910, -213)
|
|
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
|
appear_at_node = "kq4_031_open_ocean"
|
|
target = "uid://1rwfkejhz94hp"
|
|
label = "Beach"
|
|
|
|
[node name="entrance" parent="kq4_001_beach" index="0"]
|
|
position = Vector2(133, 643)
|
|
|
|
[node name="exit" parent="kq4_001_beach" index="1"]
|
|
position = Vector2(174, 519)
|
|
|
|
[node name="kq4_025_beach_at_river_delta" parent="." unique_id=1916756563 instance=ExtResource("4_abc")]
|
|
position = Vector2(1766, 74)
|
|
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
|
appear_at_node = "kq4_031_open_ocean"
|
|
target = "uid://3vcewxyhbqica"
|
|
label = "Beach at River Delta"
|
|
|
|
[node name="entrance" parent="kq4_025_beach_at_river_delta" index="0"]
|
|
position = Vector2(24, 565)
|
|
|
|
[node name="exit" parent="kq4_025_beach_at_river_delta" index="1"]
|
|
position = Vector2(293, 554)
|
|
|
|
[node name="kq4_019_coastal_cliffs" parent="." unique_id=1926756564 instance=ExtResource("4_abc")]
|
|
position = Vector2(100, 300)
|
|
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
|
appear_at_node = "kq4_031_open_ocean"
|
|
target = "uid://3eh8ys3v25m45"
|
|
label = "Coastal Cliffs"
|
|
|
|
[node name="entrance" parent="kq4_019_coastal_cliffs" index="0"]
|
|
position = Vector2(133, 643)
|
|
|
|
[node name="exit" parent="kq4_019_coastal_cliffs" index="1"]
|
|
position = Vector2(174, 519)
|
|
|
|
[node name="kq4_013_beach" parent="." unique_id=1936756565 instance=ExtResource("4_abc")]
|
|
position = Vector2(1500, 200)
|
|
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
|
appear_at_node = "kq4_031_open_ocean"
|
|
target = "uid://2bqawc9w4uu59"
|
|
label = "Beach"
|
|
|
|
[node name="entrance" parent="kq4_013_beach" index="0"]
|
|
position = Vector2(133, 643)
|
|
|
|
[node name="exit" parent="kq4_013_beach" index="1"]
|
|
position = Vector2(174, 519)
|
|
|
|
[node name="kq4_032_ocean_near_island" parent="." unique_id=1946756566 instance=ExtResource("4_abc")]
|
|
position = Vector2(910, -213)
|
|
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
|
appear_at_node = "kq4_031_open_ocean"
|
|
target = "uid://9czky5vxhrg8"
|
|
label = "Ocean Near Island"
|
|
|
|
[node name="entrance" parent="kq4_032_ocean_near_island" index="0"]
|
|
position = Vector2(133, 643)
|
|
|
|
[node name="exit" parent="kq4_032_ocean_near_island" index="1"]
|
|
position = Vector2(174, 519)
|
|
|
|
[node name="south_exit" parent="." unique_id=990092106 instance=ExtResource("4_abc")]
|
|
position = Vector2(910, 542)
|
|
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
|
label = "South Exit"
|
|
|
|
[node name="entrance" parent="south_exit" index="0"]
|
|
position = Vector2(118, 514)
|
|
|
|
[node name="exit" parent="south_exit" index="1"]
|
|
position = Vector2(151, 615)
|
|
|
|
[node name="west_exit" parent="." unique_id=1117747814 instance=ExtResource("4_abc")]
|
|
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
|
label = "West Exit"
|
|
|
|
[node name="entrance" parent="west_exit" index="0"]
|
|
position = Vector2(506, 555)
|
|
|
|
[node name="exit" parent="west_exit" index="1"]
|
|
position = Vector2(-64, 534)
|
|
|
|
[connection signal="interacted" from="kq4_001_beach" to="." method="_on_beach_interacted"]
|
|
[connection signal="interacted" from="kq4_025_beach_at_river_delta" to="." method="_on_beach_at_river_delta_interacted"]
|
|
[connection signal="interacted" from="kq4_019_coastal_cliffs" to="." method="_on_coastal_cliffs_interacted"]
|
|
[connection signal="interacted" from="kq4_013_beach" to="." method="_on_beach_13_interacted"]
|
|
[connection signal="interacted" from="kq4_032_ocean_near_island" to="." method="_on_ocean_near_island_interacted"]
|
|
|
|
[node name="ocean" type="Polygon2D" parent="." groups=["set-piece"]]
|
|
scale = Vector2(6, 6)
|
|
color = Color(0.5, 0.5, 0.5, 0.25)
|
|
polygon = PackedVector2Array(319, 55, 259, 131, 319, 128, 319, 189, 0, 189, 53, 140, 0, 109, 54, 109, 0, 55)
|
|
script = ExtResource("6_setpiece")
|
|
label = "Ocean"
|
|
points_resource = ExtResource("5_ocean")
|
|
|
|
[connection signal="looked" from="ocean" to="." method="_on_ocean_looked"]
|
|
|
|
[editable path="kq4_001_beach"]
|
|
[editable path="kq4_025_beach_at_river_delta"]
|
|
[editable path="kq4_019_coastal_cliffs"]
|
|
[editable path="kq4_013_beach"]
|
|
[editable path="kq4_032_ocean_near_island"]
|
|
[editable path="south_exit"]
|
|
[editable path="west_exit"]
|