A first attempt with BMax - Feedback Appreciated

BlitzMax Forums/BlitzMax Beginners Area/A first attempt with BMax - Feedback Appreciated

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.

A couple of things I've noticed:

The following is unnecessary since you are already checking for KEY_ESCAPE in your while loop
		If KeyHit(KEY_ESCAPE)
					FlushMem
					End
		EndIf



You're not using flushmem in your main loop, this will cause slowdown and a memory leak. (flushmem has scope)