wiring up
This commit is contained in:
@@ -4,14 +4,12 @@
|
||||
[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"]
|
||||
[ext_resource type="Script" uid="uid://bounwnqg34t5k" 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)
|
||||
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)])
|
||||
vertices = PackedVector2Array(1048.75, 1418.8438, 399.21094, 1251.4922, 947.15625, 1057.3594, 1348.4688, 1099.2109, 2089.6016, 938, 2080.0781, 1176.6719, 1953.6016, 1133.1719, 1946.5234, 964.28906, 2019.1328, 938, 1419.9688, 891.03906, 1946.8594, 887.02344, 1545.1484, 983.40625, 1161.7578, 751.46875, 1245.3984, 654.03906, 2017.6094, 1316.2969, 1655.7031, 1083.8516, 1786.7813, 1076.4688, 968.3672, 886.64844, 1543.0078, 1000.03125, 1786.7813, 1076.4609)
|
||||
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(4, 5, 6, 7, 8), PackedInt32Array(9, 10, 8, 7, 11), PackedInt32Array(12, 13, 9, 3), PackedInt32Array(6, 5, 14, 15, 16), PackedInt32Array(3, 2, 17, 12), PackedInt32Array(3, 9, 11, 18), PackedInt32Array(15, 3, 18, 19, 16)])
|
||||
outlines = Array[PackedVector2Array]([PackedVector2Array(1155, 744, 1246, 638, 1425, 881, 1950, 877, 2079, 968, 1554, 993, 1790, 1067, 1943, 1119, 1935, 928, 2100, 928, 2090, 1179, 2022, 1331, 1653, 1094, 1353, 1109, 1052, 1430, 365, 1253, 938, 1050, 959, 881)])
|
||||
|
||||
[node name="background" type="Node2D" unique_id=657573819]
|
||||
y_sort_enabled = true
|
||||
@@ -34,14 +32,14 @@ script = ExtResource("3_abc")
|
||||
target_scale = 0.35
|
||||
|
||||
[node name="pathfind" type="NavigationRegion2D" parent="." unique_id=1418661203]
|
||||
position = Vector2(-1, 0)
|
||||
position = Vector2(-1, -107)
|
||||
navigation_polygon = SubResource("NavigationPolygon_ppo6b")
|
||||
|
||||
[node name="default-starting-point" type="Node2D" parent="." unique_id=1018141532]
|
||||
position = Vector2(194, 819)
|
||||
|
||||
[node name="kq4_007_fishermans_shack" parent="." unique_id=484638394 instance=ExtResource("4_abc")]
|
||||
position = Vector2(910, -213)
|
||||
position = Vector2(1180, 48)
|
||||
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
||||
appear_at_node = "kq4_013_beach"
|
||||
target = "uid://yj4t7thmkoct"
|
||||
@@ -54,14 +52,14 @@ position = Vector2(133, 643)
|
||||
position = Vector2(174, 519)
|
||||
|
||||
[node name="kq4_014_green_meadow" parent="." unique_id=1916756563 instance=ExtResource("4_abc")]
|
||||
position = Vector2(1766, 74)
|
||||
position = Vector2(1705, 327)
|
||||
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
||||
appear_at_node = "kq4_013_beach"
|
||||
target = "uid://tkeyuep0ivo6"
|
||||
label = "Green Meadow"
|
||||
|
||||
[node name="entrance" parent="kq4_014_green_meadow" index="0"]
|
||||
position = Vector2(24, 565)
|
||||
position = Vector2(-91, 519)
|
||||
|
||||
[node name="exit" parent="kq4_014_green_meadow" index="1"]
|
||||
position = Vector2(293, 554)
|
||||
@@ -93,17 +91,17 @@ position = Vector2(-64, 534)
|
||||
|
||||
[node name="dock" type="Polygon2D" parent="." unique_id=123456789]
|
||||
scale = Vector2(0.78, 0.78)
|
||||
color = Color(1, 1, 1, 0.25)
|
||||
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)
|
||||
color = Color(1, 1, 1, 0.25)
|
||||
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"]
|
||||
|
||||
Reference in New Issue
Block a user