1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-24 04:22:29 +08:00

Add HarmonyOS Sans font and implement QuickUI for text handling

- Imported HarmonyOS Sans Regular font with appropriate settings for rendering and fallback.
- Created QuickUI script to facilitate the creation of small text labels with optional centering.
- Added new theme resources for big bold text and small text, defining font sizes for RichTextLabel and Label respectively.
This commit is contained in:
2025-08-26 19:35:26 +08:00
parent 25497d2dd5
commit 417ca71de3
15 changed files with 179 additions and 18 deletions
+8 -5
View File
@@ -1,15 +1,18 @@
[gd_scene load_steps=3 format=3 uid="uid://btisbc7ehj4fo"]
[ext_resource type="PackedScene" uid="uid://b4cwipt17nh7g" path="res://components/Abstracts/FeedCardBase.tscn" id="1_tdrm3"]
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_vapev"]
[ext_resource type="Texture2D" uid="uid://b7vxserbhskol" path="res://resources/feeds/banana.svg" id="2_2mlfi"]
[node name="Banana" instance=ExtResource("1_tdrm3")]
[node name="Banana" instance=ExtResource("1_vapev")]
avatarTexture = ExtResource("2_2mlfi")
displayName = "香蕉"
fields = Array[int]([0, 3, 7])
fields = Array[int]([0, 3])
fieldValues = Array[float]([10.0, 0.1])
costs = Array[int]([0, 1])
costCounts = Array[int]([5, 10])
costCounts = Array[int]([10, 5])
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_2mlfi")
[node name="name" parent="container/info" index="1"]
text = "香蕉"
text = "[b]香蕉[/b]"