wiring up
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
[gd_scene format=3 uid="uid://tkeyuep0ivo6"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://1k06wwatabzqa" path="res://scenes/kq4_014_green_meadow/kq4_014_green_meadow.gd" id="1_abc"]
|
||||
[ext_resource type="Texture2D" uid="uid://dskmgchg6f4qm" path="res://scenes/kq4_014_green_meadow/014_caption_1_46619669_generated.png" id="2_abc"]
|
||||
[ext_resource type="Script" uid="uid://dekyekrbu3q6o" path="res://scenes/kq4_014_green_meadow/kq4_014_green_meadow.gd" id="1_abc"]
|
||||
[ext_resource type="Texture2D" uid="uid://boo0k5x33ep0c" path="res://scenes/kq4_014_green_meadow/014_caption_1_46619669_generated.png" id="2_7pjgx"]
|
||||
[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://2pkuwanqqbcc8" path="res://scenes/kq4_014_green_meadow/stump_polygon.tres" id="6_stump"]
|
||||
[ext_resource type="Resource" uid="uid://2iglz0lr1hm8x" path="res://scenes/kq4_014_green_meadow/bushes_polygon.tres" id="7_bushes"]
|
||||
[ext_resource type="Resource" uid="uid://2xf4fwmakmnf9" path="res://scenes/kq4_014_green_meadow/rocks_polygon.tres" id="8_rocks"]
|
||||
|
||||
[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)
|
||||
@@ -21,7 +17,7 @@ script = ExtResource("1_abc")
|
||||
|
||||
[node name="bg" type="Sprite2D" parent="." unique_id=874052749]
|
||||
scale = Vector2(0.78, 0.78)
|
||||
texture = ExtResource("2_abc")
|
||||
texture = ExtResource("2_7pjgx")
|
||||
centered = false
|
||||
|
||||
[node name="StartScalePoint" type="Node2D" parent="." unique_id=1640687858]
|
||||
@@ -93,32 +89,31 @@ position = Vector2(506, 555)
|
||||
[node name="exit" parent="kq4_013_beach" index="1"]
|
||||
position = Vector2(-64, 534)
|
||||
|
||||
[node name="stump" type="Polygon2D" parent="."]
|
||||
[node name="stump" type="Polygon2D" parent="." unique_id=119236984]
|
||||
scale = Vector2(6, 6)
|
||||
color = Color(1, 1, 1, 0.25)
|
||||
polygon = PackedVector2Array(0, 0, 100, 0, 100, 50, 0, 50)
|
||||
script = ExtResource("5_setpiece")
|
||||
label = "Stump"
|
||||
polygon_resource = ExtResource("6_stump")
|
||||
|
||||
[node name="bushes" type="Polygon2D" parent="."]
|
||||
[node name="bushes" type="Polygon2D" parent="." unique_id=330527800]
|
||||
scale = Vector2(6, 6)
|
||||
color = Color(1, 1, 1, 0.25)
|
||||
polygon = PackedVector2Array(0, 0, 100, 0, 100, 50, 0, 50)
|
||||
script = ExtResource("5_setpiece")
|
||||
label = "Bushes"
|
||||
polygon_resource = ExtResource("7_bushes")
|
||||
|
||||
[node name="rocks" type="Polygon2D" parent="."]
|
||||
[node name="rocks" type="Polygon2D" parent="." unique_id=350147443]
|
||||
scale = Vector2(6, 6)
|
||||
color = Color(1, 1, 1, 0.25)
|
||||
polygon = PackedVector2Array(0, 0, 100, 0, 100, 50, 0, 50)
|
||||
script = ExtResource("5_setpiece")
|
||||
label = "Rocks"
|
||||
polygon_resource = ExtResource("8_rocks")
|
||||
|
||||
[connection signal="interacted" from="kq4_013_beach" to="." method="_on_beach_interacted"]
|
||||
|
||||
[connection signal="interacted" from="kq4_008_back_of_fishermans_shack" to="." method="_on_back_of_fishermans_shack_interacted"]
|
||||
[connection signal="interacted" from="kq4_015_frog_pond" to="." method="_on_frog_pond_interacted"]
|
||||
[connection signal="interacted" from="kq4_020_meadow" to="." method="_on_meadow_interacted"]
|
||||
[connection signal="interacted" from="kq4_013_beach" to="." method="_on_beach_interacted"]
|
||||
[connection signal="looked" from="stump" to="." method="_on_stump_looked"]
|
||||
[connection signal="looked" from="bushes" to="." method="_on_bushes_looked"]
|
||||
[connection signal="looked" from="rocks" to="." method="_on_rocks_looked"]
|
||||
@@ -126,4 +121,4 @@ polygon_resource = ExtResource("8_rocks")
|
||||
[editable path="kq4_008_back_of_fishermans_shack"]
|
||||
[editable path="kq4_015_frog_pond"]
|
||||
[editable path="kq4_020_meadow"]
|
||||
[editable path="kq4_013_beach"]
|
||||
[editable path="kq4_013_beach"]
|
||||
|
||||
Reference in New Issue
Block a user