Optional Animations 2: Electric Boogaloo (#596)

* Additional optional animations for water/wing power-up + extras

* Added animation fallbacks for new animations

* Kicking animation function

* Kick anim functionality for shells

* Player performs kick animation

* RunJump anims + quick fixes

new anims, including RunJump, RunJumpFall and RunJumpBump (incredible name) which play depending on the X velocity the player left the ground with.

also fixed the bob-omb to play the kick animation as well as it should

also

* Updated "FlyMove" to "WingMove" for consistency

* Update "FlyMove" to "WingMove" in animation fallbacks
This commit is contained in:
SkyanUltra
2025-10-15 07:51:38 -04:00
committed by GitHub
parent 69fb2b5005
commit 447b6d3ea7
4 changed files with 57 additions and 11 deletions

View File

@@ -24,6 +24,7 @@ func explode() -> void:
func kick(object: Node2D) -> void:
AudioManager.play_sfx("kick", global_position)
object.kick_anim()
var kick_dir = sign(global_position.x - object.global_position.x)
velocity.x = 150 * kick_dir
direction = kick_dir