# melonjs/melonJS

a modern & lightweight HTML5 game engine

Repository: https://github.com/melonjs/melonJS
Canonical: https://ross.abutalabs.com/products/melonjs
Homepage: https://melonjs.org
Language: JavaScript
License: MIT
License Family: permissive
Topics: melonjs, javascript, game-engine, webgl, webaudio, html5, es6, gamedev, game-development, canvas2d, tiled, 2d-game-engine, html5-canvas, web3, hacktoberfest, typescript, contributions-welcome, webgpu
Last push: 2026-08-26T23:39:05+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 5623, "days_push": 7, "days_rel": 8, "gap_med": 7.5, "n_releases_24m": 21}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6376, forks 662 (observed 2026-08-28T04:09:42.904272+00:00)

## What it is
melonJS is an open-source, MIT-licensed 2D/2.5D HTML5 game engine for indie developers, built with ES6 classes and TypeScript support. It provides GPU-accelerated tilemap rendering, physics, audio, input, cameras, and UI in a tree-shakeable ~150 KB module that runs on WebGPU, WebGL 2, or Canvas2D with automatic fallback.

## Use cases
- build a 2D browser game with tilemaps
- make an HTML5 game that runs on desktop and mobile browsers
- create a game using Tiled map editor levels
- write a lightweight web game without heavy toolchains
- add 3D glTF scenes to a mostly-2D web game
- prototype a game quickly in JavaScript or TypeScript
- package an HTML5 game for Electron or Cordova

## When to choose
- you want a complete, batteries-included 2D game engine for the web
- you need WebGPU/WebGL/Canvas fallback with one codebase
- you author levels in Tiled or scenes in Blender/glTF
- you value a small, dependency-free, tree-shakeable bundle
- you prefer a Canvas2D-style rendering API

## When to avoid
- you need a full 3D engine like Three.js or Unity
- you are building native (non-web) games
- you need a large ecosystem of third-party plugins and asset stores
- you require console or native mobile platform targets beyond web wrappers

## Facets
- artifact type: framework
- maturity: active
- function: game-engine, graphics, audio-processing, animation, ui-components
- domain: web-development, gaming-tools, cross-platform
- platform: browser, cross-platform
- tags: html5, webgl, webgpu, canvas2d, tiled, 2d-game-engine, es6, typescript, webaudio, tilemap, physics, gltf, indie-gamedev, game-development, web-server, mobile, desktop, electron

## Member repositories
- melonjs/melonJS (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:42.904272+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:45:10.578140+00:00, confidence not recorded.
  - readme: https://github.com/melonjs/melonJS (fetched 2026-08-28T04:09:42.904272+00:00, sha 73e0706c5ab7)
  - homepage: https://melonjs.org (fetched 2026-08-29T08:42:22.605795+00:00, sha 90f3f21312bd)
  - registry_npm: https://registry.npmjs.org/melonjs (fetched 2026-08-29T08:42:22.615777+00:00, sha b27fabc758eb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
