Aram Posted September 28, 2018 Share Posted September 28, 2018 Hi Guys, I just converted my AS3 game to phaser 3, and got performance problems. When I open and close a popup several times in my game, the game slows down. Each my class has clear() method, which calls .destroy() for gameObjects and sets all object properties to null. What do I do wrong for clearing the objects? Thanks, Aram Link to comment Share on other sites More sharing options...
damager Posted September 28, 2018 Share Posted September 28, 2018 It's hard to say what's wrong without code, but what about draw calls statistic? Link to comment Share on other sites More sharing options...
Aram Posted September 28, 2018 Author Share Posted September 28, 2018 Thanks for answering! Draw Calls are optimized. I just found out the destroy method of a container may not destroy children. Could it be the reason? Link to comment Share on other sites More sharing options...
Recommended Posts