2021-10-21 10:22:42 +00:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2021-10-19 05:10:13 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://main.tres" type="Theme" id=1]
|
|
|
|
[ext_resource path="res://script/debug/debug_menu.gd" type="Script" id=2]
|
2021-10-20 08:18:06 +00:00
|
|
|
[ext_resource path="res://script/debug/In.gd" type="Script" id=3]
|
|
|
|
[ext_resource path="res://script/debug/Out.gd" type="Script" id=4]
|
2021-10-21 10:22:42 +00:00
|
|
|
[ext_resource path="res://debug.tres" type="Theme" id=5]
|
2021-10-15 01:46:51 +00:00
|
|
|
|
|
|
|
[node name="Debug" type="Control"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2021-10-19 05:10:13 +00:00
|
|
|
theme = ExtResource( 1 )
|
|
|
|
script = ExtResource( 2 )
|
2021-10-15 01:46:51 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2021-10-19 05:10:13 +00:00
|
|
|
|
2021-10-20 03:14:30 +00:00
|
|
|
[node name="debug_canvas" type="CanvasLayer" parent="."]
|
|
|
|
layer = 69
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="debug_canvas"]
|
2021-10-19 05:10:13 +00:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2021-10-20 07:26:32 +00:00
|
|
|
margin_bottom = -190.0
|
2021-10-19 05:10:13 +00:00
|
|
|
custom_constants/separation = 2
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2021-10-20 03:14:30 +00:00
|
|
|
[node name="TextEdit" type="TextEdit" parent="debug_canvas/VBoxContainer"]
|
2021-10-19 05:10:13 +00:00
|
|
|
margin_right = 640.0
|
|
|
|
margin_bottom = 144.0
|
2021-10-20 07:26:32 +00:00
|
|
|
grow_vertical = 0
|
2021-10-19 05:10:13 +00:00
|
|
|
rect_min_size = Vector2( 0, 144 )
|
2021-10-21 10:22:42 +00:00
|
|
|
theme = ExtResource( 5 )
|
2021-10-20 07:26:32 +00:00
|
|
|
readonly = true
|
|
|
|
syntax_highlighting = true
|
|
|
|
fold_gutter = true
|
2021-10-20 08:18:06 +00:00
|
|
|
smooth_scrolling = true
|
2021-10-20 07:26:32 +00:00
|
|
|
wrap_enabled = true
|
|
|
|
minimap_draw = true
|
2021-10-20 08:18:06 +00:00
|
|
|
script = ExtResource( 4 )
|
2021-10-19 05:10:13 +00:00
|
|
|
|
2021-10-20 03:14:30 +00:00
|
|
|
[node name="LineEdit" type="LineEdit" parent="debug_canvas/VBoxContainer"]
|
2021-10-19 05:10:13 +00:00
|
|
|
margin_top = 146.0
|
|
|
|
margin_right = 640.0
|
|
|
|
margin_bottom = 170.0
|
2021-10-20 07:26:32 +00:00
|
|
|
max_length = 256
|
|
|
|
placeholder_text = "By your command."
|
2021-10-19 05:10:13 +00:00
|
|
|
caret_blink = true
|
2021-10-20 08:18:06 +00:00
|
|
|
script = ExtResource( 3 )
|
2021-10-20 07:26:32 +00:00
|
|
|
|
2021-10-20 10:13:24 +00:00
|
|
|
[connection signal="clear_in" from="." to="debug_canvas/VBoxContainer/LineEdit" method="_on_Debug_clear_in"]
|
|
|
|
[connection signal="clear_out" from="." to="debug_canvas/VBoxContainer/TextEdit" method="_on_Debug_clear_out"]
|
2021-10-20 08:18:06 +00:00
|
|
|
[connection signal="print_text" from="." to="debug_canvas/VBoxContainer/TextEdit" method="_on_Debug_print_text"]
|
2021-10-20 07:26:32 +00:00
|
|
|
[connection signal="text_entered" from="debug_canvas/VBoxContainer/LineEdit" to="." method="_on_LineEdit_text_entered"]
|