feat: HUD 重构与主题资源——灵米显示、新布局、标签描边阴影、按钮/菜单主题
This commit is contained in:
@@ -29,4 +29,4 @@ level_thresholds=[100, 200, 350, 550, 800, 1100, 1500, 2000, 2600, 3300, 4100, 5
|
||||
bottleneck_levels=[4, 7, 10, 13] ; 瓶颈目标层(升到这些层需突破判定)
|
||||
|
||||
[ui] ; UI 通用
|
||||
hud_font_size=28 ; HUD 字体大小
|
||||
hud_font_size=24 ; HUD 字体大小
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
[gd_resource type="Theme" format=3 uid="uid://05ygdcq8dme4"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://drt448qncx27p" path="res://assets/fonts/dingliezhuhaifont-20240831GengXinBan)-2.ttf" id="1_fwts0"]
|
||||
|
||||
[resource]
|
||||
default_font = ExtResource("1_fwts0")
|
||||
default_font_size = 24
|
||||
@@ -0,0 +1,13 @@
|
||||
[gd_resource type="LabelSettings" format=3 uid="uid://d1v74ab2ldtn7"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://drt448qncx27p" path="res://assets/fonts/dingliezhuhaifont-20240831GengXinBan)-2.ttf" id="1_fg5xm"]
|
||||
|
||||
[resource]
|
||||
font = ExtResource("1_fg5xm")
|
||||
font_size = 24
|
||||
font_color = Color(0.82, 0.95, 0.9, 1)
|
||||
outline_size = 3
|
||||
outline_color = Color(0, 0, 0, 0.8)
|
||||
shadow_size = 2
|
||||
shadow_color = Color(0, 0, 0, 0.7)
|
||||
shadow_offset = Vector2(1, 2)
|
||||
@@ -0,0 +1,7 @@
|
||||
[gd_resource type="Theme" format=3 uid="uid://ctuanla5trf4s"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://drt448qncx27p" path="res://assets/fonts/dingliezhuhaifont-20240831GengXinBan)-2.ttf" id="1_cviax"]
|
||||
|
||||
[resource]
|
||||
default_font = ExtResource("1_cviax")
|
||||
default_font_size = 32
|
||||
Reference in New Issue
Block a user