feat: HUD 增加时间流速控制,新增 Settings 持久化

- 顶栏改为暂停/1x/5x/20x 按钮组,当前档位高亮
- TimeSystem 支持暂停与档位切换
- 新增 Settings 单例,存档默认流速并开机应用
- GameState 补充年月日,支持 12x30 历法推进
This commit is contained in:
2026-08-03 22:01:35 +08:00
parent 404480ef00
commit 2a39bc6473
8 changed files with 103 additions and 1 deletions
+2
View File
@@ -1,6 +1,8 @@
extends Node
func _ready() -> void:
TimeSystem.speed_index = Settings.default_speed_index
TimeSystem.speed = TimeSystem.SPEEDS[TimeSystem.speed_index]
pass