| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2015-8-7 |
| 在线时间 | 256 小时 |
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 256 小时
- 注册时间
- 2008-8-1
- 回帖
- 396
|
发表于 2009-1-17 01:07:50
|
显示全部楼层
#--------------------------------------------------------------------------
# ● 初始化对像
#--------------------------------------------------------------------------
def initialize
@menu_com = Sprite.new
@menu_com.bitmap = Bitmap.new("Graphics/system/menu/back/自己的图片名.png")
@menu_com.z=0
super(0, 64, 640, 256)
@column_max = 2
refresh
self.index = 0
# 战斗中的情况下将窗口移至中央并将其半透明化
if $game_temp.in_battle
self.y = 64
self.height = 256
self.back_opacity = 160
end |
|