1
0
mirror of https://github.com/JohnBreaux/Boat-Battle.git synced 2024-11-15 05:25:57 +00:00

Pushing what I have of the debug menu so I don't forget. TODO: Pulldown keypress, command processing.

This commit is contained in:
ValliantStorme 2021-10-19 00:10:13 -05:00
parent 1e8a21d427
commit fbadc76d4f
3 changed files with 48 additions and 1 deletions

4
godot_ship/main.tres Normal file
View File

@ -0,0 +1,4 @@
[gd_resource type="Theme" format=2]
[resource]
resource_name = "Main Theme"

View File

@ -1,8 +1,35 @@
[gd_scene format=2] [gd_scene load_steps=3 format=2]
[ext_resource path="res://main.tres" type="Theme" id=1]
[ext_resource path="res://script/debug/debug_menu.gd" type="Script" id=2]
[node name="Debug" type="Control"] [node name="Debug" type="Control"]
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
theme = ExtResource( 1 )
script = ExtResource( 2 )
__meta__ = { __meta__ = {
"_edit_use_anchors_": false "_edit_use_anchors_": false
} }
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/separation = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextEdit" type="TextEdit" parent="VBoxContainer"]
margin_right = 640.0
margin_bottom = 144.0
rect_min_size = Vector2( 0, 144 )
text = "Turn 0
Player 1: 0 ships, 0 hits, 0 misses"
[node name="LineEdit" type="LineEdit" parent="VBoxContainer"]
margin_top = 146.0
margin_right = 640.0
margin_bottom = 170.0
text = ">"
caret_blink = true

View File

@ -0,0 +1,16 @@
extends Control
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass