start Multiplayer

This commit is contained in:
2023-01-15 23:59:12 +01:00
parent 5cfc0839f7
commit 1ef5d54d6c
11 changed files with 209 additions and 255 deletions

View File

@@ -1,4 +1,8 @@
[gd_scene format=3 uid="uid://dsnlwjofq6psf"]
[gd_scene load_steps=4 format=3 uid="uid://dsnlwjofq6psf"]
[ext_resource type="Script" path="res://scenes/GUI/MainMenu.gd" id="1_23sw7"]
[ext_resource type="PackedScene" uid="uid://3o430r2kys4k" path="res://scenes/GUI/MAIN.tscn" id="1_sojs8"]
[ext_resource type="PackedScene" uid="uid://d0kkhtesg83g" path="res://scenes/GUI/START_GAME.tscn" id="2_ipoll"]
[node name="Main Menu" type="Control"]
layout_mode = 3
@@ -9,61 +13,14 @@ anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_23sw7")
metadata/_edit_use_anchors_ = true
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -198.0
offset_top = -104.0
offset_right = 199.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
[node name="MAIN" parent="." instance=ExtResource("1_sojs8")]
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
offset_left = 102.0
offset_right = 295.0
offset_bottom = 31.0
size_flags_horizontal = 4
size_flags_vertical = 2
[node name="START GAME" parent="." instance=ExtResource("2_ipoll")]
visible = false
[node name="Start" type="Button" parent="VBoxContainer/HBoxContainer"]
offset_right = 96.0
offset_bottom = 31.0
text = "Start Game"
[node name="ModsMenu" type="MenuButton" parent="VBoxContainer/HBoxContainer"]
offset_left = 100.0
offset_right = 193.0
offset_bottom = 31.0
text = "Select Mod"
flat = false
item_count = 2
popup/item_0/text = "test1"
popup/item_0/id = 0
popup/item_1/text = "test2"
popup/item_1/id = 1
[node name="VBoxContainer2" type="VBoxContainer" parent="VBoxContainer"]
offset_left = 138.0
offset_top = 102.0
offset_right = 258.0
offset_bottom = 168.0
size_flags_horizontal = 4
size_flags_vertical = 10
[node name="SettingsButton" type="Button" parent="VBoxContainer/VBoxContainer2"]
offset_right = 120.0
offset_bottom = 31.0
text = "Game Settings"
icon_alignment = 1
[node name="ExitButton" type="Button" parent="VBoxContainer/VBoxContainer2"]
offset_top = 35.0
offset_right = 120.0
offset_bottom = 66.0
text = "Exit"
[connection signal="start_game" from="MAIN" to="." method="_on_main_start_game"]
[connection signal="back" from="START GAME" to="." method="_on_start_game_back"]
[connection signal="start_game" from="START GAME" to="." method="_on_start_game_start_game"]