赞 | 23 |
VIP | 207 |
好人卡 | 31 |
积分 | 31 |
经验 | 48797 |
最后登录 | 2024-5-11 |
在线时间 | 1535 小时 |
Lv3.寻梦者 孤独守望
- 梦石
- 0
- 星屑
- 3133
- 在线时间
- 1535 小时
- 注册时间
- 2006-10-16
- 帖子
- 4321
 
|
首先请LZ加入脚本
- class Window_Command999 < Window_Command
- #--------------------------------------------------------------------------
- # ● 初始化对像
- # width : 窗口的宽
- # commands : 命令字符串序列
- #--------------------------------------------------------------------------
- def initialize(width, commands)
- # 由命令的个数计算出窗口的高
- super(width,commands)
- self.contents = Bitmap.new(width - 32, @item_max * 32)
- self.contents.font.name = "华文新魏"#《=字体名
- self.contents.font.bold = true#《=粗体
- refresh
- end
- #--------------------------------------------------------------------------
- # ● 刷新
- #--------------------------------------------------------------------------
- def refresh
- self.contents.clear
- for i in 0...@item_max
- draw_item(i, Color.new(255,0,0,255))#<=这里调颜色
- end
- end
- def disable_item(index)
- draw_item(index, Color.new(0,0,0,255))#<=这里调另一颜色
- end
- end
复制代码
然后再Scene_Title里面找到
@command_window = Window_Command.new(192, [s1, s2, s3])
改为 @command_window = Window_Command999.new(192, [s1, s2, s3])
最后再调一下后面的XY坐标 系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|