SYO Posted February 5, 2018 Share Posted February 5, 2018 hi guys, i am almost finished my game, but i found problem in my game. each i am play my game continuously or repeated, fps drop affecting my game so slower. anyone, please tell me how to up fps? Quote Link to comment Share on other sites More sharing options...
obiot Posted February 6, 2018 Share Posted February 6, 2018 Hi, this is anything but too vague to be able to provide any kind of assistance. most certainly , you should look at your code, and ensure that object creating and deletion are limited as much as possible in order to avoid triggering the garbage collector (which impact performances, especially with large amount of objects) you might also look at enabling object pooling : https://github.com/melonjs/melonJS/wiki/Frequently-Asked-Questions#object_pooling 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.