成功了最终脚本是这个,非常感谢{:2_273:}
f=Array.new(139){|g| [g * 4,g * 3]} h=f.reverse g = f + h c=[[0,0],[160,120],[320,240],[480,360],[640,480],[480,360],[320,240],[160,120],[0,0]] def haha(a,b) @fci=Sprite.new @fci.bitmap=Bitmap.new("Graphics/Titles1/01") @fci.ox=0 @fci.oy=0 @fci.x=a @fci.y=b @a=0 @b=1 loop do @fci.update Graphics.update @a=@a+@b p @a break if @a>1 end @fci.dispose end loop do g.each{|a,b| haha(a,b)} end
f=Array.new(139){|g| [g * 4,g * 3]}
h=f.reverse
g = f + h
c=[[0,0],[160,120],[320,240],[480,360],[640,480],[480,360],[320,240],[160,120],[0,0]]
def haha(a,b)
@fci=Sprite.new
@fci.bitmap=Bitmap.new("Graphics/Titles1/01")
@fci.ox=0
@fci.oy=0
@fci.x=a
@fci.y=b
@a=0
@b=1
loop do
@fci.update
Graphics.update
@a=@a+@b
p @a
break if @a>1
end
@fci.dispose
end
loop do
g.each{|a,b| haha(a,b)}
end
|