class Game_System
#--------------------------------------------------------------------------
# ● 播放图片
#--------------------------------------------------------------------------
def player_photo(max_number, photo_name,time=1,x=0,y=0)
bsprite = Sprite.new
for number in 1..max_number
bsprite.bitmap = Bitmap.new("Graphics/Pictures/#{photo_name}#{number}")
bsprite.x = x
bsprite.y = y
for i in 0...time
Graphics.update
end
end
bsprite.bitmap.dispose
bsprite.dispose
end
end
以下引用jbfc于2009-2-11 11:57:02的发言:
lz你赶快去看帮助和一些简单的脚本教程吧
我说的方法还是算了吧
不如这样写n.times{ Graphics.update }
以下引用孟凡生于2009-2-11 12:13:39的发言:
有播放完动画 刷新的办法吗??
为什么我播放完动画占了 100多内存 播放完也不刷新啊~~
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |