mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-26 21:42:29 +08:00
feat(UI): 更新字体资源并优化物品显示逻辑
替换原有字体文件为OTF格式,添加粗体字体支持 在物品显示组件中添加字体颜色变化功能,根据资源是否足够显示不同颜色 优化Feed类的资源消耗计算逻辑,增加countOf方法提高可读性
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://bbm8l3hr4ihar"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://bbm8l3hr4ihar"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Statemachine/ItemShow.gd" id="1_2dhsb"]
|
||||
[ext_resource type="Texture2D" uid="uid://bks8jmctleina" path="res://resources/items/baseball.svg" id="1_hyowb"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_3yjwr"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_6sxrr"]
|
||||
length = 0.001
|
||||
tracks/0/type = "bezier"
|
||||
@@ -110,6 +112,7 @@ layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 8
|
||||
text = "0"
|
||||
label_settings = SubResource("LabelSettings_3yjwr")
|
||||
|
||||
[node name="animator" type="AnimationPlayer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
|
||||
Reference in New Issue
Block a user