Best Practices for Boosting Cocos Creator's 2D Game Performance

Hello Everyone :hugs:,

I’m using Cocos Creator to create a 2D game, and as my project gets more complicated, I’m having some performance issues. If you are an experienced developer who has solved problems similar to mine and would be willing to contribute your knowledge or best practices, please let me know.

I’m specifically coping with the following difficulties:

Frame rate decreases: I’m seeing noticeable frame rate drops when I add more sprites and animations, particularly on devices with lesser specs. What methods are there for maximising the performance of sprite animation and rendering? :thinking:

Memory management: I occasionally have game crashes that appear to be related to memory problems. How can I best manage memory in Cocos Creator to minimise resource utilisation and stop leaks? :thinking:

Optimisation of the built-in physics engine: I’m using it, but it seems to be a little slow, especially when there are several objects interacting. Are there any tricks for minimising engine load or improving physics calculations? :thinking:

Asset loading: As I’ve added more assets, loading times have gotten longer. Which techniques would you suggest using to maximise asset loading speeds without sacrificing quality? :thinking:

I would also be interested in knowing what plugins or tools you have found very useful for debugging and performance optimisation in Cocos Creator.

I would be grateful for any guidance or materials you could offer. I’m excited to make sure that my game has excellent gameplay and graphics across a variety of platforms.

Thank you :pray: in advance.