still no posted example code to reload / restart

can someone please paste an ideal solution to this problem? a working restart class or something?

we have 3-4 forum posts of people not getting it working and someone saying they did but not proving how.

thanks

Like others have said, when the player fails to complete the level they are on, I tell them they didn't complete it, and go back to the level select screen. This gives them the option of picking a previous level they have completed, if they like.

i am not writing a game

So? What you are writing is of no consequence, the same theory applies.

If you want to reload a level, have an intermediary scene that you load. It can be nothing more than a display.newRect, that is black. Have it fade in over the old scene, start a timer for 500 ms, and then reload the scene you want.

views:1522 update:2011/10/13 9:25:17
corona forums © 2003-2011