| 赞 | 0  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 1 | 
 
| 经验 | 2112 | 
 
| 最后登录 | 2020-2-14 | 
 
| 在线时间 | 85 小时 | 
 
 
 
 
 
Lv1.梦旅人 
	- 梦石
 - 0 
 
        - 星屑
 - 110 
 
        - 在线时间
 - 85 小时
 
        - 注册时间
 - 2010-8-19
 
        - 帖子
 - 137
 
 
 
 | 
	
 本帖最后由 六翼恶魔 于 2011-2-15 16:14 编辑  
 
[code]class Window_PPAY < Window_Base 
  #-------------------------------------------------------------------------- 
  # ● 初始化窗口 
  #-------------------------------------------------------------------------- 
  def initialize 
    super(0, 0, 160, 64) 
    self.contents = Bitmap.new(width - 32, height - 32) 
    refresh 
  end 
  #-------------------------------------------------------------------------- 
  # ● 刷新 
  #-------------------------------------------------------------------------- 
  def refresh 
    self.contents.clear 
    cx = contents.text_size($data_system.words.gold).width 
    self.contents.font.color = normal_color 
    self.contents.draw_text(4, 0, 120-cx-2, 32, $game_variables[20].to_s, 2) 
    self.contents.font.color = system_color 
    self.contents.draw_text(124-cx, 0, cx, 32, $data_system.words.gold, 2) 
  end 
end 
[\code]菜单脚本在放到2L问题也放到2L |   
 
 
 
 |