aboutsummaryrefslogtreecommitdiff
path: root/game/src/LobbyMenu/LobbyMenu.tscn
blob: 5dad4222f63fd9a9a4d2e6cec34f3baea73bb2fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[gd_scene load_steps=2 format=3 uid="uid://crhkgngfnxf4y"]

[ext_resource type="Script" path="res://src/LobbyMenu/LobbyMenu.gd" id="1_cvwum"]

[node name="LobbyMenu" type="Control" node_paths=PackedStringArray("start_button")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_cvwum")
start_button = NodePath("GameStartPanel/VBoxContainer/StartButton")

[node name="GameSelectPanel" type="Panel" parent="."]
layout_mode = 0
offset_right = 270.0
offset_bottom = 718.0

[node name="VBoxContainer" type="VBoxContainer" parent="GameSelectPanel"]
layout_mode = 0
offset_right = 268.0
offset_bottom = 717.0

[node name="GameSelectList" type="ItemList" parent="GameSelectPanel/VBoxContainer"]
custom_minimum_size = Vector2(268, 500)
layout_mode = 2
item_count = 2
item_0/text = "1836"
item_1/text = "1863"

[node name="MarginContainer" type="MarginContainer" parent="GameSelectPanel/VBoxContainer"]
custom_minimum_size = Vector2(0, 150)
layout_mode = 2

[node name="BackButton" type="Button" parent="GameSelectPanel/VBoxContainer"]
layout_mode = 2
text = "Back"

[node name="GameStartPanel" type="Panel" parent="."]
layout_mode = 0
offset_left = 1010.0
offset_right = 1280.0
offset_bottom = 718.0

[node name="VBoxContainer" type="VBoxContainer" parent="GameStartPanel"]
layout_mode = 0
offset_right = 268.0
offset_bottom = 718.0

[node name="TopMarginContainer" type="MarginContainer" parent="GameStartPanel/VBoxContainer"]
custom_minimum_size = Vector2(0, 50)
layout_mode = 2

[node name="SelectedCountryNameLabel" type="Label" parent="GameStartPanel/VBoxContainer"]
custom_minimum_size = Vector2(0, 50)
layout_mode = 2
text = "France"
horizontal_alignment = 1

[node name="MarginContainer" type="MarginContainer" parent="GameStartPanel/VBoxContainer"]
custom_minimum_size = Vector2(0, 550)
layout_mode = 2

[node name="StartButton" type="Button" parent="GameStartPanel/VBoxContainer"]
layout_mode = 2
disabled = true
text = "Start Game"

[connection signal="save_game_selected" from="." to="." method="_on_save_game_selected"]
[connection signal="item_selected" from="GameSelectPanel/VBoxContainer/GameSelectList" to="." method="_on_game_select_list_item_selected"]
[connection signal="button_down" from="GameSelectPanel/VBoxContainer/BackButton" to="." method="_on_back_button_button_down"]
[connection signal="button_down" from="GameStartPanel/VBoxContainer/StartButton" to="." method="_on_start_button_button_down"]