feat: 2.3.1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://biio8efqysivs"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ic8fg0o0p0i4" path="res://scripts/ui/admin_panel.gd" id="1"]
|
||||
[ext_resource type="PackedScene" uid="uid://dp12345678" path="res://scenes/ui/date_picker.tscn" id="2_dp"]
|
||||
|
||||
[node name="AdminPanel" type="Panel"]
|
||||
anchors_preset = 15
|
||||
@@ -262,6 +263,119 @@ custom_minimum_size = Vector2(160, 36)
|
||||
layout_mode = 2
|
||||
text = "Save Config"
|
||||
|
||||
[node name="Announcements" type="VBoxContainer" parent="Margin/VBox/Tabs"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
metadata/_tab_index = 3
|
||||
|
||||
[node name="TargetHBox" type="HBoxContainer" parent="Margin/VBox/Tabs/Announcements"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="Label" type="Label" parent="Margin/VBox/Tabs/Announcements/TargetHBox"]
|
||||
layout_mode = 2
|
||||
text = "Target User ID:"
|
||||
|
||||
[node name="TargetUserEdit" type="LineEdit" parent="Margin/VBox/Tabs/Announcements/TargetHBox"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "Leave empty to send to ALL users (Global)"
|
||||
|
||||
[node name="TitleEdit" type="LineEdit" parent="Margin/VBox/Tabs/Announcements"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
placeholder_text = "Message Title"
|
||||
|
||||
[node name="ContentEdit" type="TextEdit" parent="Margin/VBox/Tabs/Announcements"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 150)
|
||||
layout_mode = 2
|
||||
placeholder_text = "Message Content"
|
||||
|
||||
[node name="ScheduleHBox" type="HBoxContainer" parent="Margin/VBox/Tabs/Announcements"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="LabelStart" type="Label" parent="Margin/VBox/Tabs/Announcements/ScheduleHBox"]
|
||||
layout_mode = 2
|
||||
text = "Start:"
|
||||
|
||||
[node name="StartDatePicker" parent="Margin/VBox/Tabs/Announcements/ScheduleHBox" instance=ExtResource("2_dp")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="LabelEnd" type="Label" parent="Margin/VBox/Tabs/Announcements/ScheduleHBox"]
|
||||
layout_mode = 2
|
||||
text = "End:"
|
||||
|
||||
[node name="EndDatePicker" parent="Margin/VBox/Tabs/Announcements/ScheduleHBox" instance=ExtResource("2_dp")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="RewardsHeader" type="HBoxContainer" parent="Margin/VBox/Tabs/Announcements"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Margin/VBox/Tabs/Announcements/RewardsHeader"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Attached Rewards"
|
||||
|
||||
[node name="AddRewardBtn" type="Button" parent="Margin/VBox/Tabs/Announcements/RewardsHeader"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 30)
|
||||
layout_mode = 2
|
||||
text = "+ ADD"
|
||||
|
||||
[node name="RewardsList" type="VBoxContainer" parent="Margin/VBox/Tabs/Announcements"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="RewardRowTemplate" type="HBoxContainer" parent="Margin/VBox/Tabs/Announcements"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="TypeOption" type="OptionButton" parent="Margin/VBox/Tabs/Announcements/RewardRowTemplate"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
item_count = 4
|
||||
selected = 0
|
||||
popup/item_0/text = "star"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "gold"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "item"
|
||||
popup/item_2/id = 2
|
||||
popup/item_3/text = "skin"
|
||||
popup/item_3/id = 3
|
||||
|
||||
[node name="IdEdit" type="LineEdit" parent="Margin/VBox/Tabs/Announcements/RewardRowTemplate"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "Item/Skin ID (Leave empty for Star/Gold)"
|
||||
|
||||
[node name="AmountSpin" type="SpinBox" parent="Margin/VBox/Tabs/Announcements/RewardRowTemplate"]
|
||||
layout_mode = 2
|
||||
max_value = 100000.0
|
||||
value = 1.0
|
||||
|
||||
[node name="RemoveBtn" type="Button" parent="Margin/VBox/Tabs/Announcements/RewardRowTemplate"]
|
||||
layout_mode = 2
|
||||
text = "X"
|
||||
theme_override_colors/font_color = Color(1, 0.3, 0.3, 1)
|
||||
|
||||
[node name="SendMailBtn" type="Button" parent="Margin/VBox/Tabs/Announcements"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 40)
|
||||
layout_mode = 2
|
||||
text = "SEND ANNOUNCEMENT"
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="Margin/VBox"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
+150
-22
@@ -3,13 +3,38 @@
|
||||
[ext_resource type="Script" uid="uid://vgyrq5y5p7jw" path="res://scripts/ui/boot_screen.gd" id="1_boot"]
|
||||
[ext_resource type="Texture2D" uid="uid://2d1ks5pmblc7" path="res://assets/graphics/main_menu/bg_back.png" id="2_17ab1"]
|
||||
[ext_resource type="FontFile" uid="uid://dsqg0x5lnosou" path="res://assets/fonts/TektonDash2.ttf" id="2_bwjrh"]
|
||||
[ext_resource type="FontFile" uid="uid://c2tryhyhlyb1u" path="res://assets/fonts/Supercell-Magic Regular.ttf" id="3_f4w4t"]
|
||||
[ext_resource type="Texture2D" uid="uid://jqvv6s55mlsk" path="res://assets/graphics/gui/BG.png" id="3_1xu5j"]
|
||||
[ext_resource type="Theme" uid="uid://da337sh5qxi0s" path="res://assets/themes/ui_theme.tres" id="3_jayi6"]
|
||||
[ext_resource type="FontFile" uid="uid://xnjx058n4tsw" path="res://assets/fonts/Nougat-ExtraBlack.ttf" id="4_17ab1"]
|
||||
[ext_resource type="Texture2D" uid="uid://bpco6lch7homj" path="res://assets/graphics/gui/play/bg.png" id="6_yicr8"]
|
||||
[ext_resource type="FontFile" uid="uid://dckhhpt5emxq0" path="res://assets/fonts/Asap-VariableFont_wdth,wght.ttf" id="7_yicr8"]
|
||||
[ext_resource type="Texture2D" uid="uid://1yi5lwgle4g0" path="res://assets/graphics/gui/play/btn_green_small.png" id="8_5mhvm"]
|
||||
[ext_resource type="Texture2D" uid="uid://cuw72qcwxxbjg" path="res://assets/graphics/gui/play/btn_green_small_darken.png" id="9_6t5dt"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1xu5j"]
|
||||
bg_color = Color(0.08, 0.09, 0.12, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wusgu"]
|
||||
bg_color = Color(0.14117648, 0.16862746, 0.19215687, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.19607843, 0.27450982, 0.3372549, 1)
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2h0ma"]
|
||||
bg_color = Color(0.54509807, 0.7882353, 0.101960786, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 10
|
||||
border_color = Color(0.7254902, 0.84313726, 0.38039216, 1)
|
||||
border_blend = true
|
||||
|
||||
[node name="BootScreen" type="Control" unique_id=469561880]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@@ -20,6 +45,7 @@ grow_vertical = 2
|
||||
script = ExtResource("1_boot")
|
||||
|
||||
[node name="Background" type="ColorRect" parent="." unique_id=698091452]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -29,6 +55,7 @@ grow_vertical = 2
|
||||
color = Color(0.0823529, 0.0823529, 0.109804, 1)
|
||||
|
||||
[node name="Background2" type="Panel" parent="." unique_id=1171074799]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -38,6 +65,7 @@ grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_1xu5j")
|
||||
|
||||
[node name="Background3" type="TextureRect" parent="." unique_id=99232146]
|
||||
visible = false
|
||||
modulate = Color(1, 1, 1, 0.28235295)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
@@ -48,6 +76,16 @@ grow_vertical = 2
|
||||
texture = ExtResource("2_17ab1")
|
||||
expand_mode = 2
|
||||
|
||||
[node name="Background4" type="TextureRect" parent="." unique_id=629882829]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("3_1xu5j")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="." unique_id=1851252006]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
@@ -64,23 +102,29 @@ theme_override_constants/separation = 20
|
||||
|
||||
[node name="Title" type="Label" parent="CenterContainer/MainVBox" unique_id=576295308]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.6901961, 0.5294118, 0.35686275, 1)
|
||||
theme_override_fonts/font = ExtResource("2_bwjrh")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "Tekton Dash : Update Checker"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="ChangelogPanel" type="PanelContainer" parent="CenterContainer/MainVBox" unique_id=675458612]
|
||||
[node name="ChangelogPanel" type="TextureRect" parent="CenterContainer/MainVBox" unique_id=136011719]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 300)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("6_yicr8")
|
||||
expand_mode = 5
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="CenterContainer/MainVBox/ChangelogPanel" unique_id=577528369]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 15
|
||||
theme_override_constants/margin_top = 15
|
||||
theme_override_constants/margin_right = 15
|
||||
theme_override_constants/margin_bottom = 15
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 25
|
||||
theme_override_constants/margin_top = 25
|
||||
theme_override_constants/margin_right = 25
|
||||
theme_override_constants/margin_bottom = 25
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="CenterContainer/MainVBox/ChangelogPanel/Margin" unique_id=983868454]
|
||||
layout_mode = 2
|
||||
@@ -89,48 +133,92 @@ layout_mode = 2
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_colors/default_color = Color(0.6901961, 0.5294118, 0.35686275, 1)
|
||||
theme_override_fonts/normal_font = ExtResource("3_f4w4t")
|
||||
theme_override_colors/default_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.2509804)
|
||||
theme_override_constants/shadow_outline_size = 0
|
||||
theme_override_constants/shadow_offset_x = -2
|
||||
theme_override_constants/shadow_offset_y = 2
|
||||
theme_override_fonts/normal_font = ExtResource("7_yicr8")
|
||||
bbcode_enabled = true
|
||||
text = "Loading changelog..."
|
||||
tab_size = 2
|
||||
|
||||
[node name="HBox" type="HBoxContainer" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox" unique_id=1374120193]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
alignment = 1
|
||||
|
||||
[node name="PrevButton" type="Button" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox" unique_id=1862079005]
|
||||
[node name="PrevButton" type="TextureButton" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox" unique_id=779268670]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
texture_normal = ExtResource("8_5mhvm")
|
||||
texture_pressed = ExtResource("9_6t5dt")
|
||||
texture_hover = ExtResource("9_6t5dt")
|
||||
|
||||
[node name="Label" type="Label" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox/PrevButton" unique_id=106117176]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.48235294)
|
||||
theme_override_constants/shadow_offset_x = -1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
theme_override_constants/shadow_outline_size = 0
|
||||
theme_override_fonts/font = ExtResource("4_17ab1")
|
||||
text = " < Previous "
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "PREV"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="PageLabel" type="Label" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox" unique_id=934971208]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.6901961, 0.5294118, 0.35686275, 1)
|
||||
theme_override_fonts/font = ExtResource("4_17ab1")
|
||||
text = "1 / 1"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="NextButton" type="Button" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox" unique_id=1366632731]
|
||||
[node name="NextButton" type="TextureButton" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox" unique_id=1512015952]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("8_5mhvm")
|
||||
texture_pressed = ExtResource("9_6t5dt")
|
||||
texture_hover = ExtResource("9_6t5dt")
|
||||
|
||||
[node name="Label" type="Label" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox/NextButton" unique_id=2060058712]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.48235294)
|
||||
theme_override_constants/shadow_offset_x = -1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
theme_override_constants/shadow_outline_size = 0
|
||||
theme_override_fonts/font = ExtResource("4_17ab1")
|
||||
text = " Next > "
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "NEXT"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="CenterContainer/MainVBox" unique_id=955710692]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.6901961, 0.5294118, 0.35686275, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.48235294)
|
||||
theme_override_fonts/font = ExtResource("4_17ab1")
|
||||
text = "Checking for updates..."
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="CenterContainer/MainVBox" unique_id=2132835750]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 20)
|
||||
layout_mode = 2
|
||||
show_percentage = false
|
||||
theme_override_styles/background = SubResource("StyleBoxFlat_wusgu")
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_2h0ma")
|
||||
|
||||
[node name="ProgressLabel" type="Label" parent="CenterContainer/MainVBox/ProgressBar" unique_id=1293848486]
|
||||
unique_name_in_owner = true
|
||||
@@ -140,8 +228,11 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.48235294)
|
||||
theme_override_fonts/font = ExtResource("4_17ab1")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ButtonContainer" type="HBoxContainer" parent="CenterContainer/MainVBox" unique_id=2021809892]
|
||||
unique_name_in_owner = true
|
||||
@@ -149,14 +240,51 @@ layout_mode = 2
|
||||
theme_override_constants/separation = 20
|
||||
alignment = 1
|
||||
|
||||
[node name="SkipButton" type="Button" parent="CenterContainer/MainVBox/ButtonContainer" unique_id=1945691494]
|
||||
[node name="SkipButton" type="TextureButton" parent="CenterContainer/MainVBox/ButtonContainer" unique_id=450583456]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("4_17ab1")
|
||||
text = "Skip"
|
||||
texture_normal = ExtResource("8_5mhvm")
|
||||
texture_pressed = ExtResource("9_6t5dt")
|
||||
texture_hover = ExtResource("9_6t5dt")
|
||||
|
||||
[node name="UpdateButton" type="Button" parent="CenterContainer/MainVBox/ButtonContainer" unique_id=200811932]
|
||||
[node name="Label" type="Label" parent="CenterContainer/MainVBox/ButtonContainer/SkipButton" unique_id=773031370]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.48235294)
|
||||
theme_override_constants/shadow_offset_x = -1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
theme_override_constants/shadow_outline_size = 0
|
||||
theme_override_fonts/font = ExtResource("4_17ab1")
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "Skip"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="UpdateButton" type="TextureButton" parent="CenterContainer/MainVBox/ButtonContainer" unique_id=1083550702]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("8_5mhvm")
|
||||
texture_pressed = ExtResource("9_6t5dt")
|
||||
texture_hover = ExtResource("9_6t5dt")
|
||||
stretch_mode = 0
|
||||
|
||||
[node name="Label" type="Label" parent="CenterContainer/MainVBox/ButtonContainer/UpdateButton" unique_id=692036465]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.48235294)
|
||||
theme_override_constants/shadow_offset_x = -1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
theme_override_constants/shadow_outline_size = 0
|
||||
theme_override_fonts/font = ExtResource("4_17ab1")
|
||||
text = "Download Update"
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "Update"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
[gd_scene format=3 uid="uid://dp12345678"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/ui/date_picker.gd" id="1_dp"]
|
||||
|
||||
[node name="DatePicker" type="Button"]
|
||||
custom_minimum_size = Vector2(120, 36)
|
||||
text = "Select Date..."
|
||||
script = ExtResource("1_dp")
|
||||
|
||||
[node name="PopupPanel" type="PopupPanel" parent="."]
|
||||
size = Vector2i(260, 280)
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="PopupPanel"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 4.0
|
||||
offset_top = 4.0
|
||||
offset_right = -4.0
|
||||
offset_bottom = -4.0
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="Header" type="HBoxContainer" parent="PopupPanel/VBox"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PrevBtn" type="Button" parent="PopupPanel/VBox/Header"]
|
||||
custom_minimum_size = Vector2(30, 0)
|
||||
layout_mode = 2
|
||||
text = "<"
|
||||
|
||||
[node name="MonthYearLbl" type="Label" parent="PopupPanel/VBox/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Month Year"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="NextBtn" type="Button" parent="PopupPanel/VBox/Header"]
|
||||
custom_minimum_size = Vector2(30, 0)
|
||||
layout_mode = 2
|
||||
text = ">"
|
||||
|
||||
[node name="Weekdays" type="GridContainer" parent="PopupPanel/VBox"]
|
||||
layout_mode = 2
|
||||
columns = 7
|
||||
|
||||
[node name="Sun" type="Label" parent="PopupPanel/VBox/Weekdays"]
|
||||
custom_minimum_size = Vector2(32, 0)
|
||||
layout_mode = 2
|
||||
text = "Su"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Mon" type="Label" parent="PopupPanel/VBox/Weekdays"]
|
||||
custom_minimum_size = Vector2(32, 0)
|
||||
layout_mode = 2
|
||||
text = "Mo"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Tue" type="Label" parent="PopupPanel/VBox/Weekdays"]
|
||||
custom_minimum_size = Vector2(32, 0)
|
||||
layout_mode = 2
|
||||
text = "Tu"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Wed" type="Label" parent="PopupPanel/VBox/Weekdays"]
|
||||
custom_minimum_size = Vector2(32, 0)
|
||||
layout_mode = 2
|
||||
text = "We"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Thu" type="Label" parent="PopupPanel/VBox/Weekdays"]
|
||||
custom_minimum_size = Vector2(32, 0)
|
||||
layout_mode = 2
|
||||
text = "Th"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Fri" type="Label" parent="PopupPanel/VBox/Weekdays"]
|
||||
custom_minimum_size = Vector2(32, 0)
|
||||
layout_mode = 2
|
||||
text = "Fr"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Sat" type="Label" parent="PopupPanel/VBox/Weekdays"]
|
||||
custom_minimum_size = Vector2(32, 0)
|
||||
layout_mode = 2
|
||||
text = "Sa"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="DaysGrid" type="GridContainer" parent="PopupPanel/VBox"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
columns = 7
|
||||
|
||||
[node name="ClearBtn" type="Button" parent="PopupPanel/VBox"]
|
||||
layout_mode = 2
|
||||
text = "Clear Date"
|
||||
+96
-18
@@ -1,40 +1,118 @@
|
||||
[gd_scene format=3 uid="uid://dqfriend001"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/ui/friend_row.gd" id="1_frow"]
|
||||
[ext_resource type="Texture2D" path="res://assets/graphics/gui/friendlist/mc_copper.png" id="2_avatar"]
|
||||
[ext_resource type="Texture2D" path="res://assets/graphics/gui/friendlist/friend_add0.png" id="3_add"]
|
||||
[ext_resource type="Texture2D" path="res://assets/graphics/gui/friendlist/friend_chat.png" id="4_chat"]
|
||||
[ext_resource type="Texture2D" path="res://assets/graphics/gui/friendlist/friend_block0.png.png" id="5_block"]
|
||||
[ext_resource type="FontFile" uid="uid://xnjx058n4tsw" path="res://assets/fonts/Nougat-ExtraBlack.ttf" id="6_font"]
|
||||
|
||||
[node name="FriendRow" type="HBoxContainer"]
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bg"]
|
||||
bg_color = Color(0, 0, 0, 0.48)
|
||||
border_width_left = 3
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 3
|
||||
border_color = Color(0, 0, 0, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_avatar_bg"]
|
||||
bg_color = Color(1, 1, 1, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[node name="FriendRow" type="PanelContainer"]
|
||||
custom_minimum_size = Vector2(0, 80)
|
||||
size_flags_horizontal = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_bg")
|
||||
script = ExtResource("1_frow")
|
||||
|
||||
[node name="NameLabel" type="Label" parent="."]
|
||||
unique_name_in_owner = true
|
||||
[node name="Margin" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 8
|
||||
|
||||
[node name="HBox" type="HBoxContainer" parent="Margin"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="AvatarPanel" type="PanelContainer" parent="Margin/HBox"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_avatar_bg")
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="Margin/HBox/AvatarPanel"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 2
|
||||
theme_override_constants/margin_top = 2
|
||||
theme_override_constants/margin_right = 2
|
||||
theme_override_constants/margin_bottom = 2
|
||||
|
||||
[node name="Avatar" type="TextureRect" parent="Margin/HBox/AvatarPanel/Margin"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_avatar")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="Margin/HBox"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
alignment = 1
|
||||
|
||||
[node name="StateLabel" type="Label" parent="."]
|
||||
[node name="NameLabel" type="Label" parent="Margin/HBox/VBox"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
visible = false
|
||||
theme_override_fonts/font = ExtResource("6_font")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "USERNAME"
|
||||
|
||||
[node name="DMBtn" type="Button" parent="."]
|
||||
[node name="StateLabel" type="Label" parent="Margin/HBox/VBox"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Chat"
|
||||
visible = false
|
||||
theme_override_fonts/font = ExtResource("6_font")
|
||||
theme_override_colors/font_color = Color(0.7, 0.7, 0.7, 1)
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "LAST ONLINE: 30 mins ago."
|
||||
|
||||
[node name="AcceptBtn" type="Button" parent="."]
|
||||
unique_name_in_owner = true
|
||||
[node name="HBoxButtons" type="HBoxContainer" parent="Margin/HBox/VBox"]
|
||||
layout_mode = 2
|
||||
text = "Accept"
|
||||
visible = false
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="DeclineBtn" type="Button" parent="."]
|
||||
[node name="AcceptBtn" type="TextureButton" parent="Margin/HBox/VBox/HBoxButtons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(16, 16)
|
||||
layout_mode = 2
|
||||
text = "Decline"
|
||||
visible = false
|
||||
texture_normal = ExtResource("3_add")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="RemoveBtn" type="Button" parent="."]
|
||||
[node name="DMBtn" type="TextureButton" parent="Margin/HBox/VBox/HBoxButtons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(16, 16)
|
||||
layout_mode = 2
|
||||
text = "Remove"
|
||||
visible = false
|
||||
texture_normal = ExtResource("4_chat")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="DeclineBtn" type="TextureButton" parent="Margin/HBox/VBox/HBoxButtons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(16, 16)
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("5_block")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="RemoveBtn" type="TextureButton" parent="Margin/HBox/VBox/HBoxButtons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(16, 16)
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("5_block")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 5
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
[gd_scene format=3 uid="uid://c3q4w3j6e7y8u"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://qe1nth1bnep8" path="res://scripts/ui/leaderboard_panel.gd" id="1"]
|
||||
[ext_resource type="Theme" uid="uid://da337sh5qxi0s" path="res://assets/themes/ui_theme.tres" id="2"]
|
||||
[ext_resource type="Theme" uid="uid://cxab3xxy00" path="res://assets/themes/GUI_Tekton.tres" id="1_q8r81"]
|
||||
[ext_resource type="Texture2D" uid="uid://jqvv6s55mlsk" path="res://assets/graphics/gui/BG.png" id="3_amgyn"]
|
||||
[ext_resource type="FontFile" uid="uid://xnjx058n4tsw" path="res://assets/fonts/Nougat-ExtraBlack.ttf" id="3_font"]
|
||||
[ext_resource type="PackedScene" uid="uid://ejeamn0pyey4" path="res://assets/characters/Bob.glb" id="4_bob"]
|
||||
[ext_resource type="PackedScene" uid="uid://d4cul3w3wem5w" path="res://assets/characters/Gatot.glb" id="4_gatot"]
|
||||
@@ -9,6 +10,10 @@
|
||||
[ext_resource type="PackedScene" uid="uid://bmln7v6v5kvxg" path="res://assets/characters/Oldpop.glb" id="4_oldpop"]
|
||||
[ext_resource type="AnimationLibrary" uid="uid://c3pyopnwibckj" path="res://assets/characters/animations/animation-pack.res" id="5_animlib"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_amgyn"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_q8r81"]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_lb"]
|
||||
background_mode = 1
|
||||
background_color = Color(0.06, 0.07, 0.1, 1)
|
||||
@@ -23,47 +28,56 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("2")
|
||||
theme = ExtResource("1_q8r81")
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="Background" type="ColorRect" parent="." unique_id=1326531657]
|
||||
[node name="Background" type="TextureRect" parent="." unique_id=1166091442]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.05, 0.06, 0.09, 0.97)
|
||||
texture = ExtResource("3_amgyn")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="MainLayout" type="HBoxContainer" parent="." unique_id=53100533]
|
||||
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=1028567223]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 30
|
||||
theme_override_constants/margin_top = 30
|
||||
theme_override_constants/margin_right = 30
|
||||
theme_override_constants/margin_bottom = 30
|
||||
|
||||
[node name="MainLayout" type="HBoxContainer" parent="MarginContainer" unique_id=53100533]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="LeftPanel" type="PanelContainer" parent="MainLayout" unique_id=125724276]
|
||||
[node name="LeftPanel" type="PanelContainer" parent="MarginContainer/MainLayout" unique_id=125724276]
|
||||
custom_minimum_size = Vector2(500, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_amgyn")
|
||||
|
||||
[node name="LeftVBox" type="VBoxContainer" parent="MainLayout/LeftPanel" unique_id=1333726314]
|
||||
[node name="LeftVBox" type="VBoxContainer" parent="MarginContainer/MainLayout/LeftPanel" unique_id=1333726314]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="Header" type="HBoxContainer" parent="MainLayout/LeftPanel/LeftVBox" unique_id=2015043023]
|
||||
[node name="Header" type="HBoxContainer" parent="MarginContainer/MainLayout/LeftPanel/LeftVBox" unique_id=2015043023]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="BackBtn" type="Button" parent="MainLayout/LeftPanel/LeftVBox/Header" unique_id=1330539196]
|
||||
[node name="BackBtn" type="Button" parent="MarginContainer/MainLayout/LeftPanel/LeftVBox/Header" unique_id=1330539196]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 44)
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
text = "← BACK"
|
||||
|
||||
[node name="RefreshBtn" type="Button" parent="MainLayout/LeftPanel/LeftVBox/Header" unique_id=993543919]
|
||||
[node name="RefreshBtn" type="Button" parent="MarginContainer/MainLayout/LeftPanel/LeftVBox/Header" unique_id=993543919]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(44, 44)
|
||||
@@ -71,7 +85,7 @@ layout_mode = 2
|
||||
tooltip_text = "Refresh Data"
|
||||
text = "⟳"
|
||||
|
||||
[node name="SyncBtn" type="Button" parent="MainLayout/LeftPanel/LeftVBox/Header" unique_id=1452457095]
|
||||
[node name="SyncBtn" type="Button" parent="MarginContainer/MainLayout/LeftPanel/LeftVBox/Header" unique_id=1452457095]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(160, 44)
|
||||
layout_mode = 2
|
||||
@@ -79,143 +93,142 @@ tooltip_text = "Sync your score to the global leaderboard"
|
||||
text = "⟳ Refresh
|
||||
"
|
||||
|
||||
[node name="Title" type="Label" parent="MainLayout/LeftPanel/LeftVBox/Header" unique_id=1037998429]
|
||||
[node name="Title" type="Label" parent="MarginContainer/MainLayout/LeftPanel/LeftVBox/Header" unique_id=1037998429]
|
||||
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(1, 1, 1, 1)
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
theme_override_font_sizes/font_size = 26
|
||||
text = "LEADERBOARD"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="SortTabs" type="HBoxContainer" parent="MainLayout/LeftPanel/LeftVBox" unique_id=718289870]
|
||||
[node name="SortTabs" type="HBoxContainer" parent="MarginContainer/MainLayout/LeftPanel/LeftVBox" unique_id=718289870]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
alignment = 1
|
||||
|
||||
[node name="SortScoreBtn" type="Button" parent="MainLayout/LeftPanel/LeftVBox/SortTabs" unique_id=130573026]
|
||||
[node name="SortScoreBtn" type="Button" parent="MarginContainer/MainLayout/LeftPanel/LeftVBox/SortTabs" unique_id=130573026]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(120, 36)
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
text = "High Score"
|
||||
|
||||
[node name="SortWinRateBtn" type="Button" parent="MainLayout/LeftPanel/LeftVBox/SortTabs" unique_id=1440940092]
|
||||
[node name="SortWinRateBtn" type="Button" parent="MarginContainer/MainLayout/LeftPanel/LeftVBox/SortTabs" unique_id=1440940092]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(120, 36)
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
text = "Win Rate"
|
||||
|
||||
[node name="SortGamesBtn" type="Button" parent="MainLayout/LeftPanel/LeftVBox/SortTabs" unique_id=1859306138]
|
||||
[node name="SortGamesBtn" type="Button" parent="MarginContainer/MainLayout/LeftPanel/LeftVBox/SortTabs" unique_id=1859306138]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(120, 36)
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
text = "Games Played"
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="MainLayout/LeftPanel/LeftVBox" unique_id=1424980566]
|
||||
[node name="HSeparator" type="HSeparator" parent="MarginContainer/MainLayout/LeftPanel/LeftVBox" unique_id=1424980566]
|
||||
layout_mode = 2
|
||||
theme_override_styles/separator = SubResource("StyleBoxEmpty_q8r81")
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="MainLayout/LeftPanel/LeftVBox" unique_id=1067011185]
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="MarginContainer/MainLayout/LeftPanel/LeftVBox" unique_id=1067011185]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="LeaderboardList" type="VBoxContainer" parent="MainLayout/LeftPanel/LeftVBox/ScrollContainer" unique_id=1303389084]
|
||||
[node name="LeaderboardList" type="VBoxContainer" parent="MarginContainer/MainLayout/LeftPanel/LeftVBox/ScrollContainer" unique_id=1303389084]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="MainLayout/LeftPanel/LeftVBox" unique_id=218097909]
|
||||
[node name="StatusLabel" type="Label" parent="MarginContainer/MainLayout/LeftPanel/LeftVBox" unique_id=218097909]
|
||||
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_font")
|
||||
text = "Loading data..."
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="RightPanel" type="SubViewportContainer" parent="MainLayout" unique_id=733341277]
|
||||
[node name="RightPanel" type="SubViewportContainer" parent="MarginContainer/MainLayout" unique_id=733341277]
|
||||
custom_minimum_size = Vector2(340, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 0.8
|
||||
stretch = true
|
||||
|
||||
[node name="PreviewViewport" type="SubViewport" parent="MainLayout/RightPanel" unique_id=434116765]
|
||||
[node name="PreviewViewport" type="SubViewport" parent="MarginContainer/MainLayout/RightPanel" unique_id=434116765]
|
||||
unique_name_in_owner = true
|
||||
own_world_3d = true
|
||||
transparent_bg = true
|
||||
handle_input_locally = false
|
||||
size = Vector2i(608, 720)
|
||||
size = Vector2i(581, 708)
|
||||
render_target_update_mode = 4
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="MainLayout/RightPanel/PreviewViewport" unique_id=176076489]
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="MarginContainer/MainLayout/RightPanel/PreviewViewport" unique_id=176076489]
|
||||
environment = SubResource("Environment_lb")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="MainLayout/RightPanel/PreviewViewport" unique_id=1487133814]
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="MarginContainer/MainLayout/RightPanel/PreviewViewport" unique_id=1487133814]
|
||||
transform = Transform3D(0.866025, -0.25, 0.433013, 0, 0.866025, 0.5, -0.5, -0.433013, 0.75, 0, 4, 0)
|
||||
light_energy = 1.4
|
||||
|
||||
[node name="FillLight" type="OmniLight3D" parent="MainLayout/RightPanel/PreviewViewport" unique_id=1492921006]
|
||||
[node name="FillLight" type="OmniLight3D" parent="MarginContainer/MainLayout/RightPanel/PreviewViewport" unique_id=1492921006]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 2, 2)
|
||||
light_color = Color(0.4, 0.5, 1, 1)
|
||||
light_energy = 0.5
|
||||
omni_range = 8.0
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="MainLayout/RightPanel/PreviewViewport" unique_id=28500697]
|
||||
[node name="Camera3D" type="Camera3D" parent="MarginContainer/MainLayout/RightPanel/PreviewViewport" unique_id=28500697]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.9659259, 0.25881898, 0, -0.25881898, 0.9659259, 0, 0.8380414, 3.2)
|
||||
current = true
|
||||
fov = 40.0
|
||||
|
||||
[node name="CharacterRoot" type="Node3D" parent="MainLayout/RightPanel/PreviewViewport" unique_id=1908332248]
|
||||
[node name="CharacterRoot" type="Node3D" parent="MarginContainer/MainLayout/RightPanel/PreviewViewport" unique_id=1908332248]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="Masbro" parent="MainLayout/RightPanel/PreviewViewport/CharacterRoot" unique_id=1123428413 instance=ExtResource("4_masbro")]
|
||||
[node name="Masbro" parent="MarginContainer/MainLayout/RightPanel/PreviewViewport/CharacterRoot" unique_id=1123428413 instance=ExtResource("4_masbro")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.485, 0)
|
||||
visible = false
|
||||
|
||||
[node name="Bob" parent="MainLayout/RightPanel/PreviewViewport/CharacterRoot" unique_id=1443851131 instance=ExtResource("4_bob")]
|
||||
[node name="Bob" parent="MarginContainer/MainLayout/RightPanel/PreviewViewport/CharacterRoot" unique_id=1443851131 instance=ExtResource("4_bob")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.484627, 0)
|
||||
visible = false
|
||||
|
||||
[node name="Gatot" parent="MainLayout/RightPanel/PreviewViewport/CharacterRoot" unique_id=1688463565 instance=ExtResource("4_gatot")]
|
||||
[node name="Gatot" parent="MarginContainer/MainLayout/RightPanel/PreviewViewport/CharacterRoot" unique_id=1688463565 instance=ExtResource("4_gatot")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.485, 0)
|
||||
visible = false
|
||||
|
||||
[node name="Oldpop" parent="MainLayout/RightPanel/PreviewViewport/CharacterRoot" unique_id=2101387155 instance=ExtResource("4_oldpop")]
|
||||
[node name="Oldpop" parent="MarginContainer/MainLayout/RightPanel/PreviewViewport/CharacterRoot" unique_id=2101387155 instance=ExtResource("4_oldpop")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.485, 0)
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="MainLayout/RightPanel/PreviewViewport/CharacterRoot" unique_id=264395095]
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="MarginContainer/MainLayout/RightPanel/PreviewViewport/CharacterRoot" unique_id=264395095]
|
||||
root_node = NodePath("../Oldpop")
|
||||
libraries/animation-pack = ExtResource("5_animlib")
|
||||
autoplay = &"animation-pack/idle"
|
||||
|
||||
[node name="SelectedPlayerInfo" type="PanelContainer" parent="MainLayout/RightPanel" unique_id=1592883771]
|
||||
[node name="SelectedPlayerInfo" type="PanelContainer" parent="MarginContainer/MainLayout/RightPanel" unique_id=1592883771]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
|
||||
[node name="InfoMargin" type="MarginContainer" parent="MainLayout/RightPanel/SelectedPlayerInfo" unique_id=882298034]
|
||||
[node name="InfoMargin" type="MarginContainer" parent="MarginContainer/MainLayout/RightPanel/SelectedPlayerInfo" unique_id=882298034]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 20
|
||||
theme_override_constants/margin_top = 15
|
||||
theme_override_constants/margin_right = 20
|
||||
theme_override_constants/margin_bottom = 15
|
||||
|
||||
[node name="InfoVBox" type="VBoxContainer" parent="MainLayout/RightPanel/SelectedPlayerInfo/InfoMargin" unique_id=567154378]
|
||||
[node name="InfoVBox" type="VBoxContainer" parent="MarginContainer/MainLayout/RightPanel/SelectedPlayerInfo/InfoMargin" unique_id=567154378]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="SelectedNameLabel" type="Label" parent="MainLayout/RightPanel/SelectedPlayerInfo/InfoMargin/InfoVBox" unique_id=1940372038]
|
||||
[node name="SelectedNameLabel" type="Label" parent="MarginContainer/MainLayout/RightPanel/SelectedPlayerInfo/InfoMargin/InfoVBox" unique_id=1940372038]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.69803923, 0.5411765, 0.3647059, 1)
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
theme_override_font_sizes/font_size = 24
|
||||
text = "PLAYER NAME"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="SelectedRankLabel" type="Label" parent="MainLayout/RightPanel/SelectedPlayerInfo/InfoMargin/InfoVBox" unique_id=994755781]
|
||||
[node name="SelectedRankLabel" type="Label" parent="MarginContainer/MainLayout/RightPanel/SelectedPlayerInfo/InfoMargin/InfoVBox" unique_id=994755781]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.647, 0.996, 0.224, 1)
|
||||
|
||||
+316
-228
@@ -1,7 +1,50 @@
|
||||
[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"]
|
||||
[ext_resource type="Theme" uid="uid://cxab3xxy00" path="res://assets/themes/GUI_Tekton.tres" id="1_25ghd"]
|
||||
[ext_resource type="Texture2D" uid="uid://jqvv6s55mlsk" path="res://assets/graphics/gui/BG.png" id="3_atvl1"]
|
||||
[ext_resource type="Texture2D" uid="uid://dvp0as6yyudco" path="res://assets/graphics/main_menu/bg_illust.png" id="4_53sdr"]
|
||||
[ext_resource type="Texture2D" uid="uid://bvy60hfe7hr4j" path="res://assets/graphics/login_panel/sign_in.png" id="5_dfu6y"]
|
||||
[ext_resource type="Texture2D" uid="uid://36uhj6e6piai" path="res://assets/graphics/login_panel/sign_in_dimmed.png" id="6_eint3"]
|
||||
[ext_resource type="Texture2D" uid="uid://dkjiv40yjf2w7" path="res://assets/graphics/login_panel/sign_up.png" id="7_duruf"]
|
||||
[ext_resource type="Texture2D" uid="uid://3c2hwrbatvsh" path="res://assets/graphics/login_panel/sign_up_dimmed.png" id="8_0gtqq"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwhe3g5dai0pv" path="res://assets/graphics/gui/login_panel/steam.png" id="9_eint3"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_panel"]
|
||||
content_margin_left = 4.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 4.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color(0.14117648, 0.16862746, 0.19215687, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
shadow_color = Color(0, 0, 0, 0.3529412)
|
||||
shadow_size = 4
|
||||
shadow_offset = Vector2(-2, 2)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tab_inactive"]
|
||||
content_margin_left = 16.0
|
||||
content_margin_top = 14.0
|
||||
content_margin_right = 16.0
|
||||
content_margin_bottom = 14.0
|
||||
bg_color = Color(0.33, 0.62, 0.78, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tab_active"]
|
||||
content_margin_left = 16.0
|
||||
content_margin_top = 14.0
|
||||
content_margin_right = 16.0
|
||||
content_margin_bottom = 14.0
|
||||
bg_color = Color(0.1, 0.19, 0.27, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[node name="LoginScreen" type="Control" unique_id=1394670984]
|
||||
layout_mode = 3
|
||||
@@ -10,60 +53,301 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("2")
|
||||
theme = ExtResource("1_25ghd")
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="Background" type="ColorRect" parent="." unique_id=1913867293]
|
||||
[node name="Background2" type="TextureRect" parent="." unique_id=353261948]
|
||||
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)
|
||||
texture = ExtResource("3_atvl1")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="." unique_id=706535114]
|
||||
[node name="Background" type="TextureRect" parent="." unique_id=1187975207]
|
||||
modulate = Color(1, 1, 1, 0.48235294)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("4_53sdr")
|
||||
expand_mode = 1
|
||||
flip_h = true
|
||||
|
||||
[node name="LayoutVBox" type="VBoxContainer" parent="CenterContainer" unique_id=1110313476]
|
||||
[node name="RootHBox" type="HBoxContainer" parent="." unique_id=862490259]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="LeftColumn" type="VBoxContainer" parent="RootHBox" unique_id=1587806516]
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 10
|
||||
theme_override_constants/separation = 12
|
||||
alignment = 2
|
||||
|
||||
[node name="LeftSpacer" type="Control" parent="RootHBox/LeftColumn" unique_id=1209422692]
|
||||
custom_minimum_size = Vector2(0, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="SignInTabBtn" type="TextureButton" parent="RootHBox/LeftColumn" unique_id=2029771907]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
toggle_mode = true
|
||||
texture_normal = ExtResource("6_eint3")
|
||||
texture_pressed = ExtResource("5_dfu6y")
|
||||
texture_hover = ExtResource("5_dfu6y")
|
||||
|
||||
[node name="SignUpTabBtn" type="TextureButton" parent="RootHBox/LeftColumn" unique_id=1409705912]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
toggle_mode = true
|
||||
texture_normal = ExtResource("8_0gtqq")
|
||||
texture_pressed = ExtResource("7_duruf")
|
||||
texture_hover = ExtResource("7_duruf")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="RootHBox/LeftColumn" unique_id=1577376480]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 20
|
||||
|
||||
[node name="BottomLeftSpacer" type="Control" parent="RootHBox/LeftColumn" unique_id=459259390]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="CenterColumn" type="CenterContainer" parent="RootHBox" unique_id=1801474360]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PanelBG" type="PanelContainer" parent="RootHBox/CenterColumn" unique_id=320946805]
|
||||
custom_minimum_size = Vector2(420, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_panel")
|
||||
|
||||
[node name="TabContainer" type="TabContainer" parent="RootHBox/CenterColumn/PanelBG" unique_id=2135112748]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
current_tab = 0
|
||||
tabs_visible = false
|
||||
|
||||
[node name="Login" type="MarginContainer" parent="RootHBox/CenterColumn/PanelBG/TabContainer" unique_id=1294712927]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 8
|
||||
metadata/_tab_index = 0
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="RootHBox/CenterColumn/PanelBG/TabContainer/Login" unique_id=1063599539]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="HeaderVBox" type="VBoxContainer" parent="CenterContainer/LayoutVBox" unique_id=851120967]
|
||||
[node name="GuestButton" type="Button" parent="RootHBox/CenterColumn/PanelBG/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="RootHBox/CenterColumn/PanelBG/TabContainer/Login/VBox" unique_id=1387412213]
|
||||
layout_mode = 2
|
||||
text = "─────── or sign in ───────"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="EmailInput" type="LineEdit" parent="RootHBox/CenterColumn/PanelBG/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="RootHBox/CenterColumn/PanelBG/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="RootHBox/CenterColumn/PanelBG/TabContainer/Login/VBox" unique_id=1013722117]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme = ExtResource("1_25ghd")
|
||||
theme_override_colors/font_color = Color(0.88, 0.9, 0.93, 1)
|
||||
theme_override_colors/font_pressed_color = Color(0.83, 0.83, 0.83, 1)
|
||||
theme_override_colors/font_hover_color = Color(0.45, 0.73, 0.91, 1)
|
||||
button_pressed = true
|
||||
text = "Remember Me"
|
||||
|
||||
[node name="LoginButton" type="Button" parent="RootHBox/CenterColumn/PanelBG/TabContainer/Login/VBox" unique_id=945681236]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 48)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_font_sizes/font_size = 18
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_tab_inactive")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_tab_active")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_tab_inactive")
|
||||
text = "SIGN IN"
|
||||
|
||||
[node name="SocialLabel" type="Label" parent="RootHBox/CenterColumn/PanelBG/TabContainer/Login/VBox" unique_id=840440943]
|
||||
layout_mode = 2
|
||||
text = "─────── or continue with ───────"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="SocialButtons" type="HBoxContainer" parent="RootHBox/CenterColumn/PanelBG/TabContainer/Login/VBox" unique_id=1899762021]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
alignment = 1
|
||||
|
||||
[node name="GoogleButton" type="Button" parent="RootHBox/CenterColumn/PanelBG/TabContainer/Login/VBox/SocialButtons" unique_id=196743645]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(100, 44)
|
||||
layout_mode = 2
|
||||
text = "Google"
|
||||
|
||||
[node name="AppleButton" type="Button" parent="RootHBox/CenterColumn/PanelBG/TabContainer/Login/VBox/SocialButtons" unique_id=1174582184]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(100, 44)
|
||||
layout_mode = 2
|
||||
text = "Apple"
|
||||
|
||||
[node name="FacebookButton" type="Button" parent="RootHBox/CenterColumn/PanelBG/TabContainer/Login/VBox/SocialButtons" unique_id=1252096120]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(100, 44)
|
||||
layout_mode = 2
|
||||
text = "Facebook"
|
||||
|
||||
[node name="SteamButton" type="Button" parent="RootHBox/CenterColumn/PanelBG/TabContainer/Login/VBox/SocialButtons" unique_id=1024459784]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(140, 44)
|
||||
layout_mode = 2
|
||||
text = " STEAM"
|
||||
icon = ExtResource("9_eint3")
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="RootHBox/CenterColumn/PanelBG/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="RootHBox/CenterColumn/PanelBG/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="RootHBox/CenterColumn/PanelBG/TabContainer" unique_id=1373074681]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 2
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 8
|
||||
metadata/_tab_index = 1
|
||||
|
||||
[node name="LogoLabel" type="Label" parent="CenterContainer/LayoutVBox/HeaderVBox" unique_id=73067558]
|
||||
[node name="VBox" type="VBoxContainer" parent="RootHBox/CenterColumn/PanelBG/TabContainer/Register" unique_id=839364109]
|
||||
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"
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="RegEmailInput" type="LineEdit" parent="RootHBox/CenterColumn/PanelBG/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="RootHBox/CenterColumn/PanelBG/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="RootHBox/CenterColumn/PanelBG/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="RootHBox/CenterColumn/PanelBG/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="RootHBox/CenterColumn/PanelBG/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="RootHBox/CenterColumn/PanelBG/TabContainer/Register/VBox" unique_id=1402181329]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Min 8 characters, include number and symbol"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="SubtitleLabel" type="Label" parent="CenterContainer/LayoutVBox/HeaderVBox" unique_id=240064697]
|
||||
[node name="RegCaptchaContainer" type="HBoxContainer" parent="RootHBox/CenterColumn/PanelBG/TabContainer/Register/VBox" unique_id=1697820195]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 25
|
||||
|
||||
[node name="RegCaptchaQuestion" type="Label" parent="RootHBox/CenterColumn/PanelBG/TabContainer/Register/VBox/RegCaptchaContainer" unique_id=1792478300]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Security Check: 5 + 7 = ?"
|
||||
|
||||
[node name="RegCaptchaInput" type="LineEdit" parent="RootHBox/CenterColumn/PanelBG/TabContainer/Register/VBox/RegCaptchaContainer" unique_id=1405718888]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 44)
|
||||
layout_mode = 2
|
||||
placeholder_text = "Answer"
|
||||
alignment = 1
|
||||
|
||||
[node name="RegisterButton" type="Button" parent="RootHBox/CenterColumn/PanelBG/TabContainer/Register/VBox" unique_id=2040733064]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 48)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "REGISTER"
|
||||
|
||||
[node name="RegStatusLabel" type="Label" parent="RootHBox/CenterColumn/PanelBG/TabContainer/Register/VBox" unique_id=1096594976]
|
||||
unique_name_in_owner = true
|
||||
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
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="ServerSelectionSection" type="VBoxContainer" parent="CenterContainer/LayoutVBox" unique_id=580109643]
|
||||
[node name="RightColumn" type="Control" parent="RootHBox" unique_id=115281348]
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[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="ServerSelectionSection" type="VBoxContainer" parent="." unique_id=580109643]
|
||||
layout_mode = 1
|
||||
anchors_preset = 2
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 16.0
|
||||
offset_top = -60.0
|
||||
offset_right = 320.0
|
||||
offset_bottom = -16.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="ServerOption" type="OptionButton" parent="CenterContainer/LayoutVBox/ServerSelectionSection" unique_id=975117024]
|
||||
[node name="ServerOption" type="OptionButton" parent="ServerSelectionSection" unique_id=975117024]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 44)
|
||||
layout_mode = 2
|
||||
@@ -78,7 +362,7 @@ 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]
|
||||
[node name="ServerIPInput" type="LineEdit" parent="ServerSelectionSection" unique_id=1444265129]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(0, 44)
|
||||
@@ -86,13 +370,13 @@ 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]
|
||||
[node name="LANSection" type="VBoxContainer" parent="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]
|
||||
[node name="LanInfo" type="Label" parent="ServerSelectionSection/LANSection" unique_id=130839558]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.7, 0.7, 0.7, 1)
|
||||
theme_override_font_sizes/font_size = 12
|
||||
@@ -100,229 +384,33 @@ 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]
|
||||
[node name="LANHostBtn" type="Button" parent="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]
|
||||
[node name="LanSeparator" type="Label" parent="ServerSelectionSection/LANSection" unique_id=29744637]
|
||||
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]
|
||||
[node name="LANIPInput" type="LineEdit" parent="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]
|
||||
[node name="LANJoinBtn" type="Button" parent="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
|
||||
visible = false
|
||||
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
|
||||
visible = false
|
||||
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
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(100, 44)
|
||||
layout_mode = 2
|
||||
text = "Facebook"
|
||||
|
||||
[node name="SteamButton" type="Button" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox/SocialButtons" unique_id=1024459784]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 44)
|
||||
layout_mode = 2
|
||||
text = "Steam"
|
||||
|
||||
[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]
|
||||
[node name="VersionLabel" type="Label" parent="." unique_id=256596221]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
|
||||
@@ -0,0 +1,174 @@
|
||||
[gd_scene format=3 uid="uid://cb5cbbxyxx"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://df7xxyyzz" path="res://scripts/ui/mailbox_panel.gd" id="1_a"]
|
||||
|
||||
[node name="MailboxPanel" type="Panel"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_a")
|
||||
|
||||
[node name="BG" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.08, 0.15, 0.22, 1)
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 24
|
||||
theme_override_constants/margin_top = 24
|
||||
theme_override_constants/margin_right = 24
|
||||
theme_override_constants/margin_bottom = 24
|
||||
|
||||
[node name="HBox" type="HBoxContainer" parent="Margin"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 24
|
||||
|
||||
[node name="LeftCol" type="VBoxContainer" parent="Margin/HBox"]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="HeaderHBox" type="HBoxContainer" parent="Margin/HBox/LeftCol"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Icon" type="TextureRect" parent="Margin/HBox/LeftCol/HeaderHBox"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="Label" type="Label" parent="Margin/HBox/LeftCol/HeaderHBox"]
|
||||
layout_mode = 2
|
||||
text = "MAILBOX"
|
||||
theme_override_font_sizes/font_size = 24
|
||||
|
||||
[node name="Scroll" type="ScrollContainer" parent="Margin/HBox/LeftCol"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="MailListVBox" type="VBoxContainer" parent="Margin/HBox/LeftCol/Scroll"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="EmptyStateLbl" type="Label" parent="Margin/HBox/LeftCol/Scroll"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 6
|
||||
text = "No mails found."
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CloseBtn" type="Button" parent="Margin/HBox/LeftCol"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 40)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
text = "BACK"
|
||||
|
||||
[node name="MailBtnTemplate" type="Button" parent="Margin/HBox/LeftCol"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(0, 80)
|
||||
layout_mode = 2
|
||||
toggle_mode = true
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="Margin/HBox/LeftCol/MailBtnTemplate"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
|
||||
[node name="Title" type="Label" parent="Margin/HBox/LeftCol/MailBtnTemplate/VBox"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "No Title"
|
||||
|
||||
[node name="HBox" type="HBoxContainer" parent="Margin/HBox/LeftCol/MailBtnTemplate/VBox"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DateLbl" type="Label" parent="Margin/HBox/LeftCol/MailBtnTemplate/VBox/HBox"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.745098, 0.745098, 0.745098, 1)
|
||||
theme_override_font_sizes/font_size = 12
|
||||
|
||||
[node name="Spacer" type="Control" parent="Margin/HBox/LeftCol/MailBtnTemplate/VBox/HBox"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="StatusLbl" type="Label" parent="Margin/HBox/LeftCol/MailBtnTemplate/VBox/HBox"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 12
|
||||
|
||||
[node name="RightCol" type="VBoxContainer" parent="Margin/HBox"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="MailTitleLbl" type="Label" parent="Margin/HBox/RightCol"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 28
|
||||
text = "WELCOME TO TEKTONIA"
|
||||
|
||||
[node name="Sep" type="HSeparator" parent="Margin/HBox/RightCol"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MailContentText" type="RichTextLabel" parent="Margin/HBox/RightCol"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_font_sizes/normal_font_size = 18
|
||||
text = "Lorem ipsum..."
|
||||
|
||||
[node name="FooterHBox" type="HBoxContainer" parent="Margin/HBox/RightCol"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="SenderLbl" type="Label" parent="Margin/HBox/RightCol/FooterHBox"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "SENDER:
|
||||
TEKTON DEV TEAM"
|
||||
|
||||
[node name="DynamicRewardsContainer" type="HBoxContainer" parent="Margin/HBox/RightCol/FooterHBox"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="RewardHBoxTemplate" type="HBoxContainer" parent="Margin/HBox/RightCol/FooterHBox"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Icon" type="TextureRect" parent="Margin/HBox/RightCol/FooterHBox/RewardHBoxTemplate"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="AmountLbl" type="Label" parent="Margin/HBox/RightCol/FooterHBox/RewardHBoxTemplate"]
|
||||
layout_mode = 2
|
||||
text = "100"
|
||||
|
||||
[node name="ActionBtn" type="Button" parent="Margin/HBox/RightCol/FooterHBox"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(120, 48)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 0.2, 0.2, 1)
|
||||
text = "DELETE"
|
||||
@@ -1,8 +1,8 @@
|
||||
[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="Texture2D" uid="uid://2d1ks5pmblc7" path="res://assets/graphics/main_menu/bg_back.png" id="3_0vpw4"]
|
||||
[ext_resource type="Theme" uid="uid://cxab3xxy00" path="res://assets/themes/GUI_Tekton.tres" id="1_pti1t"]
|
||||
[ext_resource type="Texture2D" uid="uid://jqvv6s55mlsk" path="res://assets/graphics/gui/BG.png" id="3_3vyn0"]
|
||||
[ext_resource type="FontFile" uid="uid://xnjx058n4tsw" path="res://assets/fonts/Nougat-ExtraBlack.ttf" id="3_font"]
|
||||
[ext_resource type="PackedScene" uid="uid://ejeamn0pyey4" path="res://assets/characters/Bob.glb" id="4_bob"]
|
||||
[ext_resource type="PackedScene" uid="uid://d4cul3w3wem5w" path="res://assets/characters/Gatot.glb" id="4_gatot"]
|
||||
@@ -25,10 +25,11 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("2")
|
||||
theme = ExtResource("1_pti1t")
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="Background" type="ColorRect" parent="." unique_id=1526402211]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -38,14 +39,13 @@ grow_vertical = 2
|
||||
color = Color(0.0627451, 0.0745098, 0.101961, 1)
|
||||
|
||||
[node name="Background2" type="TextureRect" parent="." unique_id=1984021675]
|
||||
modulate = Color(1, 1, 1, 0.28235295)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("3_0vpw4")
|
||||
texture = ExtResource("3_3vyn0")
|
||||
expand_mode = 2
|
||||
|
||||
[node name="MainMargin" type="MarginContainer" parent="." unique_id=949618423]
|
||||
@@ -144,7 +144,6 @@ text = "✦"
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0.5686275, 0.36862746, 0.12941177, 1)
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "0"
|
||||
@@ -172,7 +171,6 @@ text = "▤"
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0.5686275, 0.36862746, 0.12941177, 1)
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "0"
|
||||
@@ -195,7 +193,6 @@ theme_override_constants/separation = 4
|
||||
[node name="AccountType" type="Label" parent="MainMargin/MainHBox/LeftCol/StatsPanel/Margin/VBox" unique_id=1583438808]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.7, 0.5, 0.3, 1)
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
theme_override_font_sizes/font_size = 13
|
||||
text = "Account : Email"
|
||||
@@ -210,7 +207,6 @@ text = "Link Email"
|
||||
[node name="GamesPlayed" type="Label" parent="MainMargin/MainHBox/LeftCol/StatsPanel/Margin/VBox" unique_id=279949601]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.8, 0.65, 0.45, 1)
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
theme_override_font_sizes/font_size = 13
|
||||
text = "Games Played: 8"
|
||||
@@ -218,7 +214,6 @@ text = "Games Played: 8"
|
||||
[node name="WinRate" type="Label" parent="MainMargin/MainHBox/LeftCol/StatsPanel/Margin/VBox" unique_id=1698973042]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.8, 0.65, 0.45, 1)
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
theme_override_font_sizes/font_size = 13
|
||||
text = "Win Rate: 62.5%"
|
||||
@@ -226,7 +221,6 @@ text = "Win Rate: 62.5%"
|
||||
[node name="HighScore" type="Label" parent="MainMargin/MainHBox/LeftCol/StatsPanel/Margin/VBox" unique_id=1418839301]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.8, 0.65, 0.45, 1)
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
theme_override_font_sizes/font_size = 13
|
||||
text = "High Score: 14050"
|
||||
@@ -343,7 +337,7 @@ unique_name_in_owner = true
|
||||
own_world_3d = true
|
||||
transparent_bg = true
|
||||
handle_input_locally = false
|
||||
size = Vector2i(627, 487)
|
||||
size = Vector2i(627, 541)
|
||||
render_target_update_mode = 4
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="MainMargin/MainHBox/CenterCol/ViewportWrapper/ViewportContainer/PreviewViewport" unique_id=1660814495]
|
||||
@@ -494,7 +488,6 @@ theme_override_constants/separation = 6
|
||||
[node name="ItemNameLabel" type="Label" parent="MainMargin/MainHBox/RightCol/ItemInfoCard/Margin/HBox/VBox" unique_id=1127187232]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.5686275, 0.36862746, 0.12941177, 1)
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "Cute Hat"
|
||||
@@ -520,7 +513,6 @@ text = "✦"
|
||||
[node name="ItemPriceLabel" type="Label" parent="MainMargin/MainHBox/RightCol/ItemInfoCard/Margin/HBox/VBox/RarityPriceRow" unique_id=1837607820]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.5686275, 0.36862746, 0.12941177, 1)
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "1500"
|
||||
@@ -649,7 +641,6 @@ text = "◀"
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(80, 32)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.9, 0.7, 0.3, 1)
|
||||
theme_override_fonts/font = ExtResource("3_font")
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "1"
|
||||
@@ -709,10 +700,10 @@ anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = 4.0
|
||||
offset_top = 4.0
|
||||
offset_right = 316.0
|
||||
offset_bottom = 216.0
|
||||
offset_left = -156.0
|
||||
offset_top = -106.0
|
||||
offset_right = 156.0
|
||||
offset_bottom = 106.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
columns = 3
|
||||
|
||||
+114
-121
@@ -1,6 +1,26 @@
|
||||
[gd_scene format=3 uid="uid://dqsocial001"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://cxab3xxy00" path="res://assets/themes/GUI_Tekton.tres" id="1_mo5tx"]
|
||||
[ext_resource type="Script" uid="uid://dyr5tlvds11ib" path="res://scripts/ui/social_panel.gd" id="1_social"]
|
||||
[ext_resource type="Texture2D" uid="uid://jqvv6s55mlsk" path="res://assets/graphics/gui/BG.png" id="3_36pib"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_rvn4p"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5360p"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tab_active"]
|
||||
bg_color = Color(0, 0, 0, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tab_inactive"]
|
||||
bg_color = Color(0, 0, 0, 0.48)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[node name="SocialPanel" type="Control" unique_id=1931784939]
|
||||
layout_mode = 3
|
||||
@@ -9,225 +29,196 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
theme = ExtResource("1_mo5tx")
|
||||
script = ExtResource("1_social")
|
||||
|
||||
[node name="BgOverlay" type="ColorRect" parent="." unique_id=680051647]
|
||||
[node name="BgOverlay" type="TextureRect" parent="." unique_id=2114349387]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0, 0, 0, 0.6)
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("3_36pib")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="." unique_id=49835309]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -250.0
|
||||
offset_top = -310.0
|
||||
offset_right = 250.0
|
||||
offset_bottom = 310.0
|
||||
grow_horizontal = 2
|
||||
anchor_left = 0.42
|
||||
anchor_top = 0.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 0.0
|
||||
offset_top = 80.0
|
||||
offset_right = -10.0
|
||||
offset_bottom = -10.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_5360p")
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="Panel" unique_id=1778361359]
|
||||
[node name="Margin" type="MarginContainer" parent="Panel"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_constants/margin_left = 30
|
||||
theme_override_constants/margin_top = 30
|
||||
theme_override_constants/margin_right = 30
|
||||
theme_override_constants/margin_bottom = 30
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="Panel/Margin" unique_id=1778361359]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Header" type="HBoxContainer" parent="Panel/Margin/VBox" unique_id=760715334]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Header" type="HBoxContainer" parent="Panel/VBox" unique_id=760715334]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="Panel/VBox/Header" unique_id=207941011]
|
||||
[node name="TitleLabel" type="Label" parent="Panel/Margin/VBox/Header" unique_id=207941011]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "Social"
|
||||
text = ""
|
||||
|
||||
[node name="CloseBtn" type="Button" parent="Panel/VBox/Header" unique_id=1052436789]
|
||||
[node name="CloseBtn" type="Button" parent="Panel/Margin/VBox/Header" unique_id=1052436789]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "X"
|
||||
|
||||
[node name="HSep0" type="HSeparator" parent="Panel/VBox" unique_id=2043117827]
|
||||
[node name="HSep0" type="HSeparator" parent="Panel/Margin/VBox" unique_id=2043117827]
|
||||
layout_mode = 2
|
||||
theme_override_styles/separator = SubResource("StyleBoxEmpty_rvn4p")
|
||||
|
||||
[node name="TabBar" type="HBoxContainer" parent="Panel/VBox" unique_id=687086642]
|
||||
|
||||
|
||||
[node name="TabBar" type="HBoxContainer" parent="Panel/Margin/VBox" unique_id=687086642]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="SearchTabBtn" type="Button" parent="Panel/VBox/TabBar" unique_id=827932127]
|
||||
[node name="SearchTabBtn" type="Button" parent="Panel/Margin/VBox/TabBar" unique_id=827932127]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 40)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "Search"
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_tab_inactive")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_tab_inactive")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_tab_active")
|
||||
text = "FIND FRIEND"
|
||||
|
||||
[node name="RequestsTabBtn" type="Button" parent="Panel/VBox/TabBar" unique_id=243883852]
|
||||
[node name="FriendsTabBtn" type="Button" parent="Panel/Margin/VBox/TabBar" unique_id=1723617099]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 40)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "Requests"
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_tab_active")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_tab_inactive")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_tab_active")
|
||||
text = "FRIENDS"
|
||||
|
||||
[node name="FriendsTabBtn" type="Button" parent="Panel/VBox/TabBar" unique_id=1723617099]
|
||||
unique_name_in_owner = true
|
||||
[node name="HSep1" type="HSeparator" parent="Panel/Margin/VBox" unique_id=549111536]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "Friends"
|
||||
theme_override_styles/separator = SubResource("StyleBoxEmpty_5360p")
|
||||
|
||||
[node name="DMTabBtn" type="Button" parent="Panel/VBox/TabBar" unique_id=439566194]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "DM"
|
||||
|
||||
[node name="HSep1" type="HSeparator" parent="Panel/VBox" unique_id=549111536]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="SearchView" type="VBoxContainer" parent="Panel/VBox" unique_id=1208859643]
|
||||
[node name="SearchView" type="VBoxContainer" parent="Panel/Margin/VBox" unique_id=1208859643]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="SearchRow" type="HBoxContainer" parent="Panel/VBox/SearchView" unique_id=773262308]
|
||||
|
||||
[node name="SearchRow" type="HBoxContainer" parent="Panel/Margin/VBox/SearchView" unique_id=773262308]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="SearchInput" type="LineEdit" parent="Panel/VBox/SearchView/SearchRow" unique_id=1000924330]
|
||||
[node name="SearchInput" type="LineEdit" parent="Panel/Margin/VBox/SearchView/SearchRow" unique_id=1000924330]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "Search by username..."
|
||||
|
||||
[node name="SearchBtn" type="Button" parent="Panel/VBox/SearchView/SearchRow" unique_id=93688269]
|
||||
[node name="SearchBtn" type="Button" parent="Panel/Margin/VBox/SearchView/SearchRow" unique_id=93688269]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "Search"
|
||||
|
||||
[node name="NoSearchResultsLabel" type="Label" parent="Panel/VBox/SearchView" unique_id=788091908]
|
||||
[node name="NoSearchResultsLabel" type="Label" parent="Panel/Margin/VBox/SearchView" unique_id=788091908]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "No users found."
|
||||
|
||||
[node name="SearchScroll" type="ScrollContainer" parent="Panel/VBox/SearchView" unique_id=209134848]
|
||||
[node name="SearchScroll" type="ScrollContainer" parent="Panel/Margin/VBox/SearchView" unique_id=209134848]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="SearchResultsList" type="VBoxContainer" parent="Panel/VBox/SearchView/SearchScroll" unique_id=339880904]
|
||||
[node name="SearchResultsList" type="GridContainer" parent="Panel/Margin/VBox/SearchView/SearchScroll" unique_id=339880904]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/h_separation = 16
|
||||
theme_override_constants/v_separation = 16
|
||||
columns = 2
|
||||
|
||||
[node name="SearchResultTemplate" type="HBoxContainer" parent="Panel/VBox/SearchView" unique_id=1331976559]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="SRNameLabel" type="Label" parent="Panel/VBox/SearchView/SearchResultTemplate" unique_id=1704878305]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
|
||||
[node name="SRAddBtn" type="Button" parent="Panel/VBox/SearchView/SearchResultTemplate" unique_id=1934694377]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "Add Friend"
|
||||
|
||||
[node name="RequestsView" type="VBoxContainer" parent="Panel/VBox" unique_id=1296365230]
|
||||
|
||||
[node name="FriendsView" type="VBoxContainer" parent="Panel/Margin/VBox" unique_id=696809922]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="NoRequestsLabel" type="Label" parent="Panel/VBox/RequestsView" unique_id=1128340712]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "No incoming friend requests."
|
||||
|
||||
[node name="RequestsScroll" type="ScrollContainer" parent="Panel/VBox/RequestsView" unique_id=964968029]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="RequestsList" type="VBoxContainer" parent="Panel/VBox/RequestsView/RequestsScroll" unique_id=1332648515]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="RequestRowTemplate" type="HBoxContainer" parent="Panel/VBox/RequestsView" unique_id=619262910]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="RRNameLabel" type="Label" parent="Panel/VBox/RequestsView/RequestRowTemplate" unique_id=1650836202]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
|
||||
[node name="RRAcceptBtn" type="Button" parent="Panel/VBox/RequestsView/RequestRowTemplate" unique_id=1452984145]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "Accept"
|
||||
|
||||
[node name="RRDeclineBtn" type="Button" parent="Panel/VBox/RequestsView/RequestRowTemplate" unique_id=942241768]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "Decline"
|
||||
|
||||
[node name="FriendsView" type="VBoxContainer" parent="Panel/VBox" unique_id=696809922]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="NoFriendsLabel" type="Label" parent="Panel/VBox/FriendsView" unique_id=1420717854]
|
||||
[node name="NoFriendsLabel" type="Label" parent="Panel/Margin/VBox/FriendsView" unique_id=1420717854]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "No friends yet!"
|
||||
|
||||
[node name="FriendScroll" type="ScrollContainer" parent="Panel/VBox/FriendsView" unique_id=1428917844]
|
||||
[node name="FriendScroll" type="ScrollContainer" parent="Panel/Margin/VBox/FriendsView" unique_id=1428917844]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="FriendList" type="VBoxContainer" parent="Panel/VBox/FriendsView/FriendScroll" unique_id=1152435338]
|
||||
[node name="FriendList" type="GridContainer" parent="Panel/Margin/VBox/FriendsView/FriendScroll" unique_id=1152435338]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/h_separation = 16
|
||||
theme_override_constants/v_separation = 16
|
||||
columns = 2
|
||||
|
||||
[node name="DMView" type="VBoxContainer" parent="Panel/VBox" unique_id=828807744]
|
||||
[node name="DMView" type="PanelContainer" parent="." unique_id=828807744]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_tab_inactive")
|
||||
|
||||
[node name="DMHeader" type="HBoxContainer" parent="Panel/VBox/DMView" unique_id=1689887837]
|
||||
|
||||
[node name="VBox" type="VBoxContainer" parent="DMView"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DMBackBtn" type="Button" parent="Panel/VBox/DMView/DMHeader" unique_id=1721956547]
|
||||
[node name="DMHeader" type="HBoxContainer" parent="DMView/VBox" unique_id=1689887837]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DMBackBtn" type="Button" parent="DMView/VBox/DMHeader" unique_id=1721956547]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "<- Back"
|
||||
|
||||
[node name="DMUsernameLabel" type="Label" parent="Panel/VBox/DMView/DMHeader" unique_id=632301252]
|
||||
[node name="DMUsernameLabel" type="Label" parent="DMView/VBox/DMHeader" unique_id=632301252]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
|
||||
[node name="DMLog" type="RichTextLabel" parent="Panel/VBox/DMView" unique_id=1090451527]
|
||||
[node name="DMLog" type="RichTextLabel" parent="DMView/VBox" unique_id=1090451527]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
@@ -235,17 +226,19 @@ theme_override_colors/default_color = Color(0.3, 0.18, 0.1, 1)
|
||||
bbcode_enabled = true
|
||||
scroll_following = true
|
||||
|
||||
[node name="DMInputRow" type="HBoxContainer" parent="Panel/VBox/DMView" unique_id=433115787]
|
||||
[node name="DMInputRow" type="HBoxContainer" parent="DMView/VBox" unique_id=433115787]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="DMInput" type="LineEdit" parent="Panel/VBox/DMView/DMInputRow" unique_id=533043662]
|
||||
[node name="DMInput" type="LineEdit" parent="DMView/VBox/DMInputRow" unique_id=533043662]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "Type a message..."
|
||||
|
||||
[node name="DMSendBtn" type="Button" parent="Panel/VBox/DMView/DMInputRow" unique_id=695010640]
|
||||
[node name="DMSendBtn" type="Button" parent="DMView/VBox/DMInputRow" unique_id=695010640]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.3, 0.18, 0.1, 1)
|
||||
text = "Send"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user