progress
This commit is contained in:
8
scenes/kq4_001_beach/grass_polygon.tres
Normal file
8
scenes/kq4_001_beach/grass_polygon.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bpk4m5fp1xdvj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(2495, 1391, 1161, 1391, 1128, 171, 1135, 166, 1179, 156, 2058, 0, 2495, 0)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -15,3 +15,15 @@ func _on_meadow_interacted() -> void:
|
||||
|
||||
func _on_open_ocean_interacted() -> void:
|
||||
$kq4_031_open_ocean.default_script(self)
|
||||
|
||||
|
||||
func _on_grass_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "Lush green grass covers the cliff.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "You find yourself on a beautiful beach.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
@@ -10,7 +10,7 @@ vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0
|
||||
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(3, 4, 5, 6, 7, 0), PackedInt32Array(3, 2, 8)])
|
||||
outlines = Array[PackedVector2Array]([PackedVector2Array(-39, 206, 1223, 217, 2004, 461, 2022, 1331, 1052, 1430, 365, 1253, -152, 1191, -86, 587)])
|
||||
|
||||
[node name="background" type="Node2D" unique_id=657573819]
|
||||
[node name="background2" type="Node2D" unique_id=657573819]
|
||||
y_sort_enabled = true
|
||||
script = ExtResource("1_abc")
|
||||
|
||||
@@ -88,6 +88,12 @@ position = Vector2(506, 555)
|
||||
[node name="exit" parent="kq4_031_open_ocean" index="1"]
|
||||
position = Vector2(-64, 534)
|
||||
|
||||
[node name="grass" type="Polygon2D" parent="." unique_id=1234567890]
|
||||
position = Vector2(2891, 1072)
|
||||
rotation = -3.1415927
|
||||
scale = Vector2(0.78, 0.78)
|
||||
polygon = PackedVector2Array(1184.6155, -14.102417, 2534.6157, -17.948486, 2238.462, 328.20532, 1600, 378.20532, 1441.0256, 453.8463, 1639.7437, 551.2822, 1710.2566, 610.2566, 1426.9231, 850.0002, 2128.205, 1075.6412, 1869.2308, 1162.8208, 1230.7693, 1142.3079, 1184.6155, 297.43604)
|
||||
|
||||
[connection signal="interacted" from="kq4_025_beach_at_river_delta" to="." method="_on_beach_at_river_delta_interacted"]
|
||||
[connection signal="interacted" from="kq4_002_meadow" to="." method="_on_meadow_interacted"]
|
||||
[connection signal="interacted" from="kq4_007_fishermans_shack" to="." method="_on_fishermans_shack_interacted"]
|
||||
|
||||
Reference in New Issue
Block a user