设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索

下了那个国外口袋妖怪的游戏却无法显示中文

查看数: 7332 | 评论数: 23 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2012-12-27 21:46

正文摘要:

本帖最后由 李思无 于 2012-12-28 21:00 编辑 RT , 在论坛里下载了那个 国外玩家制作的口袋妖怪的 GAME ,想试着修改 弄弄,在对话框那里输入中文后 进入游戏 却无法正常显示中文, 如何是好啊? 请问要让游戏 ...

回复

lzf123 发表于 2014-11-13 20:38:15
幻风 发表于 2013-1-1 17:05
字体不是修改最后一处不就行了么,反正是至下而上覆盖功能。不过我发现我电脑不改字体也能显示中文。汗。 ...

可是我改好以后出现这种错误
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
k2467139 发表于 2013-11-23 17:22:03
幻风 发表于 2013-1-1 17:05
字体不是修改最后一处不就行了么,反正是至下而上覆盖功能。不过我发现我电脑不改字体也能显示中文。汗。 ...

恰好路过。。。
您的回答也有解决我的问题
但是字体好像太大些
要怎麽把它弄小???
幻风 发表于 2013-1-1 17:05:22
本帖最后由 幻风 于 2013-1-1 18:47 编辑
zhangbanxian 发表于 2013-1-1 16:51 搜素所有self.contents.font=[xxx}改成self.contents.font.name=["黑体","pokemon emerald narrow"],ls的 ...
字体不是修改最后一处不就行了么,反正是至下而上覆盖功能。不过我发现我电脑不改字体也能显示中文。汗。确实我没考虑周到。 如果lz按上面方法还是不行的话, 可以搜索bitmap.font.name. 可以发现spritewindow ( 904) bitmap.font.name=[$versionstyles[pbgetsystemfont][0],"黑体(字体自填)"]

点评

你可能没装pokemon emerald narrow字体- -b  发表于 2013-1-1 17:12
优先用前面的字体的说- -b  发表于 2013-1-1 17:12
李思无 发表于 2013-1-1 16:55:28
zhangbanxian 发表于 2013-1-1 16:51
搜素所有self.contents.font=[xxx}改成self.contents.font.name=["黑体","pokemon emerald narrow"],ls的 ...

我下班回去就试试~ 谢谢指导!
zhangbanxian 发表于 2013-1-1 16:51:08
搜素所有self.contents.font=[xxx}改成self.contents.font.name=["黑体","pokemon emerald narrow"],ls的话只有在pokemon emerald narrow字体不存在的时候才会使用黑体...而且self.contents.font=应该不止一处,ls的貌似是debug用字体?- -b
幻风 发表于 2013-1-1 16:25:17
抽空看了一下,用查找font搜索到pokemondebug(1071)  self.contents.font.name=["pokemon emerald narrow","黑体"]
这样中文字体为黑体了。如果你想其他字体就自己改。
李思无 发表于 2012-12-30 22:32:26
hys111111 发表于 2012-12-29 13:17
在对话前面加上看看,因为工程比较复杂,我还需研究一下。

好漢 還是不成! 55555~ 還請幫忙解決!造福我等口袋迷

点评

我再看一下。  发表于 2012-12-31 12:30
2012keke 发表于 2012-12-29 22:28:53
饿   谁帮我写剧本啊

点评

这样回答是灌水的哦,下次注意。  发表于 2012-12-31 12:30
hys111111 发表于 2012-12-29 13:17:47
李思无 发表于 2012-12-29 12:13
3楼的就是! 麻烦帮我看看! 谢谢了


在对话前面加上
  1. $fontface = "字体"
复制代码
看看,因为工程比较复杂,我还需研究一下。
拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-9-22 12:48

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表