[gd_scene load_steps=6 format=3 uid="uid://cwispjaxo0gvv"]
[ext_resource type="PackedScene" uid="uid://smkugd4xx0vm" path="res://fx/fx.tscn" id="1"]
[ext_resource type="Texture2D" uid="uid://c7cnh7u3nstnh" path="res://assets/fx/jump.png" id="2"]
[sub_resource type="Animation" id="Animation_w7i3f"]
resource_name = "Animate"
length = 0.4
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 1,
"values": [0, 1, 2, 3]
}
tracks/1/type = "method"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.4),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [],
"method": &"queue_free"
}]
}
[sub_resource type="Animation" id="Animation_g27fn"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [1]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_lqupq"]
_data = {
"Animate": SubResource("Animation_w7i3f"),
"RESET": SubResource("Animation_g27fn")
}
[node name="JumpEffect" instance=ExtResource("1")]
[node name="Sprite" parent="." index="0"]
position = Vector2(0, -8)
texture = ExtResource("2")
hframes = 4
frame = 1
[node name="AnimationPlayer" parent="." index="1"]
autoplay = "Animate"
libraries = {
"": SubResource("AnimationLibrary_lqupq")
}