最后,更改后的Scene_Ka:
[pre lang="Ruby"]class Scene_Ka
def main
Graphics.transition
loop do
Graphics.update
Input.update
shuaxing
if $scene != self
break
end
end
end
def shuaxing
if Input.trigger?(Input::Z)
$scene = Scene_Title.new
end
end
end[/pre]
另外Scene_Title那里加个@wsdx的释放,或者把生成图片转移到Scene_Ka中去。