90 lines
2.4 KiB
Text
90 lines
2.4 KiB
Text
|
[gd_scene load_steps=7 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_2ygp6"]
|
||
|
length = 0.001
|
||
|
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),
|
||
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
||
|
"times": PackedFloat32Array(0)
|
||
|
}
|
||
|
|
||
|
[sub_resource type="Animation" id="Animation_2vs66"]
|
||
|
resource_name = "in"
|
||
|
length = 0.2
|
||
|
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, 2),
|
||
|
"points": PackedFloat32Array(-98.5, -0.25, 0, 0.0666667, -21, 2.5, -0.2, 2, 0, 0),
|
||
|
"times": PackedFloat32Array(0, 0.2)
|
||
|
}
|
||
|
tracks/1/type = "value"
|
||
|
tracks/1/imported = false
|
||
|
tracks/1/enabled = true
|
||
|
tracks/1/path = NodePath(".:visible")
|
||
|
tracks/1/interp = 1
|
||
|
tracks/1/loop_wrap = true
|
||
|
tracks/1/keys = {
|
||
|
"times": PackedFloat32Array(0),
|
||
|
"transitions": PackedFloat32Array(1),
|
||
|
"update": 1,
|
||
|
"values": [true]
|
||
|
}
|
||
|
|
||
|
[sub_resource type="Animation" id="Animation_2eby2"]
|
||
|
resource_name = "out"
|
||
|
length = 0.2
|
||
|
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),
|
||
|
"points": PackedFloat32Array(-0.5, -0.25, 0, 0.25, 0, -100, -0.0666667, 3, 0, 0),
|
||
|
"times": PackedFloat32Array(0, 0.2)
|
||
|
}
|
||
|
tracks/1/type = "value"
|
||
|
tracks/1/imported = false
|
||
|
tracks/1/enabled = true
|
||
|
tracks/1/path = NodePath(".:visible")
|
||
|
tracks/1/interp = 1
|
||
|
tracks/1/loop_wrap = true
|
||
|
tracks/1/keys = {
|
||
|
"times": PackedFloat32Array(0.233333),
|
||
|
"transitions": PackedFloat32Array(1),
|
||
|
"update": 1,
|
||
|
"values": [false]
|
||
|
}
|
||
|
|
||
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_n8lkd"]
|
||
|
_data = {
|
||
|
"RESET": SubResource("Animation_2ygp6"),
|
||
|
"in": SubResource("Animation_2vs66"),
|
||
|
"out": SubResource("Animation_2eby2")
|
||
|
}
|
||
|
|
||
|
[node name="Schild" type="Sprite2D"]
|
||
|
texture_filter = 1
|
||
|
texture = ExtResource("1_wyhk0")
|
||
|
script = ExtResource("2_pxsow")
|
||
|
|
||
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||
|
libraries = {
|
||
|
"": SubResource("AnimationLibrary_n8lkd")
|
||
|
}
|