| 
 
| 赞 | 27 |  
| VIP | 400 |  
| 好人卡 | 13 |  
| 积分 | 17 |  
| 经验 | 69730 |  
| 最后登录 | 2025-8-2 |  
| 在线时间 | 3039 小时 |  
 Lv3.寻梦者 (暗夜天使) 精灵族の天使 
	梦石0 星屑1707 在线时间3039 小时注册时间2007-3-16帖子33731  
 | 
| 那个么……你参照脚本里面的window_gold来写具体脚本。 
 [LINE]1,#dddddd[/LINE]系统信息:本贴获得楼主认可,66RPG感谢您的热情解答~#==============================================================================# ■ Window_Gold
 #------------------------------------------------------------------------------
 #  显示金钱的窗口。
 #==============================================================================
 
 class Window_Gold < 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_party.gold.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
 | 
 |