progress
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://yde5bwqb37od"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(319, 189, 203, 171, 290, 133, 266, 117, 162, 140, 124, 189, 32, 189, 140, 131, 319, 100)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://8v1ieoqw2p00"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(60, 11, 71, 13, 74, 0, 176, 0, 172, 5, 197, 10, 189, 18, 49, 19)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://g12dqjhrng0q"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(319, 30, 286, 55, 290, 31, 217, 31, 264, 15, 294, 28, 314, 10, 290, 8, 319, 0)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dl5syqukkf3pu"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(158, 179, 168, 182, 171, 177, 173, 182, 211, 180, 220, 186, 159, 189, 153, 185)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -7,3 +7,15 @@ func _on_island_garden_pond_interacted() -> void:
|
||||
|
||||
func _on_island_beach_interacted() -> void:
|
||||
$kq4_034_island_beach.default_script(self)
|
||||
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "You see the beach of a beautiful enchanted island. Behind you, an ivory palace rises majestically. A luxuriant garden encircles the magnificent palace.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_beach_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "The sandy beach is white and pristine. Crystal clear water laps at the shore.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
[ext_resource type="Texture2D" uid="uid://4i745qs1ajso" path="res://scenes/kq4_033_enchanted_island_beach/pic_033_visual.png" id="2_33vis"]
|
||||
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_scale"]
|
||||
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_trans"]
|
||||
[ext_resource type="Resource" uid="uid://207iapdiajcyp" path="res://scenes/kq4_033_enchanted_island_beach/beach_polygon_0.tres" id="5_beach"]
|
||||
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_33beach"]
|
||||
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)
|
||||
@@ -66,5 +68,15 @@ position = Vector2(293, 554)
|
||||
[connection signal="interacted" from="kq4_036_island_garden_pond" to="." method="_on_island_garden_pond_interacted"]
|
||||
[connection signal="interacted" from="kq4_034_island_beach" to="." method="_on_island_beach_interacted"]
|
||||
|
||||
[node name="beach" type="Polygon2D" parent="." groups=["set-piece"]]
|
||||
scale = Vector2(6, 6)
|
||||
color = Color(0.5, 0.5, 0.5, 0.25)
|
||||
polygon = PackedVector2Array(319, 189, 203, 171, 290, 133, 266, 117, 162, 140, 124, 189, 32, 189, 140, 131, 319, 100)
|
||||
script = ExtResource("6_setpiece")
|
||||
label = "Island Beach"
|
||||
points_resource = ExtResource("5_beach")
|
||||
|
||||
[connection signal="looked" from="beach" to="." method="_on_beach_looked"]
|
||||
|
||||
[editable path="kq4_036_island_garden_pond"]
|
||||
[editable path="kq4_034_island_beach"]
|
||||
|
||||
Reference in New Issue
Block a user