HI,
I am currently using composer to manage scene.
When the character dies in the current scene, I call an overlay screen, which displays a play button. When the user taps the play button, I want to be able to restart the current scene.
I know I can hide the overlay by doing this
composer.hideOverlay( "slideLeft", 250 )
but I need to somehow tell the current scene to restart. So I thought maybe I can have a event in the current scene and from the overlay screen I can dispatch that event. How can i do that? any ideas? or is there another preferred method of doing this?