Hello Ppl!, I'm here to ask some questions:
Question I: About Waiting
I need to know how to make the script wait before going into the next line.
I used to do this:
but this ended up being to long, and therefore couldn't be applied to some cases.
So...How can I wait some time before going into the next line?
Question II: Flashing Screen!
More Question Coming Soon (;
-Fallen.
Question I: About Waiting
I need to know how to make the script wait before going into the next line.
I used to do this:
@wait = 50
def something
if @wait > 0
@wait -= 1
else
do_something
end
but this ended up being to long, and therefore couldn't be applied to some cases.
So...How can I wait some time before going into the next line?
Question II: Flashing Screen!
I'm trying to do this work for my script, but the screen simply won't flash, what am I doing wrong? BTW, it's on a loop.color = Color.new(255, 255, 255, 255)
duration = 100
$game_screen.start_flash(color, duration)
More Question Coming Soon (;
-Fallen.