Player Missile

This commit is contained in:
Felipe M 2021-05-18 20:33:18 +02:00
parent b7b4d03fda
commit 853eb28d33
Signed by: fmartingr
GPG key ID: 716BC147715E716F
6 changed files with 80 additions and 9 deletions

View file

@ -74,7 +74,7 @@ tracks/1/keys = {
} ]
}
[sub_resource type="Animation" id=5]
[sub_resource type="Animation" id=4]
resource_name = "WallSlide"
length = 0.1
tracks/0/type = "value"
@ -90,8 +90,7 @@ tracks/0/keys = {
"values": [ 10 ]
}
[sub_resource type="Animation" id=4]
resource_name = "Blink"
[sub_resource type="Animation" id=5]
length = 0.9
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:visible")
@ -145,10 +144,10 @@ shape = ExtResource( 6 )
anims/Idle = SubResource( 1 )
anims/Jump = SubResource( 2 )
anims/Run = SubResource( 3 )
anims/WallSlide = SubResource( 5 )
anims/WallSlide = SubResource( 4 )
[node name="BlinkAnimator" type="AnimationPlayer" parent="."]
anims/Blink = SubResource( 4 )
anims/Blink = SubResource( 5 )
[node name="Debug" parent="." instance=ExtResource( 3 )]
visible = false
@ -174,6 +173,7 @@ position = Vector2( 0, -7 )
shape = ExtResource( 6 )
[node name="InvincibleTimer" type="Timer" parent="."]
[connection signal="hit" from="Hurtbox" to="." method="_on_Hurtbox_hit"]
[editable path="Hurtbox"]