DuckRun/scenes/schild.tscn
2024-10-22 19:52:35 +02:00

47 lines
1.4 KiB
Text

[gd_scene load_steps=6 format=3 uid="uid://dm307sj4nenjt"]
[ext_resource type="Texture2D" uid="uid://cfmflpkl335e3" path="res://assets/GUI/schild.png" id="1_wyhk0"]
[ext_resource type="Script" path="res://code/GUI/restartschild.gd" id="2_pxsow"]
[sub_resource type="Animation" id="Animation_hmob6"]
length = 0.001
[sub_resource type="Animation" id="Animation_wgvxk"]
resource_name = "out-in"
length = 0.5
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 = {
"handle_modes": PackedInt32Array(0, 0, 0),
"points": PackedFloat32Array(-67, -0.25, 0, 0.0666667, 0.981804, -56.456, -0.1, -0.683014, 0.0666667, 1.36603, -250, -0.133333, -1.11485, 0.15, 0),
"times": PackedFloat32Array(0, 0.133333, 0.5)
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ur3ij"]
_data = {
"RESET": SubResource("Animation_hmob6"),
"out-in": SubResource("Animation_wgvxk")
}
[node name="Schild" type="TextureRect"]
anchors_preset = -1
anchor_left = -0.259
anchor_top = 0.14
anchor_right = 0.282
anchor_bottom = 0.79
offset_left = -3.97
offset_top = -81.0
offset_right = 4.06
offset_bottom = 4.0
size_flags_horizontal = 4
texture = ExtResource("1_wyhk0")
script = ExtResource("2_pxsow")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_ur3ij")
}