feat: update 2.1.9

This commit is contained in:
2026-04-29 01:36:49 +08:00
parent 1585b91509
commit 8a2f865ad8
76 changed files with 2628 additions and 39 deletions
+40
View File
@@ -0,0 +1,40 @@
[gd_scene format=3 uid="uid://dqfriend001"]
[ext_resource type="Script" path="res://scripts/ui/friend_row.gd" id="1_frow"]
[node name="FriendRow" type="HBoxContainer"]
script = ExtResource("1_frow")
[node name="NameLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
[node name="StateLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
visible = false
[node name="DMBtn" type="Button" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "Chat"
visible = false
[node name="AcceptBtn" type="Button" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "Accept"
visible = false
[node name="DeclineBtn" type="Button" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "Decline"
visible = false
[node name="RemoveBtn" type="Button" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "Remove"
visible = false
+43
View File
@@ -0,0 +1,43 @@
[gd_scene format=3 uid="uid://dqinvite001"]
[ext_resource type="Script" path="res://scripts/ui/invite_friends_dialog.gd" id="1_inv"]
[node name="InviteFriendsDialog" type="Window"]
title = "Invite Friends to Lobby"
size = Vector2i(360, 420)
script = ExtResource("1_inv")
[node name="VBox" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 8.0
offset_top = 8.0
offset_right = -8.0
offset_bottom = -8.0
[node name="TitleLabel" type="Label" parent="VBox"]
layout_mode = 2
text = "Select a friend to invite:"
[node name="FriendScroll" type="ScrollContainer" parent="VBox"]
layout_mode = 2
size_flags_vertical = 3
custom_minimum_size = Vector2(0, 300)
[node name="FriendRows" type="VBoxContainer" parent="VBox/FriendScroll"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
[node name="NoFriendsLabel" type="Label" parent="VBox"]
unique_name_in_owner = true
layout_mode = 2
text = "No friends to invite yet.\nAdd friends from the Social panel!"
visible = false
[node name="CloseBtn" type="Button" parent="VBox"]
unique_name_in_owner = true
layout_mode = 2
text = "Close"
+16
View File
@@ -0,0 +1,16 @@
[gd_scene format=3 uid="uid://dqinvrow01"]
[ext_resource type="Script" path="res://scripts/ui/invite_row.gd" id="1_irow"]
[node name="InviteRow" type="HBoxContainer"]
script = ExtResource("1_irow")
[node name="NameLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
[node name="InviteBtn" type="Button" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "Invite"
+19
View File
@@ -0,0 +1,19 @@
[gd_scene format=3 uid="uid://dqlobinv01"]
[ext_resource type="Script" path="res://scripts/ui/lobby_invite_popup.gd" id="1_lip"]
[node name="LobbyInvitePopup" type="ConfirmationDialog"]
title = "Lobby Invitation"
ok_button_text = "Join"
script = ExtResource("1_lip")
[node name="VBox" type="VBoxContainer" parent="."]
layout_mode = 0
offset_right = 280.0
offset_bottom = 80.0
[node name="MessageLabel" type="Label" parent="VBox"]
unique_name_in_owner = true
layout_mode = 2
text = "Someone invited you to their lobby!"
autowrap_mode = 3
+9 -2
View File
@@ -186,36 +186,43 @@ layout_mode = 2
text = "Sign In"
[node name="SocialLabel" type="Label" parent="CenterContainer/LayoutVBox/TabContainer/Login/VBox" unique_id=840440943]
visible = false
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]
visible = false
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
+1
View File
@@ -318,6 +318,7 @@ text = "💎"
[node name="FragTabBtn" type="Button" parent="MainMargin/MainHBox/CenterCol/CategoryTabs" unique_id=1985872465]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(56, 56)
layout_mode = 2
theme_override_font_sizes/font_size = 28
+1
View File
@@ -141,6 +141,7 @@ text = "GLOVES"
[node name="TabAccessory" type="Button" parent="MainMargin/MainVBox/TopBar/TabsHBox" unique_id=228390814]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(60, 50)
layout_mode = 2
theme_override_fonts/font = ExtResource("3_udh10")
+179
View File
@@ -0,0 +1,179 @@
[gd_scene load_steps=2 format=3 uid="uid://dqsocial001"]
[ext_resource type="Script" path="res://scripts/ui/social_panel.gd" id="1_social"]
[node name="SocialPanel" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource("1_social")
[node name="BgOverlay" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(0, 0, 0, 0.6)
mouse_filter = 0
[node name="Panel" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -240.0
offset_top = -280.0
offset_right = 240.0
offset_bottom = 280.0
[node name="VBox" type="VBoxContainer" parent="Panel"]
layout_mode = 2
[node name="Header" type="HBoxContainer" parent="Panel/VBox"]
layout_mode = 2
[node name="TitleLabel" type="Label" parent="Panel/VBox/Header"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
text = "Social"
[node name="CloseBtn" type="Button" parent="Panel/VBox/Header"]
unique_name_in_owner = true
layout_mode = 2
text = "X"
[node name="HSep" type="HSeparator" parent="Panel/VBox"]
layout_mode = 2
[node name="TabBar" type="HBoxContainer" parent="Panel/VBox"]
layout_mode = 2
[node name="FriendsTabBtn" type="Button" parent="Panel/VBox/TabBar"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
text = "Friends"
[node name="GlobalTabBtn" type="Button" parent="Panel/VBox/TabBar"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
text = "Global Chat"
[node name="DMTabBtn" type="Button" parent="Panel/VBox/TabBar"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
text = "DM"
visible = false
[node name="ContentStack" type="Control" parent="Panel/VBox"]
layout_mode = 2
size_flags_vertical = 3
custom_minimum_size = Vector2(0, 380)
[node name="FriendsView" type="VBoxContainer" parent="Panel/VBox/ContentStack"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
[node name="AddFriendRow" type="HBoxContainer" parent="Panel/VBox/ContentStack/FriendsView"]
layout_mode = 2
[node name="AddFriendInput" type="LineEdit" parent="Panel/VBox/ContentStack/FriendsView/AddFriendRow"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "Username or ID..."
[node name="AddFriendBtn" type="Button" parent="Panel/VBox/ContentStack/FriendsView/AddFriendRow"]
unique_name_in_owner = true
layout_mode = 2
text = "Add"
[node name="FriendScroll" type="ScrollContainer" parent="Panel/VBox/ContentStack/FriendsView"]
layout_mode = 2
size_flags_vertical = 3
[node name="FriendList" type="VBoxContainer" parent="Panel/VBox/ContentStack/FriendsView/FriendScroll"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
[node name="GlobalView" type="VBoxContainer" parent="Panel/VBox/ContentStack"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
visible = false
[node name="GlobalLog" type="RichTextLabel" parent="Panel/VBox/ContentStack/GlobalView"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
bbcode_enabled = true
scroll_following = true
[node name="GlobalInputRow" type="HBoxContainer" parent="Panel/VBox/ContentStack/GlobalView"]
layout_mode = 2
[node name="GlobalInput" type="LineEdit" parent="Panel/VBox/ContentStack/GlobalView/GlobalInputRow"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "Type a message..."
[node name="GlobalSendBtn" type="Button" parent="Panel/VBox/ContentStack/GlobalView/GlobalInputRow"]
unique_name_in_owner = true
layout_mode = 2
text = "Send"
[node name="DMView" type="VBoxContainer" parent="Panel/VBox/ContentStack"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
visible = false
[node name="DMHeader" type="HBoxContainer" parent="Panel/VBox/ContentStack/DMView"]
layout_mode = 2
[node name="DMBackBtn" type="Button" parent="Panel/VBox/ContentStack/DMView/DMHeader"]
unique_name_in_owner = true
layout_mode = 2
text = "<- Back"
[node name="DMUsernameLabel" type="Label" parent="Panel/VBox/ContentStack/DMView/DMHeader"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
[node name="DMLog" type="RichTextLabel" parent="Panel/VBox/ContentStack/DMView"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
bbcode_enabled = true
scroll_following = true
[node name="DMInputRow" type="HBoxContainer" parent="Panel/VBox/ContentStack/DMView"]
layout_mode = 2
[node name="DMInput" type="LineEdit" parent="Panel/VBox/ContentStack/DMView/DMInputRow"]
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/ContentStack/DMView/DMInputRow"]
unique_name_in_owner = true
layout_mode = 2
text = "Send"