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 [import]uid: 47176 topic_id: 8961 reply_id: 308961[/import]

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. [import]uid: 5317 topic_id: 8961 reply_id: 32746[/import]

i am not writing a game [import]uid: 47176 topic_id: 8961 reply_id: 32818[/import]

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.

[import]uid: 5317 topic_id: 8961 reply_id: 32821[/import]