Softwr

Game Development · head to head

Ct.js vs LittleJS

Ct.js logo

Ct.js

Game Development

Free open-source 2D game engine and editor for JavaScript and TypeScript games

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

  • Ct.js is a free, open-source 2D game engine; LittleJS is a lightweight open-source HTML5 game engine.
  • Both are free.
  • Only Ct.js lists tilemap and level editor; only LittleJS lists WebGL2 and Canvas2D rendering.
  • Where Ct.js falls short: 2D only, so projects needing 3D rendering need another engine.
  • Where LittleJS falls short: code-first with no visual scene editor for 2D games.

How do Ct.js and LittleJS differ?

Only the attributes on which Ct.js and LittleJS actually diverge.

On every field we record, Ct.js and LittleJS match. The differences are in what each one covers, below.

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

Which features does each one have?

They share no listed features; 9 appear only for Ct.js 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 Ct.js

  • Tilemap and level editor
  • Visual particle system editor
  • Code editor with error checks
  • Behaviours and content tables
  • One-click web and desktop export
  • Dynamic sound system
  • UI layout tools
  • Debugger with on-device testing

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?

Ct.js is most often brought in for learning game programming in class; LittleJS for game jam entries. The jobs each tool is most often brought in to do.

Ct.js

  • Learning game programming in classnot LittleJS
  • 2D browser gamesnot LittleJS
  • Pixel-art gamesnot LittleJS
  • Game jam prototypesnot LittleJS
  • Data-driven games with custom tablesnot LittleJS

LittleJS

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

Where do Ct.js and LittleJS fall short?

Ct.js's most cited limit: 2D only, so projects needing 3D rendering need another engine. 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.

Ct.js

  • 2D only, so projects needing 3D rendering need another engine
  • Export targets named are web and desktop, with no console export
  • Smaller ecosystem than Godot or Unity for tutorials and assets
  • Visual language is specific to ct.js and does not transfer to other engines

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 Ct.js and LittleJS cost?

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

Ct.js

Free

No published plan breakdown. See the Ct.js review.

LittleJS

Free

No published plan breakdown. See the LittleJS review.

Which should you pick?

Choose Ct.js if

  • You need tilemap and level editor.
  • You want to start without paying.
  • You also want visual particle system editor.

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 Ct.js or LittleJS better?
It depends on the job. Ct.js fits learning game programming in class; LittleJS fits game jam entries. Ct.js starts at Free and LittleJS at Free.
Which is cheaper, Ct.js or LittleJS?
Ct.js starts at Free and LittleJS at Free.
Does Ct.js or LittleJS run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Ct.js for free?
Both have a free tier, so you can try either at no cost before committing.
What is Ct.js best used for?
Ct.js is most often used for learning game programming in class, 2d browser games, pixel-art games, game jam prototypes. Of those, learning game programming in class and 2d browser games are not what LittleJS is typically brought in for.
What can Ct.js do that LittleJS cannot?
Ct.js covers Tilemap and level editor, Visual particle system editor, Code editor with error checks, Behaviours and content tables. LittleJS covers WebGL2 and Canvas2D rendering, Built-in 3D renderer, 2D lights and shadows, Particle system.

Answered from the vendors’ own pages

Ct.js: Is Ct.js free?

Yes. The site describes Ct.js as free and open-source, including for professionals.

Source
LittleJS: Is LittleJS free?

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

Source
Ct.js: Which languages can I use?

Ct.js offers several coding language options, including JavaScript with optional TypeScript, plus a visual language.

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
Ct.js: Where can I export games?

The editor exports to web and desktop with one click.

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