1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +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
+4
View File
@@ -16,6 +16,10 @@ var fields = {
@export var isBoss: bool = false
@export var displayName: String = "未知实体"
@export var sprintMultiplier: float = 7
@export var inventory = {
ItemStore.ItemType.BASEBALL: 0,
ItemStore.ItemType.BASKETBALL: 0
}
@onready var animatree: AnimationTree = $"%animatree"
@onready var texture: AnimatedSprite2D = $"%texture"