Exiting Parts Of A Game

Blitz3D Forums/Blitz3D Beginners Area/Exiting Parts Of A Game

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.

First make the main game loop an infinite loop:
While 1

Now in the title_screen function check for the Escape key being hit. If it is, End:
Function title_screen()
if KeyHit(1) End
End Function