Melonjs Performance

Use this skill when a melonJS game drops frames, allocates heavily, or needs to scale to many objects. Covers object pooling, draw-call batching, atlases, baking with CanvasRenderTarget, instancing, culling and alwaysUpdate, the debug plugin, and where the real costs are. Triggers on: performance, slow, frame rate, fps, lag, pool, pool.register, pool.pull, batching, draw calls, InstancedMesh, culling, alwaysUpdate, inViewport, CanvasRenderTarget, optimise, profiling, debug plugin, memory.

melonjs 6cf5bbe 11.2 KB Updated

File contents

melonjs/melonjs/tree/main/packages/melonjs/skills/melonjs-performance commit 6cf5bbe0b5

Frequently asked questions

npx skillmds@latest add melonjs/melonjs-performance