fix boot animation

This commit is contained in:
2026-04-23 17:08:14 +03:00
parent 6b7294dfd8
commit fb3b653604
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://baeea1yfs0cnn"
path="res://.godot/imported/Tutorial_Shield.jpeg-6b96e6b9716aced42153397e827ce868.ctex"
path="res://.godot/imported/Tutorial_shield.jpeg-d9b563c9ca34dc1a19e82a0ec964c1b9.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/Tutorial_Shield.jpeg"
dest_files=["res://.godot/imported/Tutorial_Shield.jpeg-6b96e6b9716aced42153397e827ce868.ctex"]
source_file="res://assets/Tutorial_shield.jpeg"
dest_files=["res://.godot/imported/Tutorial_shield.jpeg-d9b563c9ca34dc1a19e82a0ec964c1b9.ctex"]
[params]
+2 -1
View File
@@ -214,9 +214,10 @@ func set_aim_direction(yaw_rad: float) -> void:
_is_aiming = true
func _play_kick_blend() -> void:
var tw := create_tween()
var tw := create_tween().set_parallel(true)
tw.tween_method(func(v: float): mesh_node.set_blend_shape_value(0, v), 0.0, 1.0, 0.12)
tw.tween_method(func(v: float): mesh_node_boot.set_blend_shape_value(0, v), 0.0, 1.0, 0.12)
tw.chain()
tw.tween_method(func(v: float): mesh_node.set_blend_shape_value(0, v), 1.0, 0.0, 0.28)
tw.tween_method(func(v: float): mesh_node_boot.set_blend_shape_value(0, v), 1.0, 0.0, 0.28)