Changed debug control to winodw

- Changed debug control into custom window dialog.
- Reworked "whereyoufrom" cheat
- Changed how the money cheat works
This commit is contained in:
Tony Bark 2021-05-20 22:16:43 -04:00
parent f6438a9bee
commit e86dd64b8b
5 changed files with 54 additions and 30 deletions

View file

@ -3,21 +3,28 @@
[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"]
[node name="DebugConsole" type="WindowDialog"]
pause_mode = 2
anchor_right = 1.0
margin_bottom = 113.0
anchor_left = 0.302734
anchor_top = 0.365833
anchor_right = 0.697266
anchor_bottom = 0.634167
margin_right = -4.0
margin_bottom = -1.0
window_title = "Console"
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
"_edit_use_anchors_": true
}
[node name="CommandHandler" type="Node" parent="."]
script = ExtResource( 2 )
[node name="Output" type="TextEdit" parent="."]
anchor_right = 1.0
anchor_bottom = 0.752212
anchor_left = 0.0148515
anchor_top = 0.0372671
anchor_right = 0.987624
anchor_bottom = 0.751553
readonly = true
wrap_enabled = true
__meta__ = {
@ -25,13 +32,26 @@ __meta__ = {
}
[node name="Input" type="LineEdit" parent="."]
anchor_top = 0.787611
anchor_right = 1.0
anchor_bottom = 1.0
anchor_left = 0.0173267
anchor_top = 0.801242
anchor_right = 0.80198
anchor_bottom = 0.950311
caret_blink = true
caret_blink_speed = 0.5
__meta__ = {
"_edit_use_anchors_": true
}
[node name="SubmitBtn" type="Button" parent="."]
anchor_left = 0.824257
anchor_top = 0.796624
anchor_right = 0.985148
anchor_bottom = 0.951903
margin_top = 7.62939e-06
text = "Submit"
__meta__ = {
"_edit_use_anchors_": true
}
[connection signal="text_entered" from="Input" to="." method="_on_Input_text_entered"]
[connection signal="pressed" from="SubmitBtn" to="." method="_on_SubmitBtn_pressed"]