mirror of
https://github.com/tonytins/citylimits
synced 2025-12-15 12:44:43 -05:00
Advisor dialogs
- WIP debug/cheat console - Rewrote README - Updated Zack's avatar with something made by me
This commit is contained in:
parent
addbf91a36
commit
59ea5dd6f0
14 changed files with 206 additions and 88 deletions
14
scripts/debug_console.gd
Normal file
14
scripts/debug_console.gd
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
extends Control
|
||||
|
||||
onready var input_box = $Input
|
||||
onready var output_box = $Output
|
||||
|
||||
func _ready():
|
||||
input_box.grab_focus()
|
||||
|
||||
func output_text(text):
|
||||
output_box.text = text + "\n"
|
||||
|
||||
func _on_Input_text_entered(new_text):
|
||||
input_box.clear()
|
||||
output_text(new_text)
|
||||
Loading…
Add table
Add a link
Reference in a new issue