creepy Posted September 29, 2013 Share Posted September 29, 2013 Hi Guys, I just want to know, what's the proper way of freeing game object after calling new Phaser.Game(...)? I want to implement this during logout, but maybe you have a better solution for this (Like making it invisible?). Thanks in advance, Regards,Ethan Link to comment Share on other sites More sharing options...
rich Posted September 29, 2013 Share Posted September 29, 2013 Call game.destroy() and then null any local reference you may have had to the game object. Link to comment Share on other sites More sharing options...
Recommended Posts