AltHub

melonjs/melonJS Alternatives

HTML5 2D game engine

melonJS is a lightweight, dependency-free HTML5/JavaScript 2D game engine with WebGPU/WebGL/Canvas2D rendering, Tiled integration, and physics.

6.4kJavaScriptMITactive · last push 1mo agoGitHub

Drop-in peers

Same problem, same approach. Swapping one for another is a config change, not a rewrite.

KilledByAPixel/LittleJSGitHub

Choose when you want an even smaller, dependency-free JS engine with built-in collision and particles, sacrificing some advanced rendering features.

Tiny fast HTML5 game engine with many features and no dependencies.

4.2k
JavaScript
MIT
active17d ago
phaserjs/phaserGitHub

Choose when you want a larger ecosystem and more plugins, accepting a heavier JS runtime than melonJS.

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

40.3k
JavaScript
MIT
active2mo ago

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

cocos/cocos-engineGitHub

Choose when you need a full editor, 3D support, and native mobile builds, accepting a heavier C++/JS toolchain.

Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.

9.8k
C++
NOASSERTION
active1mo ago
galacean/engineGitHub

Choose when your browser game needs 3D, glTF, and animation systems, at the cost of a larger TypeScript runtime.

A typescript interactive engine, support 2D, 3D, animation, physics, built on WebGL and glTF.

5.9k
TypeScript
MIT
active1mo ago
playcanvas/engineGitHub

Choose for a WebGL/WebGPU 3D runtime with a cloud editor, at the cost of a larger engine and less 2D focus.

Powerful web graphics runtime built on WebGL, WebGPU, WebXR and glTF

16.8k
JavaScript
MIT
active15d ago
suchipi/hex-engineGitHub

Choose for a React-inspired TypeScript 2D engine, but with a smaller community and fewer rendering backends.

A modern 2D game engine for the browser.

674
TypeScript
none
active24d ago
layabox/LayaAirGitHub

Choose when you need an integrated IDE and 2D/3D rendering for mini-games, accepting a heavier editor-driven workflow.

LayaAir is a fully platform rendering engine with rich 2D/3D rendering capabilities and a mature integrated development platform

2.1k
TypeScript
MIT
active1mo ago
esengine/estellaGitHub

Choose for a WASM-backed 2D engine with a visual editor and multi-platform export, at the cost of a C++/WASM build chain.

A fast 2D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

650
TypeScript
Apache-2.0
active1mo ago
BabylonJS/Babylon.jsGitHub

Choose when your web project needs a full 3D engine and strong tooling, accepting a much larger runtime than melonJS.

Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.

26.0k
TypeScript
Apache-2.0
active1mo ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

hiloteam/HiloGitHub

Choose for a simpler legacy HTML5 2D API, but expect fewer modern rendering backends and slower updates.

A Cross-end HTML5 Game development solution

5.9k
JavaScript
MIT
slowing1.0y ago

Listed as an alternative to

These projects were analysed and named melonJS among their alternatives. The relationship is not symmetric — how melonJS rates them is a separate judgement, made when melonJS is analysed in its own right.

phaserjs/phaserGitHub

calls melonJS “A modern lightweight HTML5 game engine with an Entity-Component System; choose it for a smaller footprint than Phaser.”

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

40.3kJavaScriptactive
pixijs/pixijsGitHub

calls melonJS “Choose for a complete 2D game framework with entity system when you need more than rendering, but accept higher-level API and less direct control over WebGL.”

The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.

48.2kTypeScriptactive
cocos2d/cocos2d-xGitHub

calls melonJS “Choose if you need an HTML5/JavaScript 2D engine that runs in the browser without a native build.”

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.

19.2kC++slowing
playcanvas/engineGitHub

calls melonJS “Choose for 2D browser games, but it is not a 3D engine and offers narrower functionality than PlayCanvas.”

Powerful web graphics runtime built on WebGL, WebGPU, WebXR and glTF

16.8kJavaScriptactive
o3de/o3deGitHub

calls melonJS “Choose when you need a lightweight HTML5 2D engine and want to avoid O3DE's complexity.”

Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.

9.6kC++active
FyroxEngine/FyroxGitHub

calls melonJS “Choose for lightweight 2D HTML5 games with a small framework.”

3D and 2D game engine written in Rust

9.5kRustactive
stride3d/strideGitHub

calls melonJS “choose for a lightweight HTML5 2D engine, if browser-only 2D and simple code are enough.”

Stride (formerly Xenko), a free and open-source cross-platform C# game engine.

7.8kC#active
FlaxEngine/FlaxEngineGitHub

calls melonJS “choose it for lightweight 2D browser games only; it has no 3D or native features.”

Flax Engine – multi-platform 3D game engine

7.0kC++active