progress
This commit is contained in:
8
scenes/kq4_040_island_beach_east/beach_0.tres
Normal file
8
scenes/kq4_040_island_beach_east/beach_0.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://r7fbls0uflpi"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(114, 0, 100, 84, 319, 72, 144, 90, 319, 101, 319, 178, 0, 177, 0, 101, 172, 100, 0, 83)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_040_island_beach_east/beach_1.tres
Normal file
8
scenes/kq4_040_island_beach_east/beach_1.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://hlf0bvudkx08"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(188, 0, 189, 19, 196, 0, 224, 0, 222, 68, 197, 75, 175, 14, 117, 17)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_040_island_beach_east/beach_2.tres
Normal file
8
scenes/kq4_040_island_beach_east/beach_2.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://xthsfs8fcxpo"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(138, 35, 139, 19, 171, 19, 173, 71, 145, 59, 145, 76, 135, 54, 119, 59, 116, 27)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_040_island_beach_east/beach_3.tres
Normal file
8
scenes/kq4_040_island_beach_east/beach_3.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://b0aqx0mgcpaxj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(247, 36, 249, 75, 240, 72, 239, 75, 233, 76, 233, 60, 236, 57, 232, 55, 235, 40, 232, 36, 226, 36)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_040_island_beach_east/beach_4.tres
Normal file
8
scenes/kq4_040_island_beach_east/beach_4.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bqyocvl8dqvpl"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(67, 39, 61, 42, 33, 41, 38, 37, 40, 39, 44, 36, 48, 37, 54, 33, 63, 35, 67, 31)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -11,3 +11,15 @@ func _on_island_shore_interacted() -> void:
|
||||
|
||||
func _on_island_beach_interacted() -> void:
|
||||
$kq4_039_island_beach.default_script(self)
|
||||
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "You have found yourself upon a most beautiful and exotic island. In the center of this island, a wondrous ivory palace towers. Behind you, the azure ocean washes gently upon the island's sparkling beach.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_beach_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "A beautiful sandy beach on the east side of the island. The crystal clear water laps gently at the shore.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
[ext_resource type="Texture2D" uid="uid://33vn6fwyycsaj" path="res://scenes/kq4_040_island_beach_east/pic_040_visual.png" id="2_abc"]
|
||||
[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://2t2ify8rstpzu" path="res://scenes/kq4_040_island_beach_east/beach_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_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)
|
||||
@@ -79,6 +81,16 @@ position = Vector2(-64, 534)
|
||||
[connection signal="interacted" from="kq4_041_island_shore" to="." method="_on_island_shore_interacted"]
|
||||
[connection signal="interacted" from="kq4_039_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(114, 0, 100, 84, 319, 72, 144, 90, 319, 101, 319, 178, 0, 177, 0, 101, 172, 100, 0, 83)
|
||||
script = ExtResource("6_setpiece")
|
||||
label = "Island Beach East"
|
||||
points_resource = ExtResource("5_beach")
|
||||
|
||||
[connection signal="looked" from="beach" to="." method="_on_beach_looked"]
|
||||
|
||||
[editable path="kq4_037_fairy_island"]
|
||||
[editable path="kq4_041_island_shore"]
|
||||
[editable path="kq4_039_island_beach"]
|
||||
|
||||
Reference in New Issue
Block a user