Man ... I'm on fire tonight!

Miscellaneous Forums/General Discussion/Man ... I'm on fire tonight!

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.

When I said no "functions", that's because everything is now "methods" of objects instead. Here's my main loop:

Repeat 
	'do the logic separately from the drawing
	If Game.MainLogicLoop() = -1 Then ShutDown()
	
	'draw the screen and flip it to show it
	Game.ScreenDraw()						

	'This line lets windows have some CPU power but reduces the overall FPS,
	'so you may want to comment it out.
	If Not Game.FullScreen And Not Game.Fast Then Delay(1)
	
Until LoopExit = 1


yes, I know Shutdown() is a function ;-p That's why I said "practically".