Strobing screen.

Blitz3D Forums/Blitz3D Beginners Area/Strobing screen.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

IGNORE, i was ignorant about the command you were using, sorry! The Waittimer uses Frames per second, which equates into hertz, so yeah :o)

I'm pretty sure the waittimer() things stops your program until the time has passed. You should maybe consider using a different approach if you intend to have other things happening in your program :o)

One way is to use Millisecs(). This is the system timer that starts when your computer gets powered on. To use this for a timer, you would do something like this:

Timer = millisecs()


Make your timer variable equal the current millisecs() value. Remember, the millisecs() command, returns the current millisecond the computer is counting, so it changes on it's own. Now, to get how many milliseconds have passed since then, do:

Time_passed = Millisecs() - Timer


Time_passed will now contain the difference between the two, giving you how many milliseconds have passed. The benefits of this, is your program keeps executing :o)