Event Questions

BlitzPlus Forums/BlitzPlus Beginners Area/Event Questions

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.

Events in a nutshell:

You're only doing things when an event happens. With polling (like in B3d) you're *always* doing things 'n updates, even if nothing new happens.
The event way is the way the OS works, so it's a lot better, if you ask me.

The B+ events are mainly done for the Windows GUI, but the timer event could also be used for games. Instead of WaitTimer you just use a timer event, and on each timer event you update your game.

Basically: once you get the idea of events you never want to go back, in Blitzmax this is all even better as you can make your own events there.