查看: 946|回复: 1

标题字颜色和光标问题

  [复制链接]
头像被屏蔽
梦石
0
星屑
50
在线时间
0 小时
注册时间
2007-3-4
回帖
34
发表于 2008-12-8 05:29:03 | 显示全部楼层 |阅读模式
提示: 作者被禁止或删除 内容自动屏蔽
梦石
0
星屑
7095
在线时间
1666 小时
注册时间
2008-10-29
回帖
6612

贵宾

发表于 2008-12-8 05:42:21 | 显示全部楼层
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
就可以了











你知道得太多了

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部