73 lines
2.9 KiB
Plaintext
73 lines
2.9 KiB
Plaintext
[gd_scene format=3 uid="uid://b07jfpiwtajh"]
|
|
|
|
[ext_resource type="Script" uid="uid://bf2qm2ncit8uq" path="res://sources/minigames/caterpillar/berry.gd" id="1_36web"]
|
|
[ext_resource type="PackedScene" uid="uid://cge0uyn30tcpv" path="res://sources/utils/fx/highlight.tscn" id="2_4ywgh"]
|
|
[ext_resource type="Texture2D" uid="uid://3hqfi1r6s4sp" path="res://assets/minigames/caterpillar/graphics/berry_pink.png" id="3_37fog"]
|
|
[ext_resource type="PackedScene" uid="uid://dlmbxcgiv8tpr" path="res://sources/utils/fx/wrong.tscn" id="4_gmtk0"]
|
|
[ext_resource type="LabelSettings" uid="uid://bguqnhiblwick" path="res://resources/themes/minigames_label_settings.tres" id="4_j1h4b"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aq0kv"]
|
|
size = Vector2(34, 264)
|
|
|
|
[sub_resource type="Curve2D" id="Curve2D_w7ms2"]
|
|
_data = {
|
|
"points": PackedVector2Array(0, 0, 0, 0, 0, 0, 346.679, 10.5307, -346.679, -10.5307, -310, -305.6, 73.0181, -1091.4, -73.0181, 1091.4, -1440, 2351.2, 0, 0, 0, 0, -1580, 5072.8)
|
|
}
|
|
point_count = 4
|
|
|
|
[node name="Berry" type="Area2D" unique_id=1516081714]
|
|
script = ExtResource("1_36web")
|
|
|
|
[node name="HighlightFX" parent="." unique_id=2090034090 instance=ExtResource("2_4ywgh")]
|
|
offset_left = 33.0
|
|
offset_top = -136.0
|
|
offset_right = 33.0
|
|
offset_bottom = -136.0
|
|
|
|
[node name="WrongFX" parent="." unique_id=1805131697 instance=ExtResource("4_gmtk0")]
|
|
offset_left = 33.0
|
|
offset_top = -136.0
|
|
offset_right = 33.0
|
|
offset_bottom = -136.0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1043087808]
|
|
position = Vector2(-115, -128)
|
|
shape = SubResource("RectangleShape2D_aq0kv")
|
|
|
|
[node name="Path2D" type="Path2D" parent="." unique_id=1237975830]
|
|
position = Vector2(32, -78.2222)
|
|
curve = SubResource("Curve2D_w7ms2")
|
|
|
|
[node name="PathFollow2D" type="PathFollow2D" parent="Path2D" unique_id=101495356]
|
|
rotates = false
|
|
loop = false
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Path2D/PathFollow2D" unique_id=1143837619]
|
|
position = Vector2(8, -81.7778)
|
|
scale = Vector2(1.5, 1.5)
|
|
texture = ExtResource("3_37fog")
|
|
|
|
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="Path2D/PathFollow2D/Sprite2D" unique_id=190098366]
|
|
position = Vector2(110.66667, -84.51854)
|
|
|
|
[node name="Label" type="Label" parent="Path2D/PathFollow2D" unique_id=119504217]
|
|
unique_name_in_owner = true
|
|
offset_left = -112.0
|
|
offset_top = -145.7778
|
|
offset_right = 133.0
|
|
offset_bottom = 55.2222
|
|
text = "ent"
|
|
label_settings = ExtResource("4_j1h4b")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Button" type="Button" parent="." unique_id=2053639933]
|
|
offset_left = -127.0
|
|
offset_top = -160.0
|
|
offset_right = 212.0
|
|
offset_bottom = 32.0
|
|
theme_type_variation = &"InvisibleButton"
|
|
|
|
[connection signal="screen_exited" from="Path2D/PathFollow2D/Sprite2D/VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]
|
|
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|