First work on dialogic, resized guild, and started implementing portraits.

This commit is contained in:
2025-08-14 10:26:24 -04:00
parent 95a7db036b
commit 3aeb3d44e6
959 changed files with 47688 additions and 46 deletions

View File

@@ -0,0 +1,21 @@
class_name DialogicNode_Input
extends Control
## A node that handles mouse input. This allows limiting mouse input to a
## specific region and avoiding conflicts with other UI elements.
## If no Input node is used, the input subsystem will handle mouse input instead.
func _ready() -> void:
add_to_group('dialogic_input')
gui_input.connect(_on_gui_input)
func _input(_event: InputEvent) -> void:
if Input.is_action_pressed(ProjectSettings.get_setting('dialogic/text/input_action', 'dialogic_default_action')):
mouse_filter = Control.MOUSE_FILTER_STOP
else:
mouse_filter = Control.MOUSE_FILTER_IGNORE
func _on_gui_input(event:InputEvent) -> void:
DialogicUtil.autoload().Inputs.handle_node_gui_input(event)