Skip to content
Olivier Biot edited this page May 31, 2026 · 125 revisions

Welcome to the melonJS wiki — your guide to building 2D and 3D games with melonJS.


Getting Started

New to melonJS? Start here:

npm create melonjs my-game
cd my-game
npm install
npm run dev

Core Concepts


Rendering

  • Rendering API — full API reference with Canvas 2D comparison, gradients, dashed lines, bezier curves, and more
  • Shader Effects — built-in WebGL post-processing effects (glow, shine, blur, …) and writing your own
  • API Documentation — auto-generated API docs

Working in 3D

  • Working in 3DCamera3d opt-in, conventions (Y-down + +Z forward), Mesh / OBJ rendering, 3D spatial queries (Sphere, world.adapter.querySphere, raycast3d), bulk frustum culling, and frame-rate-independent smoothing (math.damp). Worked example: AfterBurner showcase.

Physics & Collision


Tiled Map Editor


Third-Party Tools


Platform Deployment


Community & Resources


Tutorials


Learning JavaScript

Clone this wiki locally