DuckRun/scenes/ui/animation.tscn

34 lines
1,020 B
Text
Raw Normal View History

[gd_scene load_steps=5 format=3 uid="uid://dm307sj4nenjt"]
2024-10-01 15:56:30 +02:00
[ext_resource type="Script" path="res://scenes/ui/animation.gd" id="1_43757"]
2024-10-01 15:56:30 +02:00
[sub_resource type="Animation" id="Animation_hmob6"]
length = 0.001
2024-10-03 21:12:20 +02:00
[sub_resource type="Animation" id="Animation_wgvxk"]
resource_name = "out-in"
2024-10-22 19:52:35 +02:00
length = 0.5
2024-10-01 15:56:30 +02:00
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position:y")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
2024-10-22 19:52:35 +02:00
"handle_modes": PackedInt32Array(0, 0, 0),
"points": PackedFloat32Array(-67, -0.25, 0, 0.0666667, 0.981804, -56, -0.1, -0.683014, 0.0666667, 1.36603, -250, -0.133333, -1.11485, 0.15, 0),
2024-10-22 19:52:35 +02:00
"times": PackedFloat32Array(0, 0.133333, 0.5)
2024-10-01 15:56:30 +02:00
}
2024-10-03 21:12:20 +02:00
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ur3ij"]
2024-10-01 15:56:30 +02:00
_data = {
2024-10-03 21:12:20 +02:00
"RESET": SubResource("Animation_hmob6"),
"out-in": SubResource("Animation_wgvxk")
2024-10-01 15:56:30 +02:00
}
[node name="AnimationPlayer" type="AnimationPlayer"]
2024-10-01 15:56:30 +02:00
libraries = {
2024-10-03 21:12:20 +02:00
"": SubResource("AnimationLibrary_ur3ij")
2024-10-01 15:56:30 +02:00
}
script = ExtResource("1_43757")