- 注册时间
- 2004-3-5
- 最后登录
- 2016-1-1
⑧专业
赋予你第五自由
- 积分
- 108021
|
发表于 2006-1-16 19:02:06
|
显示全部楼层
在Window_Steps里改,改成这样看看
- #==============================================================================
- # ■ Window_Steps
- #------------------------------------------------------------------------------
- # 菜单画面显示步数的窗口。
- #==============================================================================
- class Window_Steps < Window_Base
- #--------------------------------------------------------------------------
- # ● 初始化对像
- #--------------------------------------------------------------------------
- def initialize
- super(0, 0, 160, 96)
- self.contents = Bitmap.new(width - 32, height - 32)
- @xtV = []
- refresh
- end
- #--------------------------------------------------------------------------
- # ● 刷新
- #--------------------------------------------------------------------------
- def refresh
- self.contents.clear
- @xtV[1] = $game_variables[1]#对应变量是1
- self.contents.font.color = system_color
- self.contents.draw_text(4, 0, 120, 32, "移动步数")
- self.contents.font.color = normal_color
- self.contents.draw_text(4, 32, 120, 32, @xtV[1].to_s, 2)
- end
- end
复制代码
具体的参数得自己改改... |
|