| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2012-10-8 |
| 在线时间 | 333 小时 |
穿越一季:朔
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 333 小时
- 注册时间
- 2007-4-11
- 回帖
- 5052

|
发表于 2008-10-8 00:39:29
|
显示全部楼层
- #==============================================================================
- # 本脚本来自www.66RPG.com,使用和转载请保留此信息
- #==============================================================================
- #显示金钱 by 小夏
- #经superufo的帮助一个脚本菜鸟做的不太完美将就着用吧
- class Window_goldWindow < Window_Base
- def initialize
- super(0,0,200,60)
- self.opacity = 150
- self.visible = false
- refresh
- end
- def refresh
- self.contents.clear
- self.contents.draw_text(0, 0, 80, WLH, "金钱:")
- self.contents.draw_text(80, 0, 40, WLH, $game_party.gold)
- self.contents.draw_text(100,0, 40, WLH, Vocab::gold, 2)
- end
- end
- class Scene_Map < Scene_Base
- alias goldWindow_start start
- alias goldWindow_update
- update
- alias goldWindow_terminate terminate
- def start
- goldWindow_start
- @goldWindow = Window_goldWindow.new
- end
- def update
- @goldWindow.update
- @goldWindow.refresh
- @goldWindow.visible = true
- goldWindow_update
- end
- def terminate
- goldWindow_terminate
- @goldWindow.dispose
- end
- end
- #小夏作品
- #转载者注明这个是superufo和小夏的作品谢谢合作
- #==============================================================================
- # 本脚本来自www.66RPG.com,使用和转载请保留此信息
- #==============================================================================
复制代码 |
|