Project1

标题: 标题字颜色和光标问题 [打印本页]

作者: 哈迪斯    时间: 2008-12-8 05:29
提示: 作者被禁止或删除 内容自动屏蔽
作者: 后知后觉    时间: 2008-12-8 05:42
Scene_Title类
大约在第40行
@command_window = Window_Command.new(192, [s1, s2, s3, s4])
192就是长度
你说的标题字颜色就是说的"新游戏""继续""退出"
这些字的颜色吗?
如果是的话要这样改,如果不是就在说清楚点……!
@command_window = Window_Command.new(192, [s1, s2, s3])
下面加一句
@command_window.refresh(Color.new(R, G, B, 255))
RGB颜色自己调
比如红色 Color.new(255, 0, 0, 255)
然后找到
Window_Command类

  def refresh
    self.contents.clear
    for i in 0...@item_max
      draw_item(i,normal_color)
    end
  end
替换为
  def refresh(color=normal_color)
    self.contents.clear
    for i in 0...@item_max
      draw_item(i,color)
    end
  end
就可以了




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1