[gd_scene load_steps=3 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"] [node name="ProfilePanel" type="PanelContainer"] offset_right = 380.0 offset_bottom = 480.0 theme = ExtResource("2") script = ExtResource("1") [node name="VBox" type="VBoxContainer" parent="."] layout_mode = 2 theme_override_constants/separation = 14 [node name="Header" type="HBoxContainer" parent="VBox"] layout_mode = 2 [node name="Title" type="Label" parent="VBox/Header"] layout_mode = 2 size_flags_horizontal = 3 theme_override_colors/font_color = Color(0.647, 0.996, 0.224, 1) theme_override_font_sizes/font_size = 22 text = "Profile" [node name="CloseButton" type="Button" parent="VBox/Header"] unique_name_in_owner = true custom_minimum_size = Vector2(36, 36) layout_mode = 2 text = "✕" [node name="AvatarSection" type="HBoxContainer" parent="VBox"] layout_mode = 2 theme_override_constants/separation = 16 alignment = 1 [node name="AvatarDisplay" type="TextureRect" parent="VBox/AvatarSection"] 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"] layout_mode = 2 theme_override_constants/separation = 8 [node name="ChangeAvatarBtn" type="Button" parent="VBox/AvatarSection/AvatarButtons"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 44) layout_mode = 2 text = "Change Avatar" [node name="DisplayNameSection" type="VBoxContainer" parent="VBox"] layout_mode = 2 theme_override_constants/separation = 8 [node name="Label" type="Label" parent="VBox/DisplayNameSection"] layout_mode = 2 theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1) text = "Display Name" [node name="HBox" type="HBoxContainer" parent="VBox/DisplayNameSection"] layout_mode = 2 theme_override_constants/separation = 8 [node name="DisplayNameInput" type="LineEdit" parent="VBox/DisplayNameSection/HBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 44) layout_mode = 2 size_flags_horizontal = 3 max_length = 50 [node name="SaveNameBtn" type="Button" parent="VBox/DisplayNameSection/HBox"] unique_name_in_owner = true custom_minimum_size = Vector2(80, 44) layout_mode = 2 text = "Save" [node name="Separator1" type="HSeparator" parent="VBox"] layout_mode = 2 [node name="StatsSection" type="VBoxContainer" parent="VBox"] layout_mode = 2 theme_override_constants/separation = 6 [node name="StatsTitle" type="Label" parent="VBox/StatsSection"] layout_mode = 2 theme_override_colors/font_color = Color(0.647, 0.996, 0.224, 1) theme_override_font_sizes/font_size = 16 text = "Statistics" [node name="GamesPlayed" type="Label" parent="VBox/StatsSection"] unique_name_in_owner = true layout_mode = 2 text = "Games Played: 0" [node name="WinRate" type="Label" parent="VBox/StatsSection"] unique_name_in_owner = true layout_mode = 2 text = "Win Rate: 0%" [node name="HighScore" type="Label" parent="VBox/StatsSection"] unique_name_in_owner = true layout_mode = 2 text = "High Score: 0" [node name="Separator2" type="HSeparator" parent="VBox"] layout_mode = 2 [node name="AccountSection" type="VBoxContainer" parent="VBox"] layout_mode = 2 theme_override_constants/separation = 8 [node name="AccountType" type="Label" parent="VBox/AccountSection"] unique_name_in_owner = true layout_mode = 2 theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1) text = "Account: Guest" [node name="LinkAccountBtn" type="Button" parent="VBox/AccountSection"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 44) layout_mode = 2 text = "Link Email (Keep Progress)" [node name="LogoutBtn" type="Button" parent="VBox/AccountSection"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 44) layout_mode = 2 text = "Logout" [node name="StatusLabel" type="Label" parent="VBox"] unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 12 horizontal_alignment = 1 [node name="AvatarSelectionPopup" type="PopupPanel" parent="."] unique_name_in_owner = true title = "Select Avatar" size = Vector2i(320, 220) [node name="GridContainer" type="GridContainer" parent="AvatarSelectionPopup"] unique_name_in_owner = true offset_left = 4.0 offset_top = 4.0 offset_right = 316.0 offset_bottom = 216.0 columns = 3