04-24-2011, 07:38 PM
try this:
then to pause for, say, 10 frames, call wait(10)
Code:
def wait(frames)
frame = 0
loop do
break if frame >= frames
Graphics.update
frame +=1
end
end
then to pause for, say, 10 frames, call wait(10)