Melonjs Getting Started

Use this skill when starting or bootstrapping a melonJS game, creating the Application, choosing a renderer, or setting up the first scene. Covers the mandatory async init, the world container, adding renderables, and the WebGPU/WebGL 2/Canvas fallback. Triggers on: melonjs, new Application, app.init, app.world, video.AUTO, video.WEBGL, video.CANVAS, Stage, state.change, getting started, bootstrap.

melonjs 5dad8b4 6.9 KB Updated

File contents

melonjs/melonjs/tree/main/packages/melonjs/skills/melonjs-getting-started commit 5dad8b48f8

Frequently asked questions

npx skillmds@latest add melonjs/melonjs-getting-started