I tried to follow directions on making a game where you have a level.lua that calls game.lua and then when the game.lua is over it calls level.lua again and keeps going back and forth like that until game is finished.
But, For some reason it doesn’t do anything when I call level.lua again.
My guess is because I didn’t clean up level.lua when I called game.lua. But, I haven’t seen any tutorials on HOW to clean up. All I see is over and over “clean up your …” but I haven’t seen any examples.
Is there any REAL LIFE example (programs with LOTS of timers, display objects, etc that needs to be cleaned up) that shows HOW to clean up? I mean I read where you have to cancel your timers and get rid of your display timers, but I haven’t seen a REAL example of that. Anyone got one?
If I clean up and still not work, then I will show my code, but I think this is the problem.
Thanks for your help!