50 lines
1.6 KiB
Plaintext
50 lines
1.6 KiB
Plaintext
|
[gd_scene load_steps=2 format=3 uid="uid://dk8x2aeq1eevf"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://Scripts/UI/BootScreen.cs" id="1_ajoaa"]
|
||
|
|
||
|
[node name="BootScreen" type="Control" node_paths=PackedStringArray("StartGameButton", "PlayerNameInput", "PlayerCountLabel")]
|
||
|
process_mode = 3
|
||
|
layout_mode = 3
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
script = ExtResource("1_ajoaa")
|
||
|
StartGameButton = NodePath("CenterContainer/VBoxContainer/StartButton")
|
||
|
PlayerNameInput = NodePath("CenterContainer/VBoxContainer/NameEdit")
|
||
|
PlayerCountLabel = NodePath("CenterContainer/VBoxContainer/PlayerCountLabel")
|
||
|
|
||
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
||
|
layout_mode = 0
|
||
|
offset_right = 1152.0
|
||
|
offset_bottom = 648.0
|
||
|
|
||
|
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
|
||
|
layout_mode = 2
|
||
|
|
||
|
[node name="PlayerCountLabel" type="Label" parent="CenterContainer/VBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
theme_override_font_sizes/font_size = 28
|
||
|
text = "01/16"
|
||
|
horizontal_alignment = 1
|
||
|
|
||
|
[node name="PlayerCountHint" type="Label" parent="CenterContainer/VBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
text = "Waiting for Players"
|
||
|
horizontal_alignment = 1
|
||
|
|
||
|
[node name="Spacer" type="BoxContainer" parent="CenterContainer/VBoxContainer"]
|
||
|
custom_minimum_size = Vector2(2.08165e-12, 8)
|
||
|
layout_mode = 2
|
||
|
|
||
|
[node name="NameEdit" type="LineEdit" parent="CenterContainer/VBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
placeholder_text = "Player name"
|
||
|
alignment = 1
|
||
|
|
||
|
[node name="StartButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
disabled = true
|
||
|
text = "Start the Game"
|