Improved UI textbox

This commit is contained in:
2026-06-12 11:56:30 -05:00
parent f6a0bb156e
commit 2f3a4eab66
39 changed files with 574 additions and 706 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ func _applyGravity() -> void:
func _applyPlayerMovement(delta:float):
# Interactions, may move
if Input.is_action_just_pressed("interact") && interactingArea && interactingArea.hasInteraction():
if !UI.hasAdvanceableChatBox() && !UI.dialogueActive:
if !UI.dialogueActive:
interactingArea.interact()
return
@@ -63,7 +63,7 @@ func _applyFriction(delta:float) -> void:
entity.velocity.z *= delta * FRICTION
func _canMove() -> bool:
if !UI.MAIN_CHATBOX.isClosed:
if UI.activeConversation:
return false
if UI.GAME_MENU && UI.GAME_MENU.isOpen():
return false