frokenstein Posted November 19, 2014 Report Share Posted November 19, 2014 I have a game that runs fast for several minutes then gradually gets more and more sluggish. I've tried profiling in Firebug but it just beachballs and renders the browser unusable. I feel like my only option is to throw in console.logs and see if I can hunt for what is getting out of hand. If anyone has any suggestions please let me know. Thanks Quote Link to comment Share on other sites More sharing options...
lewster32 Posted November 19, 2014 Report Share Posted November 19, 2014 Try this: https://github.com/englercj/phaser-debug hellos3b 1 Quote Link to comment Share on other sites More sharing options...
CtlAltDel Posted November 19, 2014 Report Share Posted November 19, 2014 try chrome profiler, it might be a bit more lenient. Quote Link to comment Share on other sites More sharing options...
lewster32 Posted November 19, 2014 Report Share Posted November 19, 2014 The nice thing about the Phaser debug plug-in is it shows you where Phaser is taking its time, including important performance stuff like the state of the display list, draw calls etc. Quote Link to comment Share on other sites More sharing options...
CtlAltDel Posted November 19, 2014 Report Share Posted November 19, 2014 A combination might be best Quote Link to comment Share on other sites More sharing options...
frokenstein Posted November 19, 2014 Author Report Share Posted November 19, 2014 Cool, thanks. BTW That Isometric Plugin looks dope, Lewster. Gonna try it out once I have an idea worth trying it out on. lewster32 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.