333 lines
12 KiB
Plaintext
333 lines
12 KiB
Plaintext
[gd_scene format=3 uid="uid://b00eef4tqt2ri"]
|
|
|
|
[ext_resource type="Script" uid="uid://b1lcy1ikdkknq" path="res://scripts/ui/login_screen.gd" id="1"]
|
|
[ext_resource type="Theme" uid="uid://da337sh5qxi0s" path="res://assets/themes/ui_theme.tres" id="2"]
|
|
|
|
[node name="LoginScreen" type="Control" unique_id=1394670984]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("2")
|
|
script = ExtResource("1")
|
|
|
|
[node name="Background" type="ColorRect" parent="." unique_id=1913867293]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.12, 0.1, 0.08, 1)
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="." unique_id=706535114]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="LayoutVBox" type="VBoxContainer" parent="CenterContainer" unique_id=1110313476]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="HeaderVBox" type="VBoxContainer" parent="CenterContainer/LayoutVBox" unique_id=851120967]
|
|
visible = false
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 2
|
|
|
|
[node name="LogoLabel" type="Label" parent="CenterContainer/LayoutVBox/HeaderVBox" unique_id=73067558]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.647, 0.996, 0.224, 1)
|
|
theme_override_font_sizes/font_size = 42
|
|
text = "TEKTON"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="SubtitleLabel" type="Label" parent="CenterContainer/LayoutVBox/HeaderVBox" unique_id=240064697]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.992, 0.796, 0.047, 1)
|
|
theme_override_font_sizes/font_size = 14
|
|
text = "Armageddon"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="ServerSelectionSection" type="VBoxContainer" parent="CenterContainer/LayoutVBox" unique_id=580109643]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="ConnectionModeLabel" type="Label" parent="CenterContainer/LayoutVBox/ServerSelectionSection" unique_id=2002206900]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1)
|
|
theme_override_font_sizes/font_size = 12
|
|
text = "CONNECTION MODE"
|
|
|
|
[node name="ServerOption" type="OptionButton" parent="CenterContainer/LayoutVBox/ServerSelectionSection" unique_id=975117024]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
selected = 3
|
|
item_count = 4
|
|
popup/item_0/text = "Nakama - Localhost (Testing)"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "Nakama - Remote Server (Host IP)"
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "LAN Direct (No Server)"
|
|
popup/item_2/id = 2
|
|
popup/item_3/text = "Nakama - Tekton Dash EU"
|
|
popup/item_3/id = 3
|
|
|
|
[node name="ServerIPInput" type="LineEdit" parent="CenterContainer/LayoutVBox/ServerSelectionSection" unique_id=1444265129]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
text = "127.0.0.1"
|
|
placeholder_text = "Enter Nakama Server IP..."
|
|
|
|
[node name="LANSection" type="VBoxContainer" parent="CenterContainer/LayoutVBox/ServerSelectionSection" unique_id=1917634402]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="LanInfo" type="Label" parent="CenterContainer/LayoutVBox/ServerSelectionSection/LANSection" unique_id=75077084]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.7, 0.7, 0.7, 1)
|
|
theme_override_font_sizes/font_size = 12
|
|
text = "Play over LAN without any server.
|
|
Firewall may need to allow port 7777."
|
|
autowrap_mode = 3
|
|
|
|
[node name="LANHostBtn" type="Button" parent="CenterContainer/LayoutVBox/ServerSelectionSection/LANSection" unique_id=751026831]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
text = "HOST LAN GAME"
|
|
|
|
[node name="LanSeparator" type="Label" parent="CenterContainer/LayoutVBox/ServerSelectionSection/LANSection" unique_id=2088668724]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.5, 0.5, 0.5, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
text = "─────── or join a friend ───────"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="LANIPInput" type="LineEdit" parent="CenterContainer/LayoutVBox/ServerSelectionSection/LANSection" unique_id=1859021984]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
text = "127.0.0.1"
|
|
placeholder_text = "Host IP (e.g. 192.168.1.10)"
|
|
|
|
[node name="LANJoinBtn" type="Button" parent="CenterContainer/LayoutVBox/ServerSelectionSection/LANSection" unique_id=2009389522]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
text = "JOIN LAN GAME"
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="CenterContainer/LayoutVBox" unique_id=1424264812]
|
|
layout_mode = 2
|
|
|
|
[node name="TabContainer" type="TabContainer" parent="CenterContainer/LayoutVBox" unique_id=2135112748]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(420, 0)
|
|
layout_mode = 2
|
|
current_tab = 0
|
|
|
|
[node name="Login" type="MarginContainer" parent="CenterContainer/LayoutVBox/TabContainer" unique_id=1294712927]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 16
|
|
theme_override_constants/margin_top = 16
|
|
theme_override_constants/margin_right = 16
|
|
theme_override_constants/margin_bottom = 16
|
|
metadata/_tab_index = 0
|
|
|
|
[node name="VBox" type="VBoxContainer" parent="CenterContainer/LayoutVBox/TabContainer/Login" unique_id=1063599539]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="GuestButton" type="Button" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox" unique_id=2037993426]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 48)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 16
|
|
text = "▶ PLAY AS GUEST"
|
|
|
|
[node name="OrLabel" type="Label" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox" unique_id=1387412213]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1)
|
|
text = "─────── or sign in ───────"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="EmailInput" type="LineEdit" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox" unique_id=323436289]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
placeholder_text = "Email"
|
|
|
|
[node name="PasswordInput" type="LineEdit" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox" unique_id=1098627484]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
placeholder_text = "Password"
|
|
secret = true
|
|
|
|
[node name="RememberMe" type="CheckBox" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox" unique_id=1013722117]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
button_pressed = true
|
|
text = "Remember me"
|
|
|
|
[node name="LoginButton" type="Button" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox" unique_id=945681236]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 48)
|
|
layout_mode = 2
|
|
text = "Sign In"
|
|
|
|
[node name="SocialLabel" type="Label" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox" unique_id=840440943]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1)
|
|
text = "─────── or continue with ───────"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="SocialButtons" type="HBoxContainer" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox" unique_id=1899762021]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
alignment = 1
|
|
|
|
[node name="GoogleButton" type="Button" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox/SocialButtons" unique_id=196743645]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(100, 44)
|
|
layout_mode = 2
|
|
text = "Google"
|
|
|
|
[node name="AppleButton" type="Button" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox/SocialButtons" unique_id=1174582184]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(100, 44)
|
|
layout_mode = 2
|
|
text = "Apple"
|
|
|
|
[node name="FacebookButton" type="Button" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox/SocialButtons" unique_id=1252096120]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(100, 44)
|
|
layout_mode = 2
|
|
text = "Facebook"
|
|
|
|
[node name="StatusLabel" type="Label" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox" unique_id=1679807364]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(1, 0.4, 0.4, 1)
|
|
horizontal_alignment = 1
|
|
autowrap_mode = 2
|
|
|
|
[node name="LoadingSpinner" type="TextureProgressBar" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox" unique_id=1985748047]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
custom_minimum_size = Vector2(40, 40)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
|
|
[node name="Register" type="MarginContainer" parent="CenterContainer/LayoutVBox/TabContainer" unique_id=1373074681]
|
|
visible = false
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 16
|
|
theme_override_constants/margin_top = 16
|
|
theme_override_constants/margin_right = 16
|
|
theme_override_constants/margin_bottom = 16
|
|
metadata/_tab_index = 1
|
|
|
|
[node name="VBox" type="VBoxContainer" parent="CenterContainer/LayoutVBox/TabContainer/Register" unique_id=839364109]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="RegEmailInput" type="LineEdit" parent="CenterContainer/LayoutVBox/TabContainer/Register/VBox" unique_id=1906331672]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
placeholder_text = "Email"
|
|
|
|
[node name="RegUsernameInput" type="LineEdit" parent="CenterContainer/LayoutVBox/TabContainer/Register/VBox" unique_id=853099369]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
placeholder_text = "Username"
|
|
|
|
[node name="RegPasswordInput" type="LineEdit" parent="CenterContainer/LayoutVBox/TabContainer/Register/VBox" unique_id=1603528515]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
placeholder_text = "Password"
|
|
secret = true
|
|
|
|
[node name="RegConfirmPasswordInput" type="LineEdit" parent="CenterContainer/LayoutVBox/TabContainer/Register/VBox" unique_id=830465730]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
placeholder_text = "Confirm Password"
|
|
secret = true
|
|
|
|
[node name="PasswordStrength" type="ProgressBar" parent="CenterContainer/LayoutVBox/TabContainer/Register/VBox" unique_id=2023454025]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 12)
|
|
layout_mode = 2
|
|
max_value = 4.0
|
|
show_percentage = false
|
|
|
|
[node name="PasswordHint" type="Label" parent="CenterContainer/LayoutVBox/TabContainer/Register/VBox" unique_id=1402181329]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1)
|
|
theme_override_font_sizes/font_size = 11
|
|
text = "Min 8 characters, include number and symbol"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="RegCaptchaContainer" type="VBoxContainer" parent="CenterContainer/LayoutVBox/TabContainer/Register/VBox" unique_id=583603175]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="RegCaptchaQuestion" type="Label" parent="CenterContainer/LayoutVBox/TabContainer/Register/VBox/RegCaptchaContainer" unique_id=1792478300]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.647, 0.996, 0.224, 1)
|
|
text = "Security Check: 5 + 7 = ?"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="RegCaptchaInput" type="LineEdit" parent="CenterContainer/LayoutVBox/TabContainer/Register/VBox/RegCaptchaContainer" unique_id=1405718888]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
placeholder_text = "Answer"
|
|
alignment = 1
|
|
|
|
[node name="RegisterButton" type="Button" parent="CenterContainer/LayoutVBox/TabContainer/Register/VBox" unique_id=2040733064]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 48)
|
|
layout_mode = 2
|
|
text = "Create Account"
|
|
|
|
[node name="RegStatusLabel" type="Label" parent="CenterContainer/LayoutVBox/TabContainer/Register/VBox" unique_id=1096594976]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(1, 0.4, 0.4, 1)
|
|
horizontal_alignment = 1
|
|
autowrap_mode = 2
|
|
|
|
[node name="VersionLabel" type="Label" parent="." unique_id=481275614]
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -120.0
|
|
offset_top = -40.0
|
|
offset_right = -16.0
|
|
offset_bottom = -16.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
theme_override_colors/font_color = Color(0.6, 0.6, 0.6, 0.6)
|
|
theme_override_font_sizes/font_size = 11
|
|
text = "v2.1.0"
|
|
horizontal_alignment = 2
|