Project1
标题:
如何加速渐变速度
[打印本页]
作者:
qq295268654
时间:
2012-8-20 17:29
标题:
如何加速渐变速度
显示图片的渐变速度如何加快 dsu_plus_rewardpost_czw
作者:
bbaugle
时间:
2012-8-20 18:41
#==============================================================================
# ■ Scene_Map
#------------------------------------------------------------------------------
# 处理地图画面的类。
#==============================================================================
class Scene_Map
#--------------------------------------------------------------------------
# ● 刷新画面
#--------------------------------------------------------------------------
alias old_update_bbaugle update
def update
# 处理过渡中的情况下
if $game_temp.transition_processing
# 清除过渡处理中标志
$game_temp.transition_processing = false
# 执行过渡
if $game_temp.transition_name == ""
d = $渐变速度 == nil ? 20 : $渐变速度
$渐变速度 = nil
Graphics.transition(d)
else
d = $渐变速度 == nil ? 40 : $渐变速度
$渐变速度 = nil
Graphics.transition(d, "Graphics/Transitions/" +
$game_temp.transition_name)
end
end
old_update_bbaugle
end
end
复制代码
在事件中用脚本 $渐变速度 = n
n为帧速
即可改变图片渐变速度
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1