Softwr

Game Development · head to head

Ink vs LittleJS

Ink logo

Ink

Game Development

Open-source narrative scripting language and Inky editor for branching game stories

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

  • LittleJS is a lightweight open-source HTML5 game engine.
  • Both are free.
  • Only Ink lists narrative scripting language; only LittleJS lists WebGL2 and Canvas2D rendering.
  • Where Ink falls short: A story layer only, so it needs a game engine for graphics and input.
  • Where LittleJS falls short: code-first with no visual scene editor for 2D games.

How do Ink and LittleJS differ?

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

Attributes where Ink and LittleJS differ
AttributeInkLittleJS
PlatformsmacOS, Windows, LinuxWeb

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; 9 appear only for Ink 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 Ink

  • Narrative scripting language
  • Inky editor with live play pane
  • As-you-type error highlighting
  • Jump to definition for diverts
  • Export to JSON
  • Export to a web page
  • Unity integration plugin
  • Unreal integration via Inkpot

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?

Ink is most often brought in for branching narrative games; LittleJS for game jam entries. The jobs each tool is most often brought in to do.

Ink

  • Branching narrative gamesnot LittleJS
  • Interactive fiction for the webnot LittleJS
  • Dialogue systems in Unity gamesnot LittleJS
  • Writer-led story prototypingnot LittleJS
  • Text-heavy adventure and RPG scriptsnot LittleJS

LittleJS

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

Where do Ink and LittleJS fall short?

Ink's most cited limit: A story layer only, so it needs a game engine for graphics and input. 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.

Ink

  • A story layer only, so it needs a game engine for graphics and input
  • Unreal support comes from a third-party plugin, not from inkle
  • Writers must learn ink's own syntax for choices, diverts and logic
  • Inky tests stories but is not a visual game builder

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 Ink and LittleJS cost?

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

Ink

Free

No published plan breakdown. See the Ink review.

LittleJS

Free

No published plan breakdown. See the LittleJS review.

Which should you pick?

Choose Ink if

  • You need narrative scripting language.
  • You want to start without paying.
  • You work on macOS, Windows, Linux.
  • You also want inky editor with live play pane.

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 Ink or LittleJS better?
It depends on the job. Ink fits branching narrative games; LittleJS fits game jam entries. Ink starts at Free and LittleJS at Free.
Which is cheaper, Ink or LittleJS?
Ink starts at Free and LittleJS at Free.
Does Ink or LittleJS run on more platforms?
Ink runs on macOS, Windows, Linux. LittleJS runs on Web.
Can I use Ink for free?
Both have a free tier, so you can try either at no cost before committing.
What is Ink best used for?
Ink is most often used for branching narrative games, interactive fiction for the web, dialogue systems in unity games, writer-led story prototyping. Of those, branching narrative games and interactive fiction for the web are not what LittleJS is typically brought in for.
What can Ink do that LittleJS cannot?
Ink covers Narrative scripting language, Inky editor with live play pane, As-you-type error highlighting, Jump to definition for diverts. LittleJS covers WebGL2 and Canvas2D rendering, Built-in 3D renderer, 2D lights and shadows, Particle system.

Answered from the vendors’ own pages

Ink: Is ink free to use?

Yes. Ink, the Inky editor and the ink-unity integration plugin are freely available under the MIT licence.

Source
LittleJS: Is LittleJS free?

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

Source
Ink: Which engines can use ink?

inkle supplies a Unity plugin, and The Chinese Room makes Inkpot, a container for ink integration in Unreal Engine.

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
Ink: Which platforms does the Inky editor run on?

Inky is offered for Mac, Windows and Linux, and it can export stories to JSON or to a web page.

Source
LittleJS: Can I use TypeScript?

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

Source
Ink: Is ink a full game engine?

No. It is described as middleware, a narrative engine designed to slot into a game engine.

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