57 lines
1.7 KiB
Plaintext
57 lines
1.7 KiB
Plaintext
[gd_scene format=3 uid="uid://dp4182l80ntvn"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://d4nvum0gfs66c" path="res://assets/menus/main/plants/flower_top.png" id="1_wgfw2"]
|
|
[ext_resource type="Texture2D" uid="uid://dgsekh110qlse" path="res://assets/menus/main/plants/flower_body.png" id="2_3d0jj"]
|
|
|
|
[sub_resource type="Animation" id="Animation_fub3r"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Head:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0, -820)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_e4e8l"]
|
|
resource_name = "bob"
|
|
length = 3.0
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Head:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1.5, 3),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(0, -815), Vector2(0, -850), Vector2(0, -815)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_kw7nd"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_fub3r"),
|
|
&"bob": SubResource("Animation_e4e8l")
|
|
}
|
|
|
|
[node name="Flower" type="Node2D" unique_id=902655299]
|
|
|
|
[node name="Head" type="Sprite2D" parent="." unique_id=1180324273]
|
|
position = Vector2(0, -820)
|
|
texture = ExtResource("1_wgfw2")
|
|
|
|
[node name="Body" type="Sprite2D" parent="." unique_id=1367550020]
|
|
position = Vector2(0, -400)
|
|
texture = ExtResource("2_3d0jj")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=242320110]
|
|
libraries/ = SubResource("AnimationLibrary_kw7nd")
|
|
autoplay = &"bob"
|