Cambiados los aspectos visuales del juego a algo gotico
This commit is contained in:
1 parent
ec7e35ddf6
commit
967b3a286d
205 files changed
+7056
-1630
No files matched your search
+9
-1
@@ -863,6 +863,12 @@ func _die() -> void:
|
||||
is_dead = true
|
||||
_special_active = false
|
||||
feedback_camera.call("start_solo", 0.0)
|
||||
if animated_sprite.sprite_frames.has_animation(&"death"):
|
||||
# El menu de derrota pausa la escena; solo este dibujo termina su caida.
|
||||
animated_sprite.process_mode = Node.PROCESS_MODE_ALWAYS
|
||||
animated_sprite.self_modulate = Color.WHITE
|
||||
animated_sprite.speed_scale = 1.0
|
||||
animated_sprite.play(&"death")
|
||||
died.emit()
|
||||
|
||||
# La pantalla de derrota ofrece reiniciar, selector y titulo.
|
||||
@@ -898,7 +904,9 @@ func _update_timers(delta: float) -> void:
|
||||
## Selecciona la animacion con prioridad de estados; admite conjuntos de animaciones incompletos.
|
||||
func _update_animation() -> void:
|
||||
var animation_name: StringName = &"idle"
|
||||
if _special_active:
|
||||
if is_dead:
|
||||
animation_name = &"death"
|
||||
elif _special_active:
|
||||
if _special_elapsed < special_duration * 0.15:
|
||||
animation_name = &"special_start"
|
||||
elif _special_elapsed > special_duration * 0.85:
|
||||
|
||||
Reference in new issue
Block a user