tweaks
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
extends Scene
|
||||
|
||||
|
||||
func _on_forest_grove_interacted() -> void:
|
||||
$kq4_005_forest_grove.default_script(self)
|
||||
|
||||
|
||||
func _on_forest_path_interacted() -> void:
|
||||
$kq4_010_forest_path.default_script(self)
|
||||
|
||||
|
||||
func _on_haunted_forest_interacted() -> void:
|
||||
$kq4_012_haunted_forest.default_script(self)
|
||||
|
||||
|
||||
func _on_spooky_house_exterior_interacted() -> void:
|
||||
$kq4_017_spooky_house_exterior.default_script(self)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene format=3 uid="uid://ujxktwdn8l8r"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bulhkgdox6uan" path="res://scenes/kq4_011_enchanted_grove/kq4_011_enchanted_grove.gd" id="1_abc"]
|
||||
[ext_resource type="Texture2D" uid="uid://r4tba15getlv" path="res://scenes/kq4_011_enchanted_grove/pic_011_visual.png" id="2_abc"]
|
||||
[ext_resource type="Texture2D" uid="uid://b7r13k8iqy8kn" path="res://scenes/kq4_011_enchanted_grove/pic_011_visual.png" id="2_4yweh"]
|
||||
[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"]
|
||||
|
||||
@@ -16,7 +16,7 @@ script = ExtResource("1_abc")
|
||||
|
||||
[node name="bg" type="Sprite2D" parent="." unique_id=874052749]
|
||||
scale = Vector2(6, 6)
|
||||
texture = ExtResource("2_abc")
|
||||
texture = ExtResource("2_4yweh")
|
||||
centered = false
|
||||
|
||||
[node name="StartScalePoint" type="Node2D" parent="." unique_id=1640687858]
|
||||
@@ -40,8 +40,7 @@ position = Vector2(194, 819)
|
||||
[node name="kq4_005_forest_grove" parent="." unique_id=484638394 instance=ExtResource("4_abc")]
|
||||
position = Vector2(910, -213)
|
||||
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
||||
target_transition = "kq4_011_enchanted_grove"
|
||||
target = "uid://pending"
|
||||
appear_at_node = "kq4_011_enchanted_grove"
|
||||
label = "Forest Grove"
|
||||
|
||||
[node name="entrance" parent="kq4_005_forest_grove" index="0"]
|
||||
@@ -53,8 +52,7 @@ position = Vector2(151, 615)
|
||||
[node name="kq4_012_haunted_forest" parent="." unique_id=1916756563 instance=ExtResource("4_abc")]
|
||||
position = Vector2(1766, 74)
|
||||
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
||||
target_transition = "kq4_011_enchanted_grove"
|
||||
target = "uid://pending"
|
||||
appear_at_node = "kq4_011_enchanted_grove"
|
||||
label = "Haunted Forest"
|
||||
|
||||
[node name="entrance" parent="kq4_012_haunted_forest" index="0"]
|
||||
@@ -66,8 +64,7 @@ position = Vector2(293, 554)
|
||||
[node name="kq4_017_spooky_house_exterior" parent="." unique_id=990092106 instance=ExtResource("4_abc")]
|
||||
position = Vector2(910, 542)
|
||||
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
||||
target_transition = "kq4_011_enchanted_grove"
|
||||
target = "uid://pending"
|
||||
appear_at_node = "kq4_011_enchanted_grove"
|
||||
label = "Spooky House Exterior"
|
||||
|
||||
[node name="entrance" parent="kq4_017_spooky_house_exterior" index="0"]
|
||||
@@ -78,8 +75,8 @@ position = Vector2(151, 615)
|
||||
|
||||
[node name="kq4_010_forest_path" parent="." unique_id=1117747814 instance=ExtResource("4_abc")]
|
||||
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
|
||||
target_transition = "kq4_011_enchanted_grove"
|
||||
target = "uid://cxqpbv3y2mkd0"
|
||||
appear_at_node = "kq4_010_forest_path"
|
||||
target = "uid://3ujj97iw54vo5"
|
||||
label = "Forest Path"
|
||||
|
||||
[node name="entrance" parent="kq4_010_forest_path" index="0"]
|
||||
@@ -88,7 +85,10 @@ position = Vector2(506, 555)
|
||||
[node name="exit" parent="kq4_010_forest_path" index="1"]
|
||||
position = Vector2(-64, 534)
|
||||
|
||||
[connection signal="interacted" from="kq4_005_forest_grove" to="." method="_on_forest_grove_interacted"]
|
||||
[connection signal="interacted" from="kq4_010_forest_path" to="." method="_on_forest_path_interacted"]
|
||||
[connection signal="interacted" from="kq4_012_haunted_forest" to="." method="_on_haunted_forest_interacted"]
|
||||
[connection signal="interacted" from="kq4_017_spooky_house_exterior" to="." method="_on_spooky_house_exterior_interacted"]
|
||||
|
||||
[editable path="kq4_005_forest_grove"]
|
||||
[editable path="kq4_012_haunted_forest"]
|
||||
|
||||
Reference in New Issue
Block a user