2022-02-13 19:56:23 +00:00
|
|
|
[gd_scene load_steps=14 format=2]
|
2021-09-26 18:55:48 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://Player_Settings_Button.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://HostAndJoinGame.gd" type="Script" id=2]
|
|
|
|
[ext_resource path="res://Start Game.gd" type="Script" id=3]
|
2021-11-14 19:43:53 +00:00
|
|
|
[ext_resource path="res://GUI.gd" type="Script" id=4]
|
2022-01-09 20:01:00 +00:00
|
|
|
[ext_resource path="res://Die.gd" type="Script" id=5]
|
2022-02-13 19:56:23 +00:00
|
|
|
[ext_resource path="res://OpenSans-Bold.ttf" type="DynamicFontData" id=6]
|
|
|
|
[ext_resource path="res://OpenSans-BoldItalic.ttf" type="DynamicFontData" id=7]
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
|
|
size = 24
|
|
|
|
font_data = ExtResource( 6 )
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=2]
|
|
|
|
size = 24
|
|
|
|
font_data = ExtResource( 6 )
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=3]
|
|
|
|
size = 24
|
|
|
|
font_data = ExtResource( 6 )
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=4]
|
|
|
|
size = 24
|
|
|
|
font_data = ExtResource( 6 )
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=5]
|
|
|
|
size = 24
|
|
|
|
font_data = ExtResource( 6 )
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=6]
|
|
|
|
size = 20
|
|
|
|
font_data = ExtResource( 7 )
|
2021-09-26 18:55:48 +00:00
|
|
|
|
|
|
|
[node name="GUI" type="MarginContainer"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_top = -0.418091
|
|
|
|
margin_bottom = -0.418091
|
|
|
|
custom_constants/margin_right = 120
|
|
|
|
custom_constants/margin_top = 80
|
|
|
|
custom_constants/margin_left = 120
|
|
|
|
custom_constants/margin_bottom = 80
|
2021-11-14 19:43:53 +00:00
|
|
|
script = ExtResource( 4 )
|
2021-09-26 18:55:48 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2022-01-16 20:00:25 +00:00
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
2022-01-23 19:46:53 +00:00
|
|
|
margin_left = 120.0
|
|
|
|
margin_top = 80.0
|
|
|
|
margin_right = 904.0
|
|
|
|
margin_bottom = 520.0
|
2022-01-16 20:00:25 +00:00
|
|
|
color = Color( 0.858824, 0.333333, 0.129412, 1 )
|
|
|
|
|
2021-09-26 18:55:48 +00:00
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
|
|
margin_left = 120.0
|
|
|
|
margin_top = 80.0
|
|
|
|
margin_right = 904.0
|
|
|
|
margin_bottom = 520.0
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
|
2022-02-13 19:56:23 +00:00
|
|
|
margin_right = 205.0
|
2021-09-26 18:55:48 +00:00
|
|
|
margin_bottom = 440.0
|
|
|
|
|
|
|
|
[node name="MenuOptions" type="VBoxContainer" parent="HBoxContainer/VBoxContainer"]
|
2022-02-13 19:56:23 +00:00
|
|
|
margin_right = 205.0
|
2021-09-26 18:55:48 +00:00
|
|
|
margin_bottom = 440.0
|
|
|
|
size_flags_vertical = 3
|
|
|
|
custom_constants/separation = 30
|
|
|
|
alignment = 1
|
|
|
|
|
2022-01-16 20:00:25 +00:00
|
|
|
[node name="StartGame" type="Label" parent="HBoxContainer/VBoxContainer/MenuOptions"]
|
2022-02-13 19:56:23 +00:00
|
|
|
margin_top = 75.0
|
|
|
|
margin_right = 205.0
|
|
|
|
margin_bottom = 109.0
|
2021-09-26 18:55:48 +00:00
|
|
|
mouse_filter = 1
|
2022-02-13 19:56:23 +00:00
|
|
|
custom_fonts/font = SubResource( 1 )
|
2021-09-26 18:55:48 +00:00
|
|
|
text = "Start Game"
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
2022-01-09 20:01:00 +00:00
|
|
|
[node name="DieTest" type="Label" parent="HBoxContainer/VBoxContainer/MenuOptions"]
|
2022-02-13 19:56:23 +00:00
|
|
|
margin_top = 139.0
|
|
|
|
margin_right = 205.0
|
|
|
|
margin_bottom = 173.0
|
2022-01-09 20:01:00 +00:00
|
|
|
mouse_filter = 1
|
2022-02-13 19:56:23 +00:00
|
|
|
custom_fonts/font = SubResource( 2 )
|
2022-01-09 20:01:00 +00:00
|
|
|
text = "Die Test"
|
|
|
|
script = ExtResource( 5 )
|
|
|
|
|
2022-01-16 20:00:25 +00:00
|
|
|
[node name="LoadGame" type="Label" parent="HBoxContainer/VBoxContainer/MenuOptions"]
|
2022-02-13 19:56:23 +00:00
|
|
|
margin_top = 203.0
|
|
|
|
margin_right = 205.0
|
|
|
|
margin_bottom = 237.0
|
2021-10-03 19:00:39 +00:00
|
|
|
mouse_filter = 1
|
2022-02-13 19:56:23 +00:00
|
|
|
custom_fonts/font = SubResource( 3 )
|
2021-10-03 19:00:39 +00:00
|
|
|
text = "Load Game"
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
2021-09-26 18:55:48 +00:00
|
|
|
[node name="HostAndJoinGame" type="Label" parent="HBoxContainer/VBoxContainer/MenuOptions"]
|
2022-02-13 19:56:23 +00:00
|
|
|
margin_top = 267.0
|
|
|
|
margin_right = 205.0
|
|
|
|
margin_bottom = 301.0
|
2021-09-26 18:55:48 +00:00
|
|
|
mouse_filter = 1
|
2022-02-13 19:56:23 +00:00
|
|
|
custom_fonts/font = SubResource( 4 )
|
2021-09-26 18:55:48 +00:00
|
|
|
text = "Host / Join Game"
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
2022-01-16 20:00:25 +00:00
|
|
|
[node name="PlayerSettings" type="Label" parent="HBoxContainer/VBoxContainer/MenuOptions"]
|
2022-02-13 19:56:23 +00:00
|
|
|
margin_top = 331.0
|
|
|
|
margin_right = 205.0
|
|
|
|
margin_bottom = 365.0
|
2021-09-26 18:55:48 +00:00
|
|
|
mouse_filter = 1
|
2022-02-13 19:56:23 +00:00
|
|
|
custom_fonts/font = SubResource( 5 )
|
2021-09-26 18:55:48 +00:00
|
|
|
text = "Player Settings"
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="HBoxContainer"]
|
2022-02-13 19:56:23 +00:00
|
|
|
margin_left = 209.0
|
2021-09-26 18:55:48 +00:00
|
|
|
margin_right = 784.0
|
|
|
|
margin_bottom = 440.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer/CenterContainer"]
|
2022-02-13 19:56:23 +00:00
|
|
|
margin_left = 239.0
|
|
|
|
margin_top = 206.0
|
|
|
|
margin_right = 336.0
|
|
|
|
margin_bottom = 234.0
|
|
|
|
custom_fonts/font = SubResource( 6 )
|
2021-09-26 18:55:48 +00:00
|
|
|
text = "Test Menu"
|
2021-11-14 19:43:53 +00:00
|
|
|
|
2022-01-16 20:00:25 +00:00
|
|
|
[connection signal="gui_input" from="HBoxContainer/VBoxContainer/MenuOptions/StartGame" to="HBoxContainer/VBoxContainer/MenuOptions/StartGame" method="_on_Start_Game_gui_input"]
|
2022-01-09 20:01:00 +00:00
|
|
|
[connection signal="gui_input" from="HBoxContainer/VBoxContainer/MenuOptions/DieTest" to="HBoxContainer/VBoxContainer/MenuOptions/DieTest" method="_on_Start_Game_gui_input"]
|
2022-01-16 20:00:25 +00:00
|
|
|
[connection signal="gui_input" from="HBoxContainer/VBoxContainer/MenuOptions/LoadGame" to="HBoxContainer/VBoxContainer/MenuOptions/LoadGame" method="_on_Start_Game_gui_input"]
|
2021-09-26 18:55:48 +00:00
|
|
|
[connection signal="gui_input" from="HBoxContainer/VBoxContainer/MenuOptions/HostAndJoinGame" to="HBoxContainer/VBoxContainer/MenuOptions/HostAndJoinGame" method="_on_HostAndJoinGame_gui_input"]
|
2022-01-16 20:00:25 +00:00
|
|
|
[connection signal="gui_input" from="HBoxContainer/VBoxContainer/MenuOptions/PlayerSettings" to="HBoxContainer/VBoxContainer/MenuOptions/PlayerSettings" method="_on_Player_Settings_gui_input"]
|