| 
 
| 赞 | 1 |  
| VIP | 7 |  
| 好人卡 | 1 |  
| 积分 | 0 |  
| 经验 | 4007 |  
| 最后登录 | 2012-10-2 |  
| 在线时间 | 55 小时 |  
 Lv1.梦旅人 
	梦石0 星屑47 在线时间55 小时注册时间2010-8-4帖子299 | 
| 1、@gold_window = Window_Gold.new @gold_window.x = 0
 @gold_window.y = 416
 我用这几行调出显示金钱的窗口,如何关闭它?
 
 2、class Window_Steps < Window_Base
 #--------------------------------------------------------------------------
 # ● 初始化对像
 #--------------------------------------------------------------------------
 def initialize
 super(0, 0, 160, 96)
 self.contents = Bitmap.new(width - 32, height - 32)
 refresh
 end
 #--------------------------------------------------------------------------
 # ● 刷新
 #--------------------------------------------------------------------------
 def refresh
 self.contents.clear
 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, $game_party.steps.to_s, 2)
 end
 end
 
 上面的是默认的步数脚本  请问其中表示步数变量的语句是哪里?也就是说我不想显示步数 而想显示某个变量的值 如何操作?
 | 
 |