Cambiados los aspectos visuales del juego a algo gotico

This commit is contained in:
Diego De la Viuda Llorente committed 2026-11-26 18:46:31 +01:00
1 parent ec7e35ddf6
commit 967b3a286d
205 files changed
+7056 -1630

No files matched your search

+3 -1
View File
@@ -95,7 +95,9 @@ func _run() -> void:
"Death must grant special charge exactly once")
enemy.call("_update_death_animation", 0.20)
var enemy_visual: AnimatedSprite2D = enemy.get_node("Visual") as AnimatedSprite2D
_check(enemy.visible and not is_zero_approx(enemy_visual.rotation), "Missing collapse animation")
_check(enemy.visible and enemy_visual.animation == &"death"
and enemy_visual.sprite_frames.get_frame_count(&"death") >= 2,
"The visible enemy must play its drawn collapse poses before disappearing")
enemy.call("_update_death_animation", 1.0)
_check(not enemy.visible, "Enemy must hide after the death animation")
_check(is_instance_valid(enemy), "Keep the dead node for level KO/total tracking")