This commit is contained in:
2025-11-16 22:22:24 +00:00
parent 38994776df
commit d475c0abf9
80 changed files with 2 additions and 3340 deletions
+1 -13
View File
@@ -565,19 +565,7 @@ func _perform_dash():
_dash_timer = dash_duration
_dash_cooldown_timer = dash_cooldown
# Rotate character slightly forward during dash
if _body:
_body.rotation.x = -0.3 # Tilt forward slightly
# Animation is handled by the Body's animate function
# Reset rotation after dash
var tween = create_tween()
tween.tween_method(_reset_dash_rotation, -0.3, 0.0, dash_duration)
func _reset_dash_rotation(rotation_value: float):
if _body:
_body.rotation.x = rotation_value
# Animation is handled by the Body's animate function (Jump animation plays during dash)
## Override hurt animation from BaseUnit
func _play_hurt_animation():