progress
This commit is contained in:
8
scenes/kq4_039_island_beach/beach_0.tres
Normal file
8
scenes/kq4_039_island_beach/beach_0.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dsu68sw130lkn"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(221, 81, 244, 100, 319, 95, 319, 172, 169, 159, 164, 147, 222, 126, 129, 117, 107, 106)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_039_island_beach/beach_1.tres
Normal file
8
scenes/kq4_039_island_beach/beach_1.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://dy45p5m4vmopq"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(231, 12, 232, 7, 244, 10, 250, 3, 257, 11, 267, 6, 271, 13, 281, 11, 291, 21, 212, 19)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_039_island_beach/beach_2.tres
Normal file
8
scenes/kq4_039_island_beach/beach_2.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://0m8rq08667ge"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(319, 85, 311, 84, 310, 93, 295, 93, 294, 85, 284, 88, 263, 87, 284, 75, 319, 69)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -7,3 +7,15 @@ func _on_island_garden_pond_interacted() -> void:
|
||||
|
||||
func _on_island_beach_east_interacted() -> void:
|
||||
$kq4_040_island_beach_east.default_script(self)
|
||||
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "You see a sparkling, sand beach of an exotic island. Before you, in the center of the island, a wonderful ivory palace rises. A lovely garden surrounds the palace.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_beach_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "This is a beautiful sandy beach on an exotic island. The water sparkles in the sunlight.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
[ext_resource type="Texture2D" uid="uid://bcpfeo3nevh5q" path="res://scenes/kq4_039_island_beach/pic_039_visual.png" id="2_39ib"]
|
||||
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_39ib"]
|
||||
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_39ib"]
|
||||
[ext_resource type="Resource" uid="uid://1zcfr5gkh7t38" path="res://scenes/kq4_039_island_beach/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_39ib"]
|
||||
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_040_island_beach_east" to="." method="_on_island_beach_east_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(221, 81, 244, 100, 319, 95, 319, 172, 169, 159, 164, 147, 222, 126, 129, 117, 107, 106)
|
||||
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_040_island_beach_east"]
|
||||
|
||||
Reference in New Issue
Block a user