feat: overhaul UI main and profile

This commit is contained in:
2026-04-15 16:26:49 +08:00
parent 01661a56ba
commit f10d777c90
16 changed files with 1888 additions and 710 deletions
+17 -1
View File
@@ -35,6 +35,7 @@
[ext_resource type="Texture2D" uid="uid://bowng12514p53" path="res://assets/graphics/gui/rankings/3rd.png" id="29_pibwh"]
[ext_resource type="Texture2D" uid="uid://biun2yvglxgij" path="res://assets/graphics/touch_control/grab_tekton.png" id="36_pibwh"]
[ext_resource type="Texture2D" uid="uid://bucwm17lfd131" path="res://assets/graphics/gui/help icon.png" id="37_pibwh"]
[ext_resource type="Theme" uid="uid://da337sh5qxi0s" path="res://assets/themes/ui_theme.tres" id="38_5he1u"]
[ext_resource type="Texture2D" uid="uid://da3yx87ar7kcj" path="res://assets/graphics/gui/setting_icon.png" id="38_c6pm6"]
[ext_resource type="Script" uid="uid://86ikh0wuqk7v" path="res://scripts/ui/powerup_inventory_ui.gd" id="powerup_ui_script"]
[ext_resource type="Script" uid="uid://b54tfa0n6kogi" path="res://scripts/managers/touch_controls.gd" id="touch_manager"]
@@ -96,6 +97,10 @@ content_margin_left = 33.0
content_margin_bottom = 20.0
texture = SubResource("CompressedTexture2D_chjal")
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5poiv"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_2cjbq"]
[node name="Main" type="Node3D" unique_id=864552263]
script = ExtResource("1_xcpe3")
@@ -1746,10 +1751,12 @@ offset_right = 150.0
offset_bottom = 150.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_5poiv")
[node name="NetworkPanel" type="Panel" parent="PauseMenu/Panel" unique_id=935918250]
layout_mode = 2
theme_override_styles/panel = ExtResource("5_dvx6y")
theme = ExtResource("38_5he1u")
theme_override_styles/panel = SubResource("StyleBoxEmpty_2cjbq")
[node name="NetworkInfo" type="HBoxContainer" parent="PauseMenu/Panel/NetworkPanel" unique_id=1194782604]
visible = false
@@ -1778,11 +1785,13 @@ vertical_alignment = 1
[node name="VBox" type="VBoxContainer" parent="PauseMenu/Panel" unique_id=837757440]
layout_mode = 2
theme = ExtResource("38_5he1u")
theme_override_constants/separation = 15
alignment = 1
[node name="Title" type="Label" parent="PauseMenu/Panel/VBox" unique_id=1740539610]
layout_mode = 2
theme_override_fonts/font = ExtResource("13_j8jky")
theme_override_font_sizes/font_size = 24
text = "Menu"
horizontal_alignment = 1
@@ -1794,22 +1803,26 @@ layout_mode = 2
[node name="ResumeBtn" type="Button" parent="PauseMenu/Panel/VBox" unique_id=79086881]
custom_minimum_size = Vector2(200, 45)
layout_mode = 2
theme_override_fonts/font = ExtResource("13_j8jky")
text = "Resume"
[node name="HowToPlayBtn" type="Button" parent="PauseMenu/Panel/VBox" unique_id=987654321]
visible = false
custom_minimum_size = Vector2(200, 45)
layout_mode = 2
theme_override_fonts/font = ExtResource("13_j8jky")
text = "How to Play"
[node name="SettingsBtn" type="Button" parent="PauseMenu/Panel/VBox" unique_id=215865401]
custom_minimum_size = Vector2(200, 45)
layout_mode = 2
theme_override_fonts/font = ExtResource("13_j8jky")
text = "Settings"
[node name="QuitBtn" type="Button" parent="PauseMenu/Panel/VBox" unique_id=1771850243]
custom_minimum_size = Vector2(200, 45)
layout_mode = 2
theme_override_fonts/font = ExtResource("13_j8jky")
text = "Quit Match"
[node name="HowToPlayPanel" type="CanvasLayer" parent="." unique_id=123456789]
@@ -1837,6 +1850,7 @@ offset_right = 300.0
offset_bottom = 250.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("38_5he1u")
[node name="VBox" type="VBoxContainer" parent="HowToPlayPanel/Panel" unique_id=123456792]
layout_mode = 2
@@ -1845,6 +1859,7 @@ alignment = 1
[node name="Title" type="Label" parent="HowToPlayPanel/Panel/VBox" unique_id=123456793]
layout_mode = 2
theme_override_colors/font_color = Color(0.5686275, 0.36862746, 0.12941177, 1)
theme_override_font_sizes/font_size = 22
text = "How to Play"
horizontal_alignment = 1
@@ -1864,6 +1879,7 @@ metadata/_tab_index = 0
[node name="RichTextLabel" type="RichTextLabel" parent="HowToPlayPanel/Panel/VBox/TabContainer/Free Mode" unique_id=123456796]
layout_mode = 2
theme_override_colors/default_color = Color(0.5686275, 0.36862746, 0.12941177, 1)
bbcode_enabled = true
text = "[b]Free Mode[/b]