Wow! I found out that during the "GameLoop" Cpu usage is 100%. There are needs/ways to make this value smalller???

this is the code for gameloop:
VB Code:
  1. While GameRunning
  2.         'DoSomestuffhere
  3.        
  4.         CheckIfIHaveToExitThisLoop   'for stopping gameloop
  5.         DoEvents
  6.     Wend
Thx,
Xmas