52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
[gd_scene format=3 uid="uid://dxc82xcl7jncd"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://wylvu8nc54ow" path="res://assets/menus/main/plants/blue_palm.png" id="1_2mmp5"]
|
|
|
|
[sub_resource type="Animation" id="Animation_ub1ab"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [0.0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_hug64"]
|
|
resource_name = "sway"
|
|
length = 8.0
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 2, 4, 6, 8),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [0.0, 0.0872665, 0.0, -0.0872665, 0.0]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_j6jql"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_ub1ab"),
|
|
&"sway": SubResource("Animation_hug64")
|
|
}
|
|
|
|
[node name="Palm" type="Node2D" unique_id=634450107]
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="." unique_id=1339969416]
|
|
position = Vector2(0, -304)
|
|
texture = ExtResource("1_2mmp5")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=721791652]
|
|
libraries/ = SubResource("AnimationLibrary_j6jql")
|
|
autoplay = &"sway"
|