可是我改好以后出现这种错误 Script error within event 1, map 225 (INTRODUCTION): Section100:904:in `pbSetSystemFont'undefined local variable or method `pbgetsystemfont' for #<Window_ColoredTextPokemon:0x7a5aff8> Section028:11:in `pbExecuteScript' Section100:1965:in `initialize' Section130:11:in `new' Section130:11:in `pbStartScene' Section130:103:in `pbStartLoadScreen' Section035:182:in `toTitle' Section035:103:in `update' Section035:70:in `initialize' Section035:67:in `loop' Section035:71:in `initialize' (eval):1:in `new' (eval):1:in `pbExecuteScript' Section033:271:in `eval' Section028:11:in `pbExecuteScript' Section033:271:in `command_355' Section028:235:in `execute_command' Section027:199:in `update' Section027:113:in `loop' Section027:204:in `update' Section012:280:in `update' Section007:414:in `update' Section007:412:in `each' Section007:412:in `update' Section038:33:in `updateMaps' Section038:32:in `each' Section038:32:in `updateMaps' Section038:97:in `update' Section038:95:in `loop' Section038:108:in `update' Section038:64:in `main' Section038:61:in `loop' Section038:68:in `main' Section173:42:in `mainFunction' Section173:25:in `pbCriticalCode' Section173:45:in `mainFunction' Section173:49 Section173:48:in `loop' Section173:57 Interpreter 2 *:22:in `pbExecuteScript' Interpreter 7 *:271:in `command_355' Interpreter 2 *:235:in `execute_command' Interpreter 1:199:in `update' Interpreter 1:113:in `loop' Interpreter 1:204:in `update' Game_Event*:280:in `update' Game_Map*:414:in `update' Game_Map*:412:in `each' Game_Map*:412:in `update' Scene_Map:33:in `updateMaps' Scene_Map:32:in `each' Scene_Map:32:in `updateMaps' Scene_Map:97:in `update' Scene_Map:95:in `loop' Scene_Map:108:in `update' Scene_Map:64:in `main' Scene_Map:61:in `loop' Scene_Map:68:in `main' Main:42:in `mainFunction' Main:25:in `pbCriticalCode' Main:45:in `mainFunction' Main:49 Main:48:in `loop' Main:57 |
本帖最后由 幻风 于 2013-1-1 18:47 编辑 zhangbanxian 发表于 2013-1-1 16:51 搜素所有self.contents.font=[xxx}改成self.contents.font.name=["黑体","pokemon emerald narrow"],ls的 ... |
搜素所有self.contents.font=[xxx}改成self.contents.font.name=["黑体","pokemon emerald narrow"],ls的话只有在pokemon emerald narrow字体不存在的时候才会使用黑体...而且self.contents.font=应该不止一处,ls的貌似是debug用字体?- -b |
抽空看了一下,用查找font搜索到pokemondebug(1071) self.contents.font.name=["pokemon emerald narrow","黑体"] 这样中文字体为黑体了。如果你想其他字体就自己改。 |
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-11-24 03:21
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.