45 lines
1.1 KiB
Text
45 lines
1.1 KiB
Text
|
[gd_scene load_steps=3 format=2]
|
||
|
|
||
|
[ext_resource path="res://assets/Player/herochar_before_jump_dust_anim_strip_4.png" type="Texture" id=1]
|
||
|
|
||
|
[sub_resource type="Animation" id=1]
|
||
|
resource_name = "land"
|
||
|
length = 0.4
|
||
|
tracks/0/type = "value"
|
||
|
tracks/0/path = NodePath("Sprite:frame")
|
||
|
tracks/0/interp = 1
|
||
|
tracks/0/loop_wrap = true
|
||
|
tracks/0/imported = false
|
||
|
tracks/0/enabled = true
|
||
|
tracks/0/keys = {
|
||
|
"times": PoolRealArray( 0, 0.1, 0.2, 0.3 ),
|
||
|
"transitions": PoolRealArray( 1, 1, 1, 1 ),
|
||
|
"update": 1,
|
||
|
"values": [ 0, 1, 2, 3 ]
|
||
|
}
|
||
|
tracks/1/type = "method"
|
||
|
tracks/1/path = NodePath(".")
|
||
|
tracks/1/interp = 1
|
||
|
tracks/1/loop_wrap = true
|
||
|
tracks/1/imported = false
|
||
|
tracks/1/enabled = true
|
||
|
tracks/1/keys = {
|
||
|
"times": PoolRealArray( 0.4 ),
|
||
|
"transitions": PoolRealArray( 1 ),
|
||
|
"values": [ {
|
||
|
"args": [ ],
|
||
|
"method": "queue_free"
|
||
|
} ]
|
||
|
}
|
||
|
|
||
|
[node name="JumpDust" type="Node2D"]
|
||
|
|
||
|
[node name="Sprite" type="Sprite" parent="."]
|
||
|
position = Vector2( 0, -8 )
|
||
|
texture = ExtResource( 1 )
|
||
|
hframes = 4
|
||
|
|
||
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||
|
autoplay = "land"
|
||
|
anims/land = SubResource( 1 )
|