Change 2 for cleanup

This commit is contained in:
PersonGuyGit
2023-07-09 12:28:09 -06:00
parent 707e8a5b16
commit 2c971b6e7c
1741 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,27 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=2]
[ext_resource path="res://screens/grabFocus.gd" type="Script" id=3]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Title" parent="." instance=ExtResource( 1 )]
anchor_left = 0.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 0.0
margin_top = 0.0
margin_right = 0.0
margin_bottom = 0.0
text = "Add Character (temp)"
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
text = "Temp: back to menu"
next_scene_path = "res://Screens/MenuScreen.tscn"

View File

@ -0,0 +1,64 @@
[gd_scene load_steps=6 format=2]
[ext_resource path="res://assets/ui_controlNode_dark_theme.tres" type="Theme" id=1]
[ext_resource path="res://assets/liberation_serif_40pt.tres" type="DynamicFont" id=2]
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=3]
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=4]
[ext_resource path="res://assets/sbf_black.tres" type="StyleBox" id=5]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Background" type="Panel" parent="."]
margin_right = 1024.0
margin_bottom = 600.0
theme = ExtResource( 1 )
[node name="Title" parent="Background" instance=ExtResource( 3 )]
margin_top = 51.8676
margin_bottom = 117.868
theme = null
custom_fonts/font = ExtResource( 2 )
text = "Join Room"
[node name="ScrollContainer" type="ScrollContainer" parent="Background/Title"]
margin_left = -131.5
margin_top = 96.1324
margin_right = 368.5
margin_bottom = 346.132
rect_min_size = Vector2( 500, 250 )
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="PanelContainer" type="PanelContainer" parent="Background/Title/ScrollContainer"]
margin_right = 500.0
margin_bottom = 250.0
rect_min_size = Vector2( 500, 250 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/panel = ExtResource( 5 )
[node name="VBoxContainer" type="VBoxContainer" parent="Background"]
margin_left = 393.0
margin_top = 422.0
margin_right = 631.0
margin_bottom = 462.0
rect_min_size = Vector2( 0, 51 )
[node name="But_Multiplayer" parent="Background/VBoxContainer" instance=ExtResource( 4 )]
margin_right = 238.0
margin_bottom = 51.0
text = "Go Back"
next_scene_path = "res://Screens/Multiplayer.tscn"
[node name="Version" type="Label" parent="Background"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -177.0
margin_top = -44.0
margin_right = -5.0
margin_bottom = -6.0
text = "Version: 0.0.0"

View File

@ -0,0 +1,27 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=2]
[ext_resource path="res://screens/grabFocus.gd" type="Script" id=3]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Title" parent="." instance=ExtResource( 1 )]
anchor_left = 0.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 0.0
margin_top = 0.0
margin_right = 0.0
margin_bottom = 0.0
text = "Multiplayer (temp)"
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
text = "Temp: back to menu"
next_scene_path = "res://Screens/MenuScreen.tscn"

View File

@ -0,0 +1,9 @@
#MENUSCREEN:
# Script purely to grab focus for tabbing control
extends Control
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
$VBoxContainer/But_NewGame.grab_focus()

View File

@ -0,0 +1,87 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=1]
[ext_resource path="res://Screens/MenuScreen.gd" type="Script" id=2]
[ext_resource path="res://assets/liberation_serif_40pt.tres" type="DynamicFont" id=3]
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=5]
[ext_resource path="res://assets/ui_controlNode_dark_theme.tres" type="Theme" id=6]
[ext_resource path="res://UserInterface/But_Quit.tscn" type="PackedScene" id=10]
[node name="MenuScreen" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 6 )
script = ExtResource( 2 )
[node name="Background" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Title" parent="." instance=ExtResource( 5 )]
margin_top = 51.8676
margin_bottom = 117.868
theme = null
custom_fonts/font = ExtResource( 3 )
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -119.0
margin_top = -152.0
margin_right = 119.0
margin_bottom = 152.0
rect_scale = Vector2( 1.04675, 1.07389 )
[node name="But_NewGame" parent="VBoxContainer" instance=ExtResource( 1 )]
margin_right = 238.0
margin_bottom = 49.0
next_scene_path = "res://screens/NewGame_temp.tscn"
[node name="But_LoadGame" parent="VBoxContainer" instance=ExtResource( 1 )]
margin_top = 53.0
margin_right = 238.0
margin_bottom = 103.0
text = "Load Game"
next_scene_path = "res://screens/LoadGame_temp.tscn"
[node name="But_Multiplayer" parent="VBoxContainer" instance=ExtResource( 1 )]
margin_top = 107.0
margin_right = 238.0
margin_bottom = 156.0
text = "Multiplayer"
next_scene_path = "res://Screens/Multiplayer.tscn"
[node name="But_AddChar" parent="VBoxContainer" instance=ExtResource( 1 )]
margin_top = 160.0
margin_right = 238.0
margin_bottom = 210.0
text = "Add Character"
next_scene_path = "res://Screens/AddCharacter_temp.tscn"
[node name="But_Settings" parent="VBoxContainer" instance=ExtResource( 1 )]
margin_top = 214.0
margin_right = 238.0
margin_bottom = 263.0
text = "Settings"
next_scene_path = "res://Screens/Settings_temp.tscn"
[node name="But_Quit" parent="VBoxContainer" instance=ExtResource( 10 )]
margin_top = 267.0
margin_right = 238.0
margin_bottom = 303.0
[node name="Version" type="Label" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -177.0
margin_top = -44.0
margin_right = -5.0
margin_bottom = -6.0
text = "Version: 0.0.0"
__meta__ = {
"_edit_use_anchors_": false
}

View File

@ -0,0 +1,67 @@
[gd_scene load_steps=6 format=2]
[ext_resource path="res://assets/liberation_serif_40pt.tres" type="DynamicFont" id=1]
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=2]
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=3]
[ext_resource path="res://screens/grabFocus.gd" type="Script" id=4]
[ext_resource path="res://assets/ui_controlNode_dark_theme.tres" type="Theme" id=5]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 4 )
[node name="Panel" type="Panel" parent="."]
margin_right = 1024.0
margin_bottom = 600.0
theme = ExtResource( 5 )
[node name="Title" parent="." instance=ExtResource( 2 )]
margin_top = 51.8676
margin_bottom = 117.868
theme = null
custom_fonts/font = ExtResource( 1 )
text = "Multiplayer"
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -119.0
margin_top = -152.0
margin_right = 119.0
[node name="But_NewRoom" parent="VBoxContainer" instance=ExtResource( 3 )]
margin_right = 238.0
margin_bottom = 48.0
theme = ExtResource( 5 )
text = "New Room"
next_scene_path = "res://screens/NewRoom.tscn"
[node name="But_JoinRoom" parent="VBoxContainer" instance=ExtResource( 3 )]
margin_top = 52.0
margin_right = 238.0
margin_bottom = 100.0
theme = ExtResource( 5 )
text = "Join Room"
next_scene_path = "res://screens/JoinRoom.tscn"
[node name="But_ChBut_BackToMenu" parent="VBoxContainer" instance=ExtResource( 3 )]
margin_top = 104.0
margin_right = 238.0
margin_bottom = 152.0
theme = ExtResource( 5 )
text = "Back to Menu"
next_scene_path = "res://Screens/MenuScreen.tscn"
[node name="Version" type="Label" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -177.0
margin_top = -44.0
margin_right = -5.0
margin_bottom = -6.0
text = "Version: 0.0.0"

View File

@ -0,0 +1,27 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=2]
[ext_resource path="res://screens/grabFocus.gd" type="Script" id=3]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Title" parent="." instance=ExtResource( 1 )]
anchor_left = 0.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 0.0
margin_top = 0.0
margin_right = 0.0
margin_bottom = 0.0
text = "Multiplayer (temp)"
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
text = "Temp: back to menu"
next_scene_path = "res://Screens/MenuScreen.tscn"

View File

@ -0,0 +1,366 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://assets/liberation_serif_40pt.tres" type="DynamicFont" id=1]
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/ui_controlNode_dark_theme.tres" type="Theme" id=3]
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=4]
[ext_resource path="res://assets/ui_theme.tres" type="Theme" id=5]
[ext_resource path="res://assets/base_dynamicfont.tres" type="DynamicFont" id=6]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Background" type="Panel" parent="."]
margin_right = 1024.0
margin_bottom = 600.0
theme = ExtResource( 3 )
[node name="Title" parent="Background" instance=ExtResource( 2 )]
margin_top = 51.8676
margin_bottom = 117.868
theme = null
custom_fonts/font = ExtResource( 1 )
text = "New Room"
[node name="PanelContainer" type="PanelContainer" parent="Background"]
margin_left = 112.0
margin_top = 148.0
margin_right = 126.0
margin_bottom = 162.0
rect_min_size = Vector2( 800, 304 )
theme = ExtResource( 5 )
[node name="SettingsMenu" type="HBoxContainer" parent="Background/PanelContainer"]
margin_left = 7.0
margin_top = 7.0
margin_right = 797.0
margin_bottom = 297.0
[node name="LeftColumn" type="VBoxContainer" parent="Background/PanelContainer/SettingsMenu"]
margin_right = 393.0
margin_bottom = 290.0
rect_min_size = Vector2( 393, 290 )
[node name="ServerName" type="HBoxContainer" parent="Background/PanelContainer/SettingsMenu/LeftColumn"]
margin_right = 393.0
margin_bottom = 36.0
rect_min_size = Vector2( 0, 36 )
rect_pivot_offset = Vector2( -404, -103 )
[node name="Label" type="Label" parent="Background/PanelContainer/SettingsMenu/LeftColumn/ServerName"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 31.0
rect_min_size = Vector2( 150, 0 )
custom_fonts/font = ExtResource( 6 )
text = "Server Name"
[node name="LineEdit" type="LineEdit" parent="Background/PanelContainer/SettingsMenu/LeftColumn/ServerName"]
margin_left = 154.0
margin_right = 379.0
margin_bottom = 36.0
rect_min_size = Vector2( 225, 0 )
custom_fonts/font = ExtResource( 6 )
[node name="ServerType" type="HBoxContainer" parent="Background/PanelContainer/SettingsMenu/LeftColumn"]
margin_top = 40.0
margin_right = 393.0
margin_bottom = 76.0
rect_min_size = Vector2( 0, 36 )
[node name="Label" type="Label" parent="Background/PanelContainer/SettingsMenu/LeftColumn/ServerType"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 31.0
rect_min_size = Vector2( 150, 0 )
custom_fonts/font = ExtResource( 6 )
text = "Server Type"
[node name="OptionButton" type="OptionButton" parent="Background/PanelContainer/SettingsMenu/LeftColumn/ServerType"]
margin_left = 154.0
margin_right = 379.0
margin_bottom = 36.0
rect_min_size = Vector2( 225, 0 )
[node name="NAT_Type" type="HBoxContainer" parent="Background/PanelContainer/SettingsMenu/LeftColumn"]
margin_top = 80.0
margin_right = 393.0
margin_bottom = 116.0
rect_min_size = Vector2( 0, 36 )
[node name="Label" type="Label" parent="Background/PanelContainer/SettingsMenu/LeftColumn/NAT_Type"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 31.0
rect_min_size = Vector2( 150, 0 )
custom_fonts/font = ExtResource( 6 )
text = "NAT Type"
[node name="OptionButton" type="OptionButton" parent="Background/PanelContainer/SettingsMenu/LeftColumn/NAT_Type"]
margin_left = 154.0
margin_right = 379.0
margin_bottom = 36.0
rect_min_size = Vector2( 225, 0 )
[node name="GM_Password" type="HBoxContainer" parent="Background/PanelContainer/SettingsMenu/LeftColumn"]
margin_top = 120.0
margin_right = 393.0
margin_bottom = 156.0
rect_min_size = Vector2( 0, 36 )
[node name="Label" type="Label" parent="Background/PanelContainer/SettingsMenu/LeftColumn/GM_Password"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 31.0
rect_min_size = Vector2( 150, 0 )
custom_fonts/font = ExtResource( 6 )
text = "GM Password"
[node name="LineEdit" type="LineEdit" parent="Background/PanelContainer/SettingsMenu/LeftColumn/GM_Password"]
margin_left = 154.0
margin_right = 379.0
margin_bottom = 36.0
rect_min_size = Vector2( 225, 0 )
custom_fonts/font = ExtResource( 6 )
[node name="PlayerPassword" type="HBoxContainer" parent="Background/PanelContainer/SettingsMenu/LeftColumn"]
margin_top = 160.0
margin_right = 393.0
margin_bottom = 196.0
rect_min_size = Vector2( 0, 36 )
[node name="Label" type="Label" parent="Background/PanelContainer/SettingsMenu/LeftColumn/PlayerPassword"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 31.0
rect_min_size = Vector2( 150, 0 )
custom_fonts/font = ExtResource( 6 )
text = "Player Password"
[node name="LineEdit" type="LineEdit" parent="Background/PanelContainer/SettingsMenu/LeftColumn/PlayerPassword"]
margin_left = 154.0
margin_right = 379.0
margin_bottom = 36.0
rect_min_size = Vector2( 225, 0 )
custom_fonts/font = ExtResource( 6 )
[node name="TypeOfGame" type="HBoxContainer" parent="Background/PanelContainer/SettingsMenu/LeftColumn"]
margin_top = 200.0
margin_right = 393.0
margin_bottom = 236.0
rect_min_size = Vector2( 0, 36 )
[node name="Label" type="Label" parent="Background/PanelContainer/SettingsMenu/LeftColumn/TypeOfGame"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 31.0
rect_min_size = Vector2( 150, 0 )
custom_fonts/font = ExtResource( 6 )
text = "Type of Game"
[node name="OptionButton" type="OptionButton" parent="Background/PanelContainer/SettingsMenu/LeftColumn/TypeOfGame"]
margin_left = 154.0
margin_right = 379.0
margin_bottom = 36.0
rect_min_size = Vector2( 225, 0 )
[node name="ServerStatus" type="HBoxContainer" parent="Background/PanelContainer/SettingsMenu/LeftColumn"]
margin_top = 240.0
margin_right = 393.0
margin_bottom = 276.0
rect_min_size = Vector2( 0, 36 )
[node name="Label" type="Label" parent="Background/PanelContainer/SettingsMenu/LeftColumn/ServerStatus"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 31.0
rect_min_size = Vector2( 150, 0 )
custom_fonts/font = ExtResource( 6 )
text = "Server Status"
[node name="OptionButton" type="OptionButton" parent="Background/PanelContainer/SettingsMenu/LeftColumn/ServerStatus"]
margin_left = 154.0
margin_right = 379.0
margin_bottom = 36.0
rect_min_size = Vector2( 225, 0 )
[node name="RightColumn" type="VBoxContainer" parent="Background/PanelContainer/SettingsMenu"]
margin_left = 397.0
margin_right = 790.0
margin_bottom = 290.0
rect_min_size = Vector2( 393, 290 )
[node name="ModuleSelection" type="HBoxContainer" parent="Background/PanelContainer/SettingsMenu/RightColumn"]
margin_right = 393.0
margin_bottom = 36.0
rect_min_size = Vector2( 0, 36 )
[node name="Label" type="Label" parent="Background/PanelContainer/SettingsMenu/RightColumn/ModuleSelection"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 31.0
rect_min_size = Vector2( 150, 0 )
custom_fonts/font = ExtResource( 6 )
text = "Module Selection"
[node name="OptionButton" type="OptionButton" parent="Background/PanelContainer/SettingsMenu/RightColumn/ModuleSelection"]
margin_left = 154.0
margin_right = 379.0
margin_bottom = 36.0
rect_min_size = Vector2( 225, 0 )
[node name="ChatLimit" type="HBoxContainer" parent="Background/PanelContainer/SettingsMenu/RightColumn"]
margin_top = 40.0
margin_right = 393.0
margin_bottom = 76.0
rect_min_size = Vector2( 0, 36 )
[node name="Label" type="Label" parent="Background/PanelContainer/SettingsMenu/RightColumn/ChatLimit"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 31.0
rect_min_size = Vector2( 150, 0 )
custom_fonts/font = ExtResource( 6 )
text = "Char. Chat Limit"
[node name="CheckButton" type="CheckButton" parent="Background/PanelContainer/SettingsMenu/RightColumn/ChatLimit"]
margin_left = 154.0
margin_right = 220.0
margin_bottom = 36.0
[node name="CharacterLimit" type="HBoxContainer" parent="Background/PanelContainer/SettingsMenu/RightColumn"]
margin_top = 80.0
margin_right = 393.0
margin_bottom = 116.0
rect_min_size = Vector2( 0, 36 )
[node name="Label" type="Label" parent="Background/PanelContainer/SettingsMenu/RightColumn/CharacterLimit"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 31.0
rect_min_size = Vector2( 150, 0 )
custom_fonts/font = ExtResource( 6 )
text = "Character Limit"
[node name="OptionButton" type="OptionButton" parent="Background/PanelContainer/SettingsMenu/RightColumn/CharacterLimit"]
margin_left = 154.0
margin_right = 379.0
margin_bottom = 36.0
rect_min_size = Vector2( 225, 0 )
[node name="PlayersAllowed" type="HBoxContainer" parent="Background/PanelContainer/SettingsMenu/RightColumn"]
margin_top = 120.0
margin_right = 393.0
margin_bottom = 156.0
rect_min_size = Vector2( 0, 36 )
[node name="Label" type="Label" parent="Background/PanelContainer/SettingsMenu/RightColumn/PlayersAllowed"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 31.0
rect_min_size = Vector2( 150, 0 )
custom_fonts/font = ExtResource( 6 )
text = "Players Allowed"
[node name="OptionButton" type="OptionButton" parent="Background/PanelContainer/SettingsMenu/RightColumn/PlayersAllowed"]
margin_left = 154.0
margin_right = 379.0
margin_bottom = 36.0
rect_min_size = Vector2( 225, 0 )
[node name="SaveGame" type="HBoxContainer" parent="Background/PanelContainer/SettingsMenu/RightColumn"]
margin_top = 160.0
margin_right = 393.0
margin_bottom = 196.0
rect_min_size = Vector2( 0, 36 )
[node name="Label" type="Label" parent="Background/PanelContainer/SettingsMenu/RightColumn/SaveGame"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 31.0
rect_min_size = Vector2( 150, 0 )
custom_fonts/font = ExtResource( 6 )
text = "Save Game"
[node name="CheckButton" type="CheckButton" parent="Background/PanelContainer/SettingsMenu/RightColumn/SaveGame"]
margin_left = 154.0
margin_right = 220.0
margin_bottom = 36.0
[node name="PlayerPause" type="HBoxContainer" parent="Background/PanelContainer/SettingsMenu/RightColumn"]
margin_top = 200.0
margin_right = 393.0
margin_bottom = 236.0
rect_min_size = Vector2( 0, 36 )
[node name="Label" type="Label" parent="Background/PanelContainer/SettingsMenu/RightColumn/PlayerPause"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 31.0
rect_min_size = Vector2( 150, 0 )
custom_fonts/font = ExtResource( 6 )
text = "Player Pause"
[node name="CheckButton" type="CheckButton" parent="Background/PanelContainer/SettingsMenu/RightColumn/PlayerPause"]
margin_left = 154.0
margin_right = 220.0
margin_bottom = 36.0
[node name="StartAndStop" type="HBoxContainer" parent="Background/PanelContainer/SettingsMenu/RightColumn"]
margin_top = 240.0
margin_right = 393.0
margin_bottom = 276.0
rect_min_size = Vector2( 0, 36 )
[node name="Label" type="Label" parent="Background/PanelContainer/SettingsMenu/RightColumn/StartAndStop"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 31.0
rect_min_size = Vector2( 150, 0 )
custom_fonts/font = ExtResource( 6 )
text = "Start and Stop"
[node name="CheckButton" type="CheckButton" parent="Background/PanelContainer/SettingsMenu/RightColumn/StartAndStop"]
margin_left = 154.0
margin_right = 220.0
margin_bottom = 36.0
[node name="VBoxContainer" type="VBoxContainer" parent="Background"]
margin_left = 393.0
margin_top = 501.0
margin_right = 631.0
margin_bottom = 552.0
rect_min_size = Vector2( 0, 51 )
[node name="Version" type="Label" parent="Background"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -177.0
margin_top = -44.0
margin_right = -5.0
margin_bottom = -6.0
text = "Version: 0.0.0"
[node name="HBoxContainer" type="HBoxContainer" parent="Background"]
margin_left = 273.0
margin_top = 501.0
margin_right = 753.0
margin_bottom = 552.0
rect_min_size = Vector2( 476, 51 )
[node name="But_Multiplayer" parent="Background/HBoxContainer" instance=ExtResource( 4 )]
margin_right = 238.0
margin_bottom = 51.0
rect_min_size = Vector2( 238, 51 )
text = "Go Back"
next_scene_path = "res://Screens/Multiplayer.tscn"
[node name="But_Multiplayer2" parent="Background/HBoxContainer" instance=ExtResource( 4 )]
margin_left = 242.0
margin_right = 480.0
margin_bottom = 51.0
rect_min_size = Vector2( 238, 51 )
text = "Create New Room"

View File

@ -0,0 +1,5 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://Screens/MenuScreen.tscn" type="PackedScene" id=1]
[node name="MenuScreen" instance=ExtResource( 1 )]

View File

@ -0,0 +1,27 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=2]
[ext_resource path="res://screens/grabFocus.gd" type="Script" id=3]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Title" parent="." instance=ExtResource( 1 )]
anchor_left = 0.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 0.0
margin_top = 0.0
margin_right = 0.0
margin_bottom = 0.0
text = "Multiplayer (temp)"
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
text = "Temp: back to menu"
next_scene_path = "res://Screens/MenuScreen.tscn"

View File

@ -0,0 +1,16 @@
extends SpinBox
# 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

View File

@ -0,0 +1,17 @@
extends Button
# Declare member variables here. Examples:
# var a: int = 2
# var b: String = "text"
var tempToggle = 0
func _on_Button_button_up():
var controlNode = get_node("../../")
print(controlNode.name)
if(tempToggle == 0):
controlNode.theme=load("res://assets/ui_controlNode_dark_theme.tres")
tempToggle = 1
else:
controlNode.theme=load("res://assets/ui_controlNode_light_theme.tres")
tempToggle = 0

View File

@ -0,0 +1,7 @@
extends Control
#GRAB FOCUS: simple script for temp files to grab focus
#func _ready() -> void:
# $Title/But_ChangeScene.grab_focus()