AFAIK there is no main.lua file, though I could be wrong
I would actually create a separate Menu Scene, and call that when you need it by swapping Scenes (you can always use Global Variables, or an XML/JSON/Text file to recreate any variables that you need to retain - hopefully inbuilt XML/JSON support will be coming soon).
So, you would call your Scenes something like this:
Menu -> Scene1 -> Menu -> Scene2 -> Menu etc.
HTH
Shando
PS: There are also the prebuilt Game State options (GameStart, GamePause, GameOver, GameWin, plus 10 User States) which are detailed in the Scripting Docs - . So, you could use these and have different Menus depending on which State is currently selected?Statistics: Posted by Shando — 11 Jul 2015, 01:04
]]>