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
This commit is contained in:
SkyanUltra
2025-10-14 05:59:16 -04:00
parent a7589e0870
commit 6773a5a093
3 changed files with 24 additions and 9 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