feat: add names to dragons

This commit is contained in:
Gerard Gascón 2025-04-08 23:38:27 +02:00
parent f07b28d2dc
commit ca4959af32
10 changed files with 91 additions and 15 deletions

View file

@ -0,0 +1,11 @@
extends LineEdit
func _ready() -> void:
connect("text_changed", _text_to_upper)
func _text_to_upper(new_text: String):
var last_caret_column = caret_column
text = new_text.to_upper()
caret_column = last_caret_column