AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Dev Tooling/
melonJS
melonJS logo

melonJS

Active·★ 6.5k·MIT·Updated 2026-11-17

melonJS 2 is an open-source, lightweight HTML5 game engine (MIT licensed, actively maintained by AltByte in Singapore) tailored for independent game developers, rapid prototyping, and web game deployment. Clocking in at around 250 KB minzipped with zero external runtime dependencies, melonJS provides a complete, tree-shakeable game development suite that bypasses complex build chains.

Its primary engineering strength is a unified renderer abstraction paired with an intuitive Canvas2D-inspired API. The engine defaults to an `AUTO` graphics pipeline that attempts to acquire high-performance WebGPU contexts first, seamlessly falling back to WebGL 2, and ultimately to Canvas2D on legacy devices with identical visual outputs and CSS-style blend modes. For world design, melonJS treats Tiled as a first-class citizen (supporting orthogonal, isometric, and hexagonal maps with GPU quad-batched layer rendering and native Aseprite animation parsing), while also accommodating 3D glTF/GLB scenes, SAT polygon physics collision, and 3D spatial Web Audio.

Developers can bootstrap games in minutes using standard ES modules and classes. Teams evaluating melonJS should consider its functional domain: while extraordinarily performant for retro 2D platformers, isometric RPGs, and lightweight 2.5D games, it is not designed to rival heavy 3D rendering engines like Three.js or Babylon.js for AAA photorealistic rendering or complex skeletal ragdoll physics.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-11-12.

License
MIT
Latest release
20.13.0 · 2026-11-06
Last commit
2026-11-11
Contributors
97
Forks
677
Open issues and PRs
15
First published
2011-04-11
npm package
melonjs 20.13.0 · 1,824 downloads last week

Source: GitHub, npm and PyPI public APIs.

#2d#3d#agent-skills#canvas#contributions-welcome#dev-tooling#game-development#game-engine
$ Install
$ npm install melonjs
↗ Visit site★ GitHub
01

Features

01Canvas2D-inspired rendering API
02Same code runs on WebGPU, WebGL 2 or Canvas2D
03Physics, tilemaps, audio, input, cameras and particles in one ES module
04Tiled support for 2D scenes and glTF / GLB for 3D scenes
02

Why choose it

+Featherweight ~250 KB minzipped footprint with zero external dependencies or toolchain lock-in.
+True multi-backend graphics abstraction across WebGPU, WebGL 2, and Canvas with automatic fallback.
+Best-in-class Tiled map integration featuring GPU-accelerated layer rendering and native Aseprite workflows.
+Complete all-in-one suite: SAT polygon physics, particle editors, tweens, and 3D spatial Web Audio.
03

Trade-offs

!3D capabilities are optimized for lightweight 2.5D/glTF scenes, lacking advanced PBR deferred pipelines.
!Physics engine focuses on 2D SAT polygons and raycasting, lacking full rigid-body 3D ragdoll simulations.
!WebGL 1 support is officially retired; legacy environments fall back directly to CPU Canvas2D rendering.
!Smaller community and plugin ecosystem compared to dominant alternatives like Phaser or PixiJS.
04

Maintenance check

ActiveChecked: 2026-11-12
Last commit
2026-11-11
Commits, last 90 days
100+
Releases, last 90 days
16
Latest release
20.13.0 (2026-11-06)
Open issues
15
Recent issues with at least one comment
0/8
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 15, 17, 7, 26, 7, 13, 12, 20, 18, 37, 24, 8

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

Most discussed open issues

  • #1526 [Feature request] Add support for Y-based Z sorting in batch rendering2 comments · 2026-06-30
  • #1404 GPU-instanced particle rendering2 comments · 2026-04-19
  • #1510 Types: reconcile the 2D/3D position vector split across Renderable and the shape chain1 comments · 2026-06-21
  • #1383 Add textured ribbon mode to Trail renderable1 comments · 2026-04-14
  • #1846 [Feature request] 3D physics adapters, and @melonjs/rapier3d-adapter0 comments · 2026-11-08

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

05

Quick start

1
$ npm install melonjs
06

Use cases

↳Building indie 2D or 3D browser games
↳Loading levels authored in Tiled or Blender
↳Writing games with an AI coding assistant using the bundled skills
07

Alternatives

⚡Top VS:
VSraea★2.7k→VSAnthropic Skills★196.7k→VStaste-skill★117.7k→VSimpeccable★112.2k→
raea logo
raea★ 2.7k
Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
VSCompare→
Anthropic Skills logo
Anthropic Skills★ 196.7k
Public repository for Agent Skills
VSCompare→
taste-skill logo
taste-skill★ 117.7k
Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
VSCompare→
impeccable logo
impeccable★ 112.2k
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
VSCompare→
diagram-design logo
diagram-design★ 67.9k
Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi. 45 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.
VSCompare→
skills logo
skills★ 57.8k
Skills for Designers and Engineers.
VSCompare→
awesome-copilot logo
awesome-copilot★ 41.3k
Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.
VSCompare→
darwin-skill logo
darwin-skill★ 7.0k
达尔文.skill —— 一个让你的Skill无限进化的系统:评估→改进→测试→保留或回滚 | Autoresearch-inspired autonomous skill optimization for Claude Code. Evaluate, improve, test, keep or revert.
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Maintenance check05Quick start06Use cases07Alternatives
melonjs /
melonJS
↗

Lightweight HTML5 2D and 3D game engine with unified WebGPU, WebGL 2, and Canvas abstraction

6.5k677MIT
Last commit1d ago
StatusActive
CategoryDev Tooling
Contributors97
Latest release20.13.0
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.