SYO

low fps

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.