Project1

标题: 有没有随机过度图的脚本 [打印本页]

作者: yanzheng868    时间: 2008-2-14 05:28
标题: 有没有随机过度图的脚本
有没有随机过度图的脚本?
我有很多过渡图,想用在一个游戏里。
感谢~~~
作者: ONEWateR    时间: 2008-2-14 05:46
在Scene_Battle1
    if $data_system.battle_transition == ""
      Graphics.transition(20)
    else
      Graphics.transition(40, "Graphics/Transitions/" +
        "过渡图("+rand(20).to_s+")")
    end

过渡图名称可以自己修改,
如上:过渡图(1),过渡图(2)……

rand(20)指0-20随机数。也就是说20个图??

作者: yanzheng868    时间: 2008-2-14 16:34
提示:还要有  过渡图(0)  。。。。。。
赞个
作者: yanzheng868    时间: 2009-6-12 08:00
实验中




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1