| 
 
| 赞 | 0 |  
| VIP | 0 |  
| 好人卡 | 0 |  
| 积分 | 1 |  
| 经验 | 7440 |  
| 最后登录 | 2017-2-7 |  
| 在线时间 | 1 小时 |  
 Lv1.梦旅人 
	梦石0 星屑50 在线时间1 小时注册时间2008-7-28帖子432 | 
| 
如题= =,貌似坐标只是局限在一个狭窄的小区域内,无法跳出去= =,坐标稍微调高点显示就消失了。。。。。。。。。。
x
加入我们,或者,欢迎回来。您需要 登录 才可以下载或查看,没有帐号?注册会员  脚本如下:
 
 复制代码#==============================================================================
# ■ Window_Gold
#------------------------------------------------------------------------------
#  显示金钱的窗口。
#==============================================================================
class Window_Gold_Menu < Window_Base
  #--------------------------------------------------------------------------
  # ● 初始化窗口
  #--------------------------------------------------------------------------
  def initialize
    super(0, 0, 160, 64)
    self.contents = Bitmap.new(width - 32, height - 32)
    self.windowskin = RPG::Cache.windowskin("../system/menu/windowskins/palskin")
    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(16, 0, 120-cx, 32, $game_party.gold.to_s, 2)
    self.contents.font.color = system_color
    src_rect = Rect.new(0,0,25,18)
    bitmap = Bitmap.new("Graphics/system/menu/back/money.png")
    self.contents.blt(4, 8, bitmap, src_rect)
  end
end
版务信息:本贴由楼主自主结贴~
 | 
 |