progress
This commit is contained in:
8
scenes/kq4_021_bridge_over_stream/bridge_polygon_0.tres
Normal file
8
scenes/kq4_021_bridge_over_stream/bridge_polygon_0.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://ro84qhodvetr"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(1013, 512, 830, 707, 2080, 731, 2209, 917, 2054, 1115, 2495, 1224, 2495, 1391, 1319, 1147, 485, 687)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_021_bridge_over_stream/bridge_polygon_1.tres
Normal file
8
scenes/kq4_021_bridge_over_stream/bridge_polygon_1.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bpmuikjuqsbdu"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(639, 231, 626, 136, 655, 132, 654, 150, 672, 144, 677, 161, 734, 156)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_021_bridge_over_stream/bridge_polygon_2.tres
Normal file
8
scenes/kq4_021_bridge_over_stream/bridge_polygon_2.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://gyim4m1fo142"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(585, 117, 564, 132, 611, 129, 603, 155, 621, 144, 603, 200, 539, 164, 570, 157, 548, 110)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_021_bridge_over_stream/bridge_polygon_3.tres
Normal file
8
scenes/kq4_021_bridge_over_stream/bridge_polygon_3.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://ow4u38mkdj0y"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(579, 32, 608, 37, 611, 64, 566, 77, 575, 96, 545, 63, 600, 0)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_021_bridge_over_stream/bridge_polygon_4.tres
Normal file
8
scenes/kq4_021_bridge_over_stream/bridge_polygon_4.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://hsltrjiyxnu0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(700, 14, 738, 31, 719, 46, 696, 35, 672, 44, 668, 30, 652, 25)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_021_bridge_over_stream/bridge_polygon_5.tres
Normal file
8
scenes/kq4_021_bridge_over_stream/bridge_polygon_5.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://2wa2u3h7uftv"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(737, 12, 755, 22, 745, 24, 754, 31, 761, 30, 760, 18, 761, 31, 730, 28, 728, 22)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -15,3 +15,15 @@ func _on_meadow_interacted() -> void:
|
||||
|
||||
func _on_forest_path_interacted() -> void:
|
||||
$kq4_027_forest_path.default_script(self)
|
||||
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "A gentle stream meanders its way through the trees. A rustic stone bridge crosses its path.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_bridge_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "A sturdy wooden bridge spans the stream. It looks like it could support your weight.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
[ext_resource type="Texture2D" uid="uid://buugeband0nb2" path="res://scenes/kq4_021_bridge_over_stream/caption_2_2180550861_generated.png" id="2_4tolx"]
|
||||
[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://ro84qhodvetr" path="res://scenes/kq4_021_bridge_over_stream/bridge_polygon_0.tres" id="5_bridge"]
|
||||
[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)
|
||||
@@ -94,6 +96,16 @@ position = Vector2(300, 554)
|
||||
[connection signal="interacted" from="kq4_027_forest_path" to="." method="_on_forest_path_interacted"]
|
||||
[connection signal="interacted" from="kq4_020_meadow" to="." method="_on_meadow_interacted"]
|
||||
|
||||
[node name="bridge" type="Polygon2D" parent="." groups=["set-piece"]]
|
||||
scale = Vector2(0.78, 0.78)
|
||||
color = Color(0.5, 0.5, 0.5, 0.25)
|
||||
polygon = PackedVector2Array(1013, 512, 830, 707, 2080, 731, 2209, 917, 2054, 1115, 2495, 1224, 2495, 1391, 1319, 1147, 485, 687)
|
||||
script = ExtResource("6_setpiece")
|
||||
label = "Bridge"
|
||||
points_resource = ExtResource("5_bridge")
|
||||
|
||||
[connection signal="looked" from="bridge" to="." method="_on_bridge_looked"]
|
||||
|
||||
[editable path="kq4_015_frog_pond"]
|
||||
[editable path="kq4_022_gnomes_cottage"]
|
||||
[editable path="kq4_027_forest_path"]
|
||||
|
||||
Reference in New Issue
Block a user