mirror of
https://github.com/anthonyaxenov/toddler-play.git
synced 2024-09-16 11:42:23 +00:00
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://bsd886cj6lepi"]
|
|
|
|
[ext_resource type="Script" path="res://pickups/finish.gd" id="1_8hfb0"]
|
|
[ext_resource type="Texture2D" uid="uid://c1ceng2ivhmud" path="res://assets/platformer-art-deluxe/Base pack/Items/flagGreen2.png" id="2_2mega"]
|
|
[ext_resource type="Texture2D" uid="uid://bcx1ro2x36cew" path="res://assets/platformer-art-deluxe/Base pack/Items/flagGreen.png" id="3_jxquq"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_h6oc4"]
|
|
radius = 15.0
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_fvgj8"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_2mega")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_jxquq")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="Finish" type="Area2D"]
|
|
script = ExtResource("1_8hfb0")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_h6oc4")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
scale = Vector2(0.3, 0.3)
|
|
sprite_frames = SubResource("SpriteFrames_fvgj8")
|
|
frame_progress = 0.898625
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|