Slowdown... :(

BlitzPlus Forums/BlitzPlus Beginners Area/Slowdown... :(

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.

Do you have B+ or B3d ?

If B+:

timer=CreateTimer(30) ; game @ 30fps

Repeat
  WaitEvent()
  If EventID()=$4001 ; iirc, been too much blitzmaxing lately, it should be the timertick-event :P
  ' update game AI
  ' update screen
  Endif
Forever


If you're using polling: you really want to use events instead :P