faster shoot animation

This commit is contained in:
penelope 2023-02-01 20:20:18 -05:00
parent ffbfd41f9e
commit 2caeb7f2ee

View file

@ -379,7 +379,7 @@ tracks/5/keys = {
[sub_resource type="Animation" id=36]
resource_name = "shoot grounded"
length = 0.5
length = 0.25
step = 0.06
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:region_rect")
@ -388,7 +388,7 @@ tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.06, 0.12, 0.24, 0.3, 0.36 ),
"times": PoolRealArray( 0, 0.03, 0.06, 0.12, 0.15, 0.18 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ),
"update": 1,
"values": [ Rect2( 0, 0, 20, 20 ), Rect2( 20, 0, 20, 20 ), Rect2( 40, 0, 20, 20 ), Rect2( 60, 0, 20, 20 ), Rect2( 80, 0, 20, 20 ), Rect2( 100, 0, 20, 20 ) ]
@ -424,10 +424,10 @@ tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"times": PoolRealArray( ),
"transitions": PoolRealArray( ),
"update": 1,
"values": [ null ]
"values": [ ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Sprite:rotation_degrees")
@ -448,7 +448,7 @@ tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PoolRealArray( 0.24 ),
"times": PoolRealArray( 0.12 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [ ],
@ -616,9 +616,9 @@ script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
material = SubResource( 38 )
texture = ExtResource( 3 )
texture = ExtResource( 10 )
region_enabled = true
region_rect = Rect2( 0, 0, 20, 20 )
region_rect = Rect2( 100, 0, 20, 20 )
[node name="SwordSprite" type="Sprite" parent="."]
material = SubResource( 28 )