Hey guys, I have an interesting problem here.
Game canvas for my game is opened in modal window, that can be destroyed and recreated a number of times.
The game plays nicely on the first open, when canvas is created and scripts are loaded. After the canvas gets destroyed and recreated I am calling cc.game.run(); however I end up with just black canvas.
Is there a good way to “re-bind” my game back to new canvas?