2024-08-05 08:30:50 +00:00
|
|
|
[gd_scene load_steps=2 format=3 uid="uid://bvll23f5ibd4v"]
|
|
|
|
|
2024-08-08 07:20:09 +00:00
|
|
|
[ext_resource type="Script" path="res://Scripts/UI/LaunchScreen.cs" id="1_hiet3"]
|
2024-08-05 08:30:50 +00:00
|
|
|
|
2024-08-09 06:14:51 +00:00
|
|
|
[node name="LaunchScreen" type="Control" node_paths=PackedStringArray("ServerPortInput", "ServerAddrInput", "StartAsServerButton", "StartAsClientButton")]
|
2024-08-05 08:30:50 +00:00
|
|
|
process_mode = 3
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2024-08-08 07:20:09 +00:00
|
|
|
script = ExtResource("1_hiet3")
|
2024-08-05 08:30:50 +00:00
|
|
|
ServerPortInput = NodePath("CenterContainer/VBoxContainer/PortEdit")
|
|
|
|
ServerAddrInput = NodePath("CenterContainer/VBoxContainer/AddrEdit")
|
2024-08-05 15:54:22 +00:00
|
|
|
StartAsServerButton = NodePath("CenterContainer/VBoxContainer/MultiplayerActions/HostButton")
|
|
|
|
StartAsClientButton = NodePath("CenterContainer/VBoxContainer/MultiplayerActions/ConnectButton")
|
2024-08-05 08:30:50 +00:00
|
|
|
|
|
|
|
[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
|
|
|
|
|
2024-08-08 09:10:48 +00:00
|
|
|
[node name="MainTitle" type="Label" parent="CenterContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "AceField
|
2024-08-09 07:58:38 +00:00
|
|
|
Prototype v0.0.0"
|
2024-08-08 09:10:48 +00:00
|
|
|
horizontal_alignment = 1
|
|
|
|
|
2024-08-09 06:14:51 +00:00
|
|
|
[node name="Spacer" type="BoxContainer" parent="CenterContainer/VBoxContainer"]
|
|
|
|
custom_minimum_size = Vector2(2.08165e-12, 16)
|
2024-08-05 15:54:22 +00:00
|
|
|
layout_mode = 2
|
|
|
|
|
2024-08-08 09:10:48 +00:00
|
|
|
[node name="PlayTitle" type="Label" parent="CenterContainer/VBoxContainer"]
|
2024-08-05 08:30:50 +00:00
|
|
|
layout_mode = 2
|
2024-08-08 07:20:09 +00:00
|
|
|
text = "Play the Game"
|
2024-08-05 08:30:50 +00:00
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="PortEdit" type="LineEdit" parent="CenterContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
placeholder_text = "Server port"
|
|
|
|
|
|
|
|
[node name="AddrEdit" type="LineEdit" parent="CenterContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
placeholder_text = "Server address"
|
|
|
|
|
2024-08-05 15:54:22 +00:00
|
|
|
[node name="MultiplayerActions" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
|
2024-08-05 08:30:50 +00:00
|
|
|
layout_mode = 2
|
|
|
|
|
2024-08-05 15:54:22 +00:00
|
|
|
[node name="HostButton" type="Button" parent="CenterContainer/VBoxContainer/MultiplayerActions"]
|
2024-08-05 08:30:50 +00:00
|
|
|
layout_mode = 2
|
|
|
|
text = "Host a Game"
|
|
|
|
|
2024-08-05 15:54:22 +00:00
|
|
|
[node name="ConnectButton" type="Button" parent="CenterContainer/VBoxContainer/MultiplayerActions"]
|
2024-08-05 08:30:50 +00:00
|
|
|
layout_mode = 2
|
|
|
|
text = "Connect a Game"
|