Double Jump
This commit is contained in:
parent
abb03863b9
commit
7f8aabadcf
2 changed files with 21 additions and 12 deletions
|
@ -7,7 +7,7 @@
|
|||
[ext_resource path="res://Scenes/Objects/Hurtbox.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://Scenes/Player/PlayerCollider.tres" type="Shape2D" id=6]
|
||||
|
||||
[sub_resource type="Animation" id=2]
|
||||
[sub_resource type="Animation" id=1]
|
||||
resource_name = "Idle"
|
||||
length = 1.2
|
||||
loop = true
|
||||
|
@ -24,7 +24,7 @@ tracks/0/keys = {
|
|||
"values": [ 0, 1, 2, 3 ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=3]
|
||||
[sub_resource type="Animation" id=2]
|
||||
resource_name = "Jump"
|
||||
length = 0.1
|
||||
tracks/0/type = "value"
|
||||
|
@ -40,7 +40,7 @@ tracks/0/keys = {
|
|||
"values": [ 11 ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=4]
|
||||
[sub_resource type="Animation" id=3]
|
||||
resource_name = "Run"
|
||||
length = 0.6
|
||||
loop = true
|
||||
|
@ -74,7 +74,7 @@ tracks/1/keys = {
|
|||
} ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=5]
|
||||
[sub_resource type="Animation" id=4]
|
||||
resource_name = "Blink"
|
||||
length = 0.9
|
||||
tracks/0/type = "value"
|
||||
|
@ -126,12 +126,12 @@ position = Vector2( 0, -7 )
|
|||
shape = ExtResource( 6 )
|
||||
|
||||
[node name="Animation" type="AnimationPlayer" parent="."]
|
||||
anims/Idle = SubResource( 2 )
|
||||
anims/Jump = SubResource( 3 )
|
||||
anims/Run = SubResource( 4 )
|
||||
anims/Idle = SubResource( 1 )
|
||||
anims/Jump = SubResource( 2 )
|
||||
anims/Run = SubResource( 3 )
|
||||
|
||||
[node name="BlinkAnimator" type="AnimationPlayer" parent="."]
|
||||
anims/Blink = SubResource( 5 )
|
||||
anims/Blink = SubResource( 4 )
|
||||
|
||||
[node name="Debug" parent="." instance=ExtResource( 3 )]
|
||||
visible = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue