加入文本精灵
This commit is contained in:
12
main.nut
12
main.nut
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user