progress
This commit is contained in:
8
scenes/kq4_010_forest_path/flowers_polygon_0.tres
Normal file
8
scenes/kq4_010_forest_path/flowers_polygon_0.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://j7p1x0q2ewrs"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(50, 182, 45, 107, 227, 51, 210, 125, 291, 159)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -19,3 +19,21 @@ func _on_graveyard_interacted() -> void:
|
||||
|
||||
func _on_shady_wooded_area_interacted() -> void:
|
||||
$kq4_009_shady_wooded_area.default_script(self)
|
||||
|
||||
|
||||
func _on_flowers_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "There aren't many flowers to pick!")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_pine_trees_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "Mostly, you see pine trees.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "You are on a forest path.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
[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://2l2s6dgizs125" path="res://scenes/kq4_010_forest_path/flowers_polygon_0.tres" id="5_flowers"]
|
||||
[ext_resource type="Resource" uid="uid://3fuj0q7ii26p9" path="res://scenes/kq4_010_forest_path/trees_polygon_0.tres" id="6_trees"]
|
||||
|
||||
[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)])
|
||||
@@ -102,7 +106,27 @@ position = Vector2(350, 500)
|
||||
[node name="exit" parent="kq4_009_shady_wooded_area" index="1"]
|
||||
position = Vector2(100, 480)
|
||||
|
||||
[connection signal="interacted" from="kq4_003_fountain_pool" to="." method="_on_fountain_pool_interacted"]
|
||||
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="5_setpiece"]
|
||||
[ext_resource type="Resource" uid="uid://2l2s6dgizs125" path="res://scenes/kq4_010_forest_path/flowers_polygon_0.tres" id="5_flowers"]
|
||||
|
||||
[node name="flowers" type="Polygon2D" parent="." unique_id=123456781]
|
||||
scale = Vector2(6, 6)
|
||||
color = Color(0.7, 0.7, 0.7, 0.25)
|
||||
polygon = PackedVector2Array(168, 1047, 176, 1049, 180, 1070, 172, 1072)
|
||||
script = ExtResource("5_setpiece")
|
||||
label = "Flowers"
|
||||
points_resource = ExtResource("5_flowers")
|
||||
|
||||
[node name="pine_trees" type="Polygon2D" parent="." unique_id=123456782]
|
||||
scale = Vector2(6, 6)
|
||||
color = Color(0.7, 0.7, 0.7, 0.25)
|
||||
polygon = PackedVector2Array(317, 13, 319, 186, 249, 181, 292, 158, 211, 123, 240, 32, 269, 22, 261, 0)
|
||||
script = ExtResource("5_setpiece")
|
||||
label = "Pine Trees"
|
||||
points_resource = ExtResource("6_trees")
|
||||
|
||||
[connection signal="looked" from="flowers" to="." method="_on_flowers_looked"]
|
||||
[connection signal="looked" from="pine_trees" to="." method="_on_pine_trees_looked"]
|
||||
[connection signal="interacted" from="kq4_004_ogres_cottage" to="." method="_on_ogres_cottage_interacted"]
|
||||
[connection signal="interacted" from="kq4_011_enchanted_grove" to="." method="_on_enchanted_grove_interacted"]
|
||||
[connection signal="interacted" from="kq4_016_graveyard" to="." method="_on_graveyard_interacted"]
|
||||
|
||||
8
scenes/kq4_010_forest_path/trees_polygon_0.tres
Normal file
8
scenes/kq4_010_forest_path/trees_polygon_0.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bd0gvdrqkn2fw"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(317, 13, 319, 186, 249, 181, 292, 158, 211, 123, 240, 32, 269, 22, 261, 0)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_010_forest_path/trees_polygon_1.tres
Normal file
8
scenes/kq4_010_forest_path/trees_polygon_1.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://1s0awyi3edep"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(192, 72, 146, 71, 157, 104, 65, 102, 78, 87, 61, 85, 104, 27, 177, 23)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_010_forest_path/trees_polygon_2.tres
Normal file
8
scenes/kq4_010_forest_path/trees_polygon_2.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://br7t7b0n224x5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(63, 33, 57, 33, 63, 42, 58, 47, 69, 52, 46, 63, 45, 17, 52, 11)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_010_forest_path/trees_polygon_3.tres
Normal file
8
scenes/kq4_010_forest_path/trees_polygon_3.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bhv017038xnsg"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(85, 174, 54, 171, 51, 183, 113, 180, 108, 189, 50, 189, 49, 170)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_010_forest_path/trees_polygon_4.tres
Normal file
8
scenes/kq4_010_forest_path/trees_polygon_4.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://ksm88tr7v4kr"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(3, 50, 3, 67, 1, 85, 2, 102, 0, 120, 1, 127, 0, 127, 0, 47)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
Reference in New Issue
Block a user