fix: configure Chinese font across all UI

This commit is contained in:
2026-08-01 22:42:54 +08:00
parent a274f6475f
commit 28c5e5ccfb
2 changed files with 7 additions and 1 deletions

View File

@@ -40,6 +40,10 @@ window/size/viewport_height=1440
window/stretch/mode="canvas_items"
window/stretch/aspect="expand"
[gui]
theme/custom_font="res://assets/fonts/msyh.ttc"
[input]
move_left={

View File

@@ -1,6 +1,7 @@
[gd_scene load_steps=2 format=3]
[gd_scene load_steps=3 format=3]
[ext_resource type="Script" path="res://scenes/ui/PlayerHud.gd" id="1"]
[ext_resource type="Theme" path="res://assets/ui/world_text_theme.tres" id="2_theme"]
[node name="PlayerHud" type="Control"]
layout_mode = 3
@@ -10,4 +11,5 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme = ExtResource("2_theme")
script = ExtResource("1")