mejoras en jugabilidad

This commit is contained in:
Diego De la Viuda Llorente committed 2026-11-11 18:14:14 +01:00
1 parent d983bc2e69
commit ec7e35ddf6
40 files changed
+856 -538

No files matched your search

+5
View File
@@ -1,3 +1,4 @@
@tool
extends Node2D
class_name OssuaryGateVisual
## Porton de calaveras provisional: hojas de hierro, cadenas, sello y apertura
@@ -27,6 +28,10 @@ func set_unlocked(value: bool) -> void:
func _process(delta: float) -> void:
if Engine.is_editor_hint():
# Preview fija en el editor; animacion real solo durante la partida.
queue_redraw()
return
_elapsed += delta
_progress = move_toward(_progress, 1.0 if _unlocked else 0.0, delta / open_duration)
if _unlocked and _progress >= 1.0 and not _signalled: