update fonts and some gui
This commit is contained in:
@@ -1,147 +1,163 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dyx0upokhsh2e"]
|
||||
[gd_scene format=3 uid="uid://dyx0upokhsh2e"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://y6wswtalyiho" path="res://scripts/ui/profile_panel.gd" id="1"]
|
||||
[ext_resource type="Theme" uid="uid://da337sh5qxi0s" path="res://assets/themes/ui_theme.tres" id="2"]
|
||||
[ext_resource type="FontFile" uid="uid://xnjx058n4tsw" path="res://assets/fonts/Nougat-ExtraBlack.ttf" id="3_e13i6"]
|
||||
|
||||
[node name="ProfilePanel" type="PanelContainer"]
|
||||
[node name="ProfilePanel" type="PanelContainer" unique_id=229091481]
|
||||
offset_right = 380.0
|
||||
offset_bottom = 480.0
|
||||
theme = ExtResource("2")
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="."]
|
||||
[node name="VBox" type="VBoxContainer" parent="." unique_id=953819957]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 14
|
||||
|
||||
[node name="Header" type="HBoxContainer" parent="VBox"]
|
||||
[node name="Header" type="HBoxContainer" parent="VBox" unique_id=485959454]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Title" type="Label" parent="VBox/Header"]
|
||||
[node name="Title" type="Label" parent="VBox/Header" unique_id=19242315]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0.647, 0.996, 0.224, 1)
|
||||
theme_override_colors/font_color = Color(0.41568628, 0.6392157, 0.14117648, 1)
|
||||
theme_override_fonts/font = ExtResource("3_e13i6")
|
||||
theme_override_font_sizes/font_size = 22
|
||||
text = "Profile"
|
||||
|
||||
[node name="CloseButton" type="Button" parent="VBox/Header"]
|
||||
[node name="CloseButton" type="Button" parent="VBox/Header" unique_id=448699205]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(36, 36)
|
||||
layout_mode = 2
|
||||
text = "✕"
|
||||
|
||||
[node name="AvatarSection" type="HBoxContainer" parent="VBox"]
|
||||
[node name="AvatarSection" type="HBoxContainer" parent="VBox" unique_id=501593330]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 16
|
||||
alignment = 1
|
||||
|
||||
[node name="AvatarDisplay" type="TextureRect" parent="VBox/AvatarSection"]
|
||||
[node name="AvatarDisplay" type="TextureRect" parent="VBox/AvatarSection" unique_id=173716070]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(88, 88)
|
||||
layout_mode = 2
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="AvatarButtons" type="VBoxContainer" parent="VBox/AvatarSection"]
|
||||
[node name="AvatarButtons" type="VBoxContainer" parent="VBox/AvatarSection" unique_id=1408685281]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="ChangeAvatarBtn" type="Button" parent="VBox/AvatarSection/AvatarButtons"]
|
||||
[node name="ChangeAvatarBtn" type="Button" parent="VBox/AvatarSection/AvatarButtons" unique_id=1502182238]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 44)
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("3_e13i6")
|
||||
text = "Change Avatar"
|
||||
|
||||
[node name="DisplayNameSection" type="VBoxContainer" parent="VBox"]
|
||||
[node name="DisplayNameSection" type="VBoxContainer" parent="VBox" unique_id=545753874]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="Label" type="Label" parent="VBox/DisplayNameSection"]
|
||||
[node name="Label" type="Label" parent="VBox/DisplayNameSection" unique_id=1868331382]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1)
|
||||
theme_override_fonts/font = ExtResource("3_e13i6")
|
||||
text = "Display Name"
|
||||
|
||||
[node name="HBox" type="HBoxContainer" parent="VBox/DisplayNameSection"]
|
||||
[node name="HBox" type="HBoxContainer" parent="VBox/DisplayNameSection" unique_id=1124739186]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="DisplayNameInput" type="LineEdit" parent="VBox/DisplayNameSection/HBox"]
|
||||
[node name="DisplayNameInput" type="LineEdit" parent="VBox/DisplayNameSection/HBox" unique_id=527983746]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 44)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_fonts/font = ExtResource("3_e13i6")
|
||||
max_length = 50
|
||||
|
||||
[node name="SaveNameBtn" type="Button" parent="VBox/DisplayNameSection/HBox"]
|
||||
[node name="SaveNameBtn" type="Button" parent="VBox/DisplayNameSection/HBox" unique_id=843919725]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(80, 44)
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("3_e13i6")
|
||||
text = "Save"
|
||||
|
||||
[node name="Separator1" type="HSeparator" parent="VBox"]
|
||||
[node name="Separator1" type="HSeparator" parent="VBox" unique_id=1702408710]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="StatsSection" type="VBoxContainer" parent="VBox"]
|
||||
[node name="StatsSection" type="VBoxContainer" parent="VBox" unique_id=1972383442]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 6
|
||||
|
||||
[node name="StatsTitle" type="Label" parent="VBox/StatsSection"]
|
||||
[node name="StatsTitle" type="Label" parent="VBox/StatsSection" unique_id=1851168520]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.647, 0.996, 0.224, 1)
|
||||
theme_override_colors/font_color = Color(0.41536003, 0.64, 0.14080001, 1)
|
||||
theme_override_fonts/font = ExtResource("3_e13i6")
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "Statistics"
|
||||
|
||||
[node name="GamesPlayed" type="Label" parent="VBox/StatsSection"]
|
||||
[node name="GamesPlayed" type="Label" parent="VBox/StatsSection" unique_id=1727349753]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.57, 0.32090998, 0.1767, 1)
|
||||
theme_override_fonts/font = ExtResource("3_e13i6")
|
||||
text = "Games Played: 0"
|
||||
|
||||
[node name="WinRate" type="Label" parent="VBox/StatsSection"]
|
||||
[node name="WinRate" type="Label" parent="VBox/StatsSection" unique_id=1229711691]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.57, 0.32090998, 0.1767, 1)
|
||||
theme_override_fonts/font = ExtResource("3_e13i6")
|
||||
text = "Win Rate: 0%"
|
||||
|
||||
[node name="HighScore" type="Label" parent="VBox/StatsSection"]
|
||||
[node name="HighScore" type="Label" parent="VBox/StatsSection" unique_id=443769119]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.57, 0.32090998, 0.1767, 1)
|
||||
theme_override_fonts/font = ExtResource("3_e13i6")
|
||||
text = "High Score: 0"
|
||||
|
||||
[node name="Separator2" type="HSeparator" parent="VBox"]
|
||||
[node name="Separator2" type="HSeparator" parent="VBox" unique_id=307036203]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="AccountSection" type="VBoxContainer" parent="VBox"]
|
||||
[node name="AccountSection" type="VBoxContainer" parent="VBox" unique_id=1297099357]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="AccountType" type="Label" parent="VBox/AccountSection"]
|
||||
[node name="AccountType" type="Label" parent="VBox/AccountSection" unique_id=332392487]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1)
|
||||
theme_override_fonts/font = ExtResource("3_e13i6")
|
||||
text = "Account: Guest"
|
||||
|
||||
[node name="LinkAccountBtn" type="Button" parent="VBox/AccountSection"]
|
||||
[node name="LinkAccountBtn" type="Button" parent="VBox/AccountSection" unique_id=1719857784]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 44)
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("3_e13i6")
|
||||
text = "Link Email (Keep Progress)"
|
||||
|
||||
[node name="LogoutBtn" type="Button" parent="VBox/AccountSection"]
|
||||
[node name="LogoutBtn" type="Button" parent="VBox/AccountSection" unique_id=1335420017]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 44)
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("3_e13i6")
|
||||
text = "Logout"
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="VBox"]
|
||||
[node name="StatusLabel" type="Label" parent="VBox" unique_id=2080837765]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 12
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="AvatarSelectionPopup" type="PopupPanel" parent="."]
|
||||
[node name="AvatarSelectionPopup" type="PopupPanel" parent="." unique_id=14363298]
|
||||
unique_name_in_owner = true
|
||||
title = "Select Avatar"
|
||||
size = Vector2i(320, 220)
|
||||
|
||||
[node name="GridContainer" type="GridContainer" parent="AvatarSelectionPopup"]
|
||||
[node name="GridContainer" type="GridContainer" parent="AvatarSelectionPopup" unique_id=183560389]
|
||||
unique_name_in_owner = true
|
||||
offset_left = 4.0
|
||||
offset_top = 4.0
|
||||
|
||||
Reference in New Issue
Block a user