progress
This commit is contained in:
8
scenes/kq4_009_shady_wooded_area/boulder_polygon.tres
Normal file
8
scenes/kq4_009_shady_wooded_area/boulder_polygon.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://rgq1r38cpy2p"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(883, 787, 918, 726, 1171, 591, 1429, 587, 1528, 624, 1734, 859, 1399, 981, 935, 887)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_009_shady_wooded_area/flowers_polygon.tres
Normal file
8
scenes/kq4_009_shady_wooded_area/flowers_polygon.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://va6hdfw87hsl"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(2254, 887, 2224, 1098, 2131, 1203, 1121, 1023, 886, 916, 813, 794, 1105, 340)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -15,3 +15,27 @@ func _on_frog_pond_interacted() -> void:
|
||||
|
||||
func _on_back_of_fishermans_shack_interacted() -> void:
|
||||
$kq4_008_back_of_fishermans_shack.default_script(self)
|
||||
|
||||
|
||||
func _on_boulder_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "A large rock dominates the clearing.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_pool_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "It's too far in the distance to see it clearly.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_flowers_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "There are flowers here and there.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "You are in a shady wooded area.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
[ext_resource type="Texture2D" uid="uid://bvhh6scahcu61" path="res://scenes/kq4_009_shady_wooded_area/caption_3_2676608714_generated.png" id="2_gws7f"]
|
||||
[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="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="5_setpiece"]
|
||||
[ext_resource type="Resource" uid="uid://2tbt56j0a44d2" path="res://scenes/kq4_009_shady_wooded_area/boulder_polygon.tres" id="6_boulder"]
|
||||
[ext_resource type="Resource" uid="uid://3dvjqnfbx0lqq" path="res://scenes/kq4_009_shady_wooded_area/pool_polygon.tres" id="7_pool"]
|
||||
[ext_resource type="Resource" uid="uid://2w49lquo7ml3x" path="res://scenes/kq4_009_shady_wooded_area/flowers_polygon.tres" id="8_flowers"]
|
||||
|
||||
[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)
|
||||
@@ -89,10 +93,34 @@ position = Vector2(133, 643)
|
||||
[node name="exit" parent="kq4_015_frog_pond" index="1"]
|
||||
position = Vector2(174, 519)
|
||||
|
||||
[node name="boulder" type="Polygon2D" parent="." unique_id=123456791]
|
||||
scale = Vector2(0.78, 0.78)
|
||||
color = Color(0.7, 0.7, 0.7, 0.25)
|
||||
script = ExtResource("5_setpiece")
|
||||
label = "Boulder"
|
||||
points_resource = ExtResource("6_boulder")
|
||||
|
||||
[node name="pool" type="Polygon2D" parent="." unique_id=123456792]
|
||||
scale = Vector2(0.78, 0.78)
|
||||
color = Color(0.7, 0.7, 0.7, 0.25)
|
||||
script = ExtResource("5_setpiece")
|
||||
label = "Pool"
|
||||
points_resource = ExtResource("7_pool")
|
||||
|
||||
[node name="flowers" type="Polygon2D" parent="." unique_id=123456793]
|
||||
scale = Vector2(0.78, 0.78)
|
||||
color = Color(0.7, 0.7, 0.7, 0.25)
|
||||
script = ExtResource("5_setpiece")
|
||||
label = "Flowers"
|
||||
points_resource = ExtResource("8_flowers")
|
||||
|
||||
[connection signal="interacted" from="kq4_003_fountain_pool" to="." method="_on_fountain_pool_interacted"]
|
||||
[connection signal="interacted" from="kq4_010_forest_path" to="." method="_on_forest_path_interacted"]
|
||||
[connection signal="interacted" from="kq4_008_back_of_fishermans_shack" to="." method="_on_back_of_fishermans_shack_interacted"]
|
||||
[connection signal="interacted" from="kq4_015_frog_pond" to="." method="_on_frog_pond_interacted"]
|
||||
[connection signal="looked" from="boulder" to="." method="_on_boulder_looked"]
|
||||
[connection signal="looked" from="pool" to="." method="_on_pool_looked"]
|
||||
[connection signal="looked" from="flowers" to="." method="_on_flowers_looked"]
|
||||
|
||||
[editable path="kq4_003_fountain_pool"]
|
||||
[editable path="kq4_010_forest_path"]
|
||||
|
||||
8
scenes/kq4_009_shady_wooded_area/pool_polygon.tres
Normal file
8
scenes/kq4_009_shady_wooded_area/pool_polygon.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bb1gl8yj0lhge"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(2010, 919, 1021, 1096, 807, 912, 921, 724, 1172, 591, 1259, 581, 1491, 604, 1964, 863)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
Reference in New Issue
Block a user