makotok/Hanappe

Request: resetScene

Closed this issue · 3 comments

It would be advisable to have a resetScene function in sceneMgr, a function which restarts the current scene without returning to the parent scene.
This will come in handy if a player get's stuck and will need to press a reset button to retry the level.

Consider.

Now, it would be solved by creating a single scene of the dummy.
You to create a scene of only a transition to any scene.

openScene-> titleScene
gotoScene-> gameScene
gotoScene-> IntervalScene
gotoScene-> gameScene

I guess that will work somehow. The only drawback is that the scene-transitions (easing-types) will not run as smoothly as they should.

I do not fix current situation. Close.