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.
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.