Sorry for naive beginner questions, but…
I am building a simple game that has multiple levels of difficulty. I setup initial stage, add display elements, run listeners …etc., BUT what do I need to do to restart when I need to switch to a higher level of complexity? That is, levels only differ by some constants (such as speed) but are essentially the same, so do I need to unload all of the display elements, remove all listeners and then redo everything from scratch? … and if so, is there a “goto” command in LUA? Along the same lines, how does one finish or end code? How do I “exit” from the game when the user hits ‘quit’?
Sorry for a barrage of questions, but they are all related. Thanks in advance !!
Oleg
[import]uid: 92927 topic_id: 15828 reply_id: 315828[/import]
[import]uid: 3826 topic_id: 15828 reply_id: 58491[/import]