Skip to content

v19.1.0

Latest

Choose a tag to compare

@obiot obiot released this 16 Apr 09:30
· 3 commits to master since this release
df65218

What's New in melonJS 19.1.0

New Features

  • Multi-texture batching — up to 16 textures drawn in a single batch/draw call, eliminating GPU flushes on texture changes. Automatically falls back to single-texture mode when a custom ShaderEffect is active. ~80% fewer draw calls on the platformer example (14 vs ~70 flushes/frame), with an estimated 30-50% FPS improvement on low-end mobile devices.
  • highPrecisionShader application setting — when false, caps shader precision at mediump for better performance on mobile GPUs that support highp but run faster at mediump. Default true (auto-detect highest precision).

Bug Fixes

  • getSupportedCompressedTextureFormats() no longer crashes when the GL context is unavailable
  • Examples updated for 19.0 API changes (Text standalone draw removal, Application pattern)

Install

npm install melonjs@19.1.0