PLAY AGAIN: how to reload scenes

hello guyz

I have this feautre in my game “PLAY AGAIN”. if the user clicks that, I want the whole thing to be reloaded…full reset.

what im doing as of now is i make a dummy lua file.

-----------game.lua-------

storyboard.gotoScene(“dummyfile”)

storyboard.removeScene(“game”)

—dummyfile.lua–

storyboard.gotoScene(“game”)

do you have a better way for this?

thnx Corona pipz! Happy New Year!

Check out this tutorial by Rob Miracle

https://coronalabs.com/blog/2013/08/20/tutorial-reloading-storyboard-scenes/

Check out this tutorial by Rob Miracle

https://coronalabs.com/blog/2013/08/20/tutorial-reloading-storyboard-scenes/