赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 1 |
经验 | 3095 |
最后登录 | 2020-5-5 |
在线时间 | 0 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 55
- 在线时间
- 0 小时
- 注册时间
- 2006-10-17
- 帖子
- 112
|
2楼

楼主 |
发表于 2008-5-19 00:40:03
|
只看该作者
看了以前的帖子改了这里:
- #--------------------------------------------------------------------------
- # ● 设置窗口位置与不透明度 ##修改过,关于对话框位置大小的调节
- #--------------------------------------------------------------------------
- def reset_window
- if $game_temp.in_battle
- self.y = 16+$game_variables[136]
- else
- case $game_system.message_position
- when 0 # 上
- self.y = 16+$game_variables[136]
- when 1 # 中
- self.y = 160+$game_variables[136]
- when 2 # 下
- self.y = 304+$game_variables[136]
- end
- end
- self.x = $game_variables[135]+80
- self.width = [$game_variables[133]+480, 64].max
- self.height = [$game_variables[134]+160, 64].max
- self.contents.clear
- self.contents.dispose
- self.contents = Bitmap.new(width - 32, height - 32)
- if $game_system.message_frame == 0
- self.opacity = 255
- else
- self.opacity = 0
- end
- self.back_opacity = 160
- end
复制代码
有用是有用,可是我要问的问题和4个选项还是会分开,不能同时显示,是不是还要改哪里才可以呢? |
|