Finished debug/cheat console

This commit is contained in:
Tony Bark 2021-05-20 21:25:41 -04:00
parent 59ea5dd6f0
commit f6438a9bee
7 changed files with 95 additions and 16 deletions

View file

@ -1,8 +1,10 @@
[gd_scene load_steps=2 format=2]
[gd_scene load_steps=3 format=2]
[ext_resource path="res://scripts/debug_console.gd" type="Script" id=1]
[ext_resource path="res://scripts/command_handler.gd" type="Script" id=2]
[node name="DebugConsole" type="Control"]
pause_mode = 2
anchor_right = 1.0
margin_bottom = 113.0
script = ExtResource( 1 )
@ -10,6 +12,9 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="CommandHandler" type="Node" parent="."]
script = ExtResource( 2 )
[node name="Output" type="TextEdit" parent="."]
anchor_right = 1.0
anchor_bottom = 0.752212
@ -28,3 +33,5 @@ caret_blink_speed = 0.5
__meta__ = {
"_edit_use_anchors_": true
}
[connection signal="text_entered" from="Input" to="." method="_on_Input_text_entered"]