Softwr

Game Development · head to head

Axmol vs LittleJS

Axmol logo

Axmol

Game Development

MIT-licensed modern C++ game engine for mobile, desktop, Xbox and WebAssembly

From
Free
Free plan
Yes
LittleJS logo

LittleJS

Game Development

Tiny, fast, fully open-source HTML5 game engine for 2D and 3D

From
Free
Free plan
Yes

The short version

  • Axmol is an MIT-licensed, code-first C++ game engine descended; LittleJS is a lightweight open-source HTML5 game engine.
  • Both are free.
  • Only Axmol lists C++23 core in version 3; only LittleJS lists WebGL2 and Canvas2D rendering.
  • Where Axmol falls short: version 3 is still in public beta, so the stable line is 2.11.
  • Where LittleJS falls short: code-first with no visual scene editor for 2D games.

How do Axmol and LittleJS differ?

Axmol and LittleJS differ on platforms. Only the attributes on which Axmol and LittleJS actually diverge.

Attributes where Axmol and LittleJS differ
AttributeAxmolLittleJS
PlatformsiOS, Android, Windows, Linux, WebWeb

Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes), category (Game Development).

Which features does each one have?

They share no listed features; 8 appear only for Axmol and 9 only for LittleJS. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Axmol

  • C++23 core in version 3
  • Dynamic RHI across D3D11, D3D12, Vulkan, Metal and OpenGL
  • HLSL shaders via axslcc
  • Lua testing support
  • FairyGUI samples
  • Axmol Hub installer
  • Live WebAssembly demos
  • Migration guide from Cocos2d-x

Only in LittleJS

  • WebGL2 and Canvas2D rendering
  • Built-in 3D renderer
  • 2D lights and shadows
  • Particle system
  • Arcade physics and Box2D
  • Audio with ZzFX
  • Mouse, keyboard, gamepad and touch input
  • UI and tween systems

What is each one used for?

Axmol is most often brought in for porting Cocos2d-x games; LittleJS for game jam entries. The jobs each tool is most often brought in to do.

Axmol

  • Porting Cocos2d-x gamesnot LittleJS
  • C++ mobile gamesnot LittleJS
  • Cross-platform 2D gamesnot LittleJS
  • Games with WebAssembly buildsnot LittleJS
  • Xbox releasesnot LittleJS

LittleJS

  • Game jam entriesnot Axmol
  • Small browser arcade gamesnot Axmol
  • Size-conscious web gamesnot Axmol
  • Learning game programming in JavaScriptnot Axmol
  • Mobile-friendly web gamesnot Axmol

Where do Axmol and LittleJS fall short?

Axmol's most cited limit: version 3 is still in public beta, so the stable line is 2.11. LittleJS's: code-first with no visual scene editor for 2D games. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Axmol

  • Version 3 is still in public beta, so the stable line is 2.11
  • No built-in visual editor, so tooling is code first
  • Migration from Cocos2d-x or Axmol 2 involves breaking changes
  • Axmol Hub, the installer and project manager, is still a preview

LittleJS

  • Code-first with no visual scene editor for 2D games
  • No visual editor or asset pipeline beyond the code and examples
  • Targets browsers, so native console builds need extra work
  • Games are written in JavaScript or TypeScript, so coding skill is needed

How much do Axmol and LittleJS cost?

Axmol is free to use; LittleJS is free to use. Plan by plan below, from each vendor's own pricing page.

Axmol

Free

No published plan breakdown. See the Axmol review.

LittleJS

Free

No published plan breakdown. See the LittleJS review.

Which should you pick?

Choose Axmol if

  • You need c++23 core in version 3.
  • You want to start without paying.
  • You work on iOS, Android, Windows, Linux, Web.
  • You also want dynamic rhi across d3d11, d3d12, vulkan, metal and opengl.

Choose LittleJS if

  • You need webgl2 and canvas2d rendering.
  • You want to start without paying.
  • You also want built-in 3d renderer.

Questions people ask

Is Axmol or LittleJS better?
It depends on the job. Axmol fits porting Cocos2d-x games; LittleJS fits game jam entries. Axmol starts at Free and LittleJS at Free.
Which is cheaper, Axmol or LittleJS?
Axmol starts at Free and LittleJS at Free.
Does Axmol or LittleJS run on more platforms?
Axmol runs on iOS, Android, Windows, Linux, Web. LittleJS runs on Web.
Can I use Axmol for free?
Both have a free tier, so you can try either at no cost before committing.
What is Axmol best used for?
Axmol is most often used for porting cocos2d-x games, c++ mobile games, cross-platform 2d games, games with webassembly builds. Of those, porting cocos2d-x games and c++ mobile games are not what LittleJS is typically brought in for.
What can Axmol do that LittleJS cannot?
Axmol covers C++23 core in version 3, Dynamic RHI across D3D11, D3D12, Vulkan, Metal and OpenGL, HLSL shaders via axslcc, Lua testing support. LittleJS covers WebGL2 and Canvas2D rendering, Built-in 3D renderer, 2D lights and shadows, Particle system.

Answered from the vendors’ own pages

Axmol: What licence is Axmol under?

The site says it is released under the MIT License.

Source
LittleJS: Is LittleJS free?

Yes. It is fully open source under the MIT licence.

Source
Axmol: Which version is stable?

2.11.x is the stable line, with a 2.11.5 LTS download.

Source
LittleJS: Does LittleJS support 3D?

Yes. A built-in 3D renderer shares the canvas with the 2D game and loads OBJ and glTF models.

Source
Axmol: Does it replace Cocos2d-x?

The site has a migration page for moving Cocos2d-x projects to Axmol 3.

Source
LittleJS: Can I use TypeScript?

Yes. LittleJS has full TypeScript and module support with example projects for both.

Source
LittleJS: Does it include physics?

Yes. It has an arcade physics system and Box2D integration for realistic physics.

Source
Share

Related pages

Other head to heads