mejoras en jugabilidad
This commit is contained in:
1 parent
d983bc2e69
commit
ec7e35ddf6
40 files changed
+856
-538
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user