Game engines and libraries

Engines for browser games and downloadable games, from Three.js and Phaser to Godot and Unity, with licence terms that matter to small studios.

5 tools Prices change. Each tool shows the month its facts were checked.

Decide where players will find the game first. In a browser (shared by link, embedded on sites, played on itch.io): use a web library. Downloaded from Steam or the app stores: use an engine. Read the licence before you commit, because engine terms have changed suddenly before. See Making games.

At a glance

Game engines and libraries compared
ToolPricingBest for
Three.js Start hereOpen source Free, MIT licence.3D web games, product configurators and interactive scenes on a website.
Godot Start hereOpen source Free, MIT licence, no royalties.Indie games for PC, mobile and web where you want no licence surprises.
PhaserOpen source Free, MIT licence.2D web games, game jams and quick prototypes.
Babylon.jsOpen source Free, Apache 2.0 licence.Browser games that need built-in physics and engine features.
UnityFree tier Unity Personal is free for individuals and small companies under $200,000 in revenue and funding over the last 12 months.Mobile and cross-platform games, especially if you already know C#.

Three.js

Start hereOpen sourceOpen source

The most widely used JavaScript library for 3D graphics in the browser.

Best for
3D web games, product configurators and interactive scenes on a website.
Pricing
Free, MIT licence. Pricing page for Three.js
Facts checked

Strengths

  • Huge community and examples.
  • Runs anywhere a modern browser runs.

Trade-offs

  • A library, not an engine; physics, UI and scenes are up to you.

Godot

Start hereOpen sourceOpen source

Free, open-source engine for 2D and 3D games with no royalties and no revenue tracking.

Best for
Indie games for PC, mobile and web where you want no licence surprises.
Pricing
Free, MIT licence, no royalties. Pricing page for Godot
Facts checked

Strengths

  • Nothing to pay, ever, and you own everything.
  • Lightweight editor that runs on modest laptops.

Trade-offs

  • Console publishing needs third-party help.
  • Smaller asset store than Unity.

Phaser

Open sourceOpen source

Fast, friendly framework for 2D browser games.

Best for
2D web games, game jams and quick prototypes.
Pricing
Free, MIT licence. Pricing page for Phaser
Facts checked

Strengths

  • Gentle learning curve with many tutorials.

Trade-offs

  • 2D only.

Babylon.js

Open sourceOpen source

Full 3D engine for the web from Microsoft, with physics, an editor and a playground.

Best for
Browser games that need built-in physics and engine features.
Pricing
Free, Apache 2.0 licence. Pricing page for Babylon.js
Facts checked

Strengths

  • More engine features out of the box than Three.js.

Trade-offs

  • Smaller community than Three.js.

Unity

Free tier

The most-used engine for mobile and indie games, with a large asset store and many tutorials.

Best for
Mobile and cross-platform games, especially if you already know C#.
Pricing
Unity Personal is free for individuals and small companies under $200,000 in revenue and funding over the last 12 months. Pricing page for Unity
Facts checked

Strengths

  • Exports to almost every platform.
  • Enormous asset store and learning material.

Trade-offs

  • Paid plans once you pass the revenue threshold.
  • Licence terms have changed abruptly in the past; read them before you start.