1
0
mirror of https://github.com/JohnBreaux/Boat-Battle.git synced 2025-02-04 12:28:35 +00:00

Working debug menu! No text output yet.

This commit is contained in:
2021-10-20 02:26:32 -05:00
committed by John
parent b3da915db8
commit b9947393a5
4 changed files with 69 additions and 22 deletions

View File

@@ -22,7 +22,7 @@ transform = Transform2D( 1, 0, 0, 1, 0, -360 )
[node name="VBoxContainer" type="VBoxContainer" parent="debug_canvas"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_bottom = -180.0
margin_bottom = -190.0
custom_constants/separation = 2
__meta__ = {
"_edit_use_anchors_": false
@@ -31,13 +31,20 @@ __meta__ = {
[node name="TextEdit" type="TextEdit" parent="debug_canvas/VBoxContainer"]
margin_right = 640.0
margin_bottom = 144.0
grow_vertical = 0
rect_min_size = Vector2( 0, 144 )
text = "Turn 0
Player 1: 0 ships, 0 hits, 0 misses"
readonly = true
syntax_highlighting = true
fold_gutter = true
wrap_enabled = true
minimap_draw = true
[node name="LineEdit" type="LineEdit" parent="debug_canvas/VBoxContainer"]
margin_top = 146.0
margin_right = 640.0
margin_bottom = 170.0
text = ">"
max_length = 256
placeholder_text = "By your command."
caret_blink = true
[connection signal="text_entered" from="debug_canvas/VBoxContainer/LineEdit" to="." method="_on_LineEdit_text_entered"]