Menus de muerte pausa y personajes renovados
This commit is contained in:
1 parent
97335c9d21
commit
6a267b2cf4
54 files changed
+14033
-3170
No files matched your search
@@ -94,7 +94,7 @@ func _run() -> void:
|
||||
_check(int(player.get("special_charge")) == mini(int(player.get("special_max_charge")), charge_before_death + int(player.get("special_charge_per_kill"))),
|
||||
"Death must grant special charge exactly once")
|
||||
enemy.call("_update_death_animation", 0.20)
|
||||
var enemy_visual: Sprite2D = enemy.get_node("Visual") as Sprite2D
|
||||
var enemy_visual: AnimatedSprite2D = enemy.get_node("Visual") as AnimatedSprite2D
|
||||
_check(enemy.visible and not is_zero_approx(enemy_visual.rotation), "Missing collapse animation")
|
||||
enemy.call("_update_death_animation", 1.0)
|
||||
_check(not enemy.visible, "Enemy must hide after the death animation")
|
||||
|
||||
Reference in new issue
Block a user