From e40f35c61ae7f545aa79c78ba40074f25db84b5a Mon Sep 17 00:00:00 2001 From: CactiChameleon9 <51231053+CactiChameleon9@users.noreply.github.com> Date: Tue, 22 Mar 2022 08:44:33 +0000 Subject: [PATCH] Change animation lengths to 0.9s --- src/nodes/units/Foe.tscn | 12 ++++++------ src/nodes/units/Friend.tscn | 13 +++++++------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/nodes/units/Foe.tscn b/src/nodes/units/Foe.tscn index a7bf158..703cb46 100644 --- a/src/nodes/units/Foe.tscn +++ b/src/nodes/units/Foe.tscn @@ -6,7 +6,7 @@ [sub_resource type="Animation" id=1] resource_name = "Attack back" -length = 0.8 +length = 0.9 step = 0.05 tracks/0/type = "value" tracks/0/path = NodePath("Sprite:frame") @@ -23,7 +23,7 @@ tracks/0/keys = { [sub_resource type="Animation" id=2] resource_name = "Attack front" -length = 0.8 +length = 0.9 step = 0.05 tracks/0/type = "value" tracks/0/path = NodePath("Sprite:frame") @@ -40,7 +40,7 @@ tracks/0/keys = { [sub_resource type="Animation" id=4] resource_name = "Attacked back" -length = 0.8 +length = 0.9 step = 0.05 tracks/0/type = "value" tracks/0/path = NodePath("Sprite:frame") @@ -57,7 +57,7 @@ tracks/0/keys = { [sub_resource type="Animation" id=3] resource_name = "Attacked front" -length = 0.8 +length = 0.9 step = 0.05 tracks/0/type = "value" tracks/0/path = NodePath("Sprite:frame") @@ -73,7 +73,7 @@ tracks/0/keys = { } [sub_resource type="Animation" id=5] -length = 0.8 +length = 0.9 loop = true step = 0.05 tracks/0/type = "value" @@ -91,7 +91,7 @@ tracks/0/keys = { [sub_resource type="Animation" id=6] resource_name = "Idle back" -length = 0.8 +length = 0.9 loop = true step = 0.05 tracks/0/type = "value" diff --git a/src/nodes/units/Friend.tscn b/src/nodes/units/Friend.tscn index 11c96c0..624ada0 100644 --- a/src/nodes/units/Friend.tscn +++ b/src/nodes/units/Friend.tscn @@ -6,7 +6,7 @@ [sub_resource type="Animation" id=1] resource_name = "Attack back" -length = 0.8 +length = 0.9 step = 0.05 tracks/0/type = "value" tracks/0/path = NodePath("Sprite:frame") @@ -23,7 +23,7 @@ tracks/0/keys = { [sub_resource type="Animation" id=2] resource_name = "Attack front" -length = 0.8 +length = 0.9 step = 0.05 tracks/0/type = "value" tracks/0/path = NodePath("Sprite:frame") @@ -40,7 +40,7 @@ tracks/0/keys = { [sub_resource type="Animation" id=4] resource_name = "Attacked back" -length = 0.8 +length = 0.9 step = 0.05 tracks/0/type = "value" tracks/0/path = NodePath("Sprite:frame") @@ -57,7 +57,7 @@ tracks/0/keys = { [sub_resource type="Animation" id=3] resource_name = "Attacked front" -length = 0.8 +length = 0.9 step = 0.05 tracks/0/type = "value" tracks/0/path = NodePath("Sprite:frame") @@ -73,7 +73,7 @@ tracks/0/keys = { } [sub_resource type="Animation" id=5] -length = 0.8 +length = 0.9 loop = true step = 0.05 tracks/0/type = "value" @@ -91,7 +91,7 @@ tracks/0/keys = { [sub_resource type="Animation" id=6] resource_name = "Idle back" -length = 0.8 +length = 0.9 loop = true step = 0.05 tracks/0/type = "value" @@ -121,6 +121,7 @@ texture = ExtResource( 2 ) position = Vector2( 2, -12 ) hframes = 4 vframes = 6 +frame = 4 [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "Idle"