2 Nov 2019, 22:31

@waldron Thanks, the way I'm doing it still experimental and I'm not sure if its best practice but as everything is carried out sequentially, I try to take advantage of that.

Example:

// Call my intro/title function before the main game loop
// Once this breaks, it then moves into the main game loop

doIntro() 


// Main game loop
loop
     .. Main game code goes here 
     update()
repeat


// All my functions live at the bottom of the code
function doIntro()
loop
     clear()
     ..
     .. Do your fun title code here
     .. 
     c = controls( 0 )
     if c.a then
          break
     endif
     update()
repeat
return void