Melonjs 20 Migration

Use this skill when writing melonJS code that may be based on pre-20.x knowledge, when migrating a game from melonJS 19.x or earlier, or when an API you expected does not exist. Covers the mandatory async Application.init(), the WebGL 2 baseline and WebGPU backend, renderable post effects replacing the shader property, and the deprecated exports still present. Triggers on: migration, upgrade, melonJS 19, me.game, me.video.init, renderable.shader, Compositor, CanvasTexture, me.Math, deprecated.

melonjs 01d99ab 7.4 KB Updated

File contents

melonjs/melonjs/tree/main/packages/melonjs/skills/melonjs-20-migration commit 01d99ab389

Frequently asked questions

npx skillmds@latest add melonjs/melonjs-20-migration