加入文本精灵

This commit is contained in:
2025-10-25 15:51:53 +08:00
parent 77fe539809
commit 89899a3799
9 changed files with 67 additions and 10 deletions

View File

@@ -1,11 +1,17 @@
function _InitFont_() {
return [
{ path = "Fonts/VonwaonBitmap-12px.ttf", size = 12 },
{ path = "Fonts/VonwaonBitmap-12px.ttf", size = 24 },
{ path = "Fonts/NotoSansSC-Light.otf", size = 12 }
];
}
function main() {
//初始化随机数种子
srand(time());
local SM = StateMachine.GetInstance();
SM.RegisterState(CHARACTERJOB.SWORDMAN, "Character_Rest", 0);
SM.RegisterState(CHARACTERJOB.SWORDMAN, "Character_Move", 1);
}
}