Softwr

Game Development · head to head

Excalibur.js vs libGDX

Excalibur.js logo

Excalibur.js

Game Development

Free TypeScript 2D game engine for the web, released under a BSD 2-Clause licence

From
Free
Free plan
Yes
libGDX logo

libGDX

Game Development

Java-based game development framework

From
Free
Free plan
Yes

The short version

  • Excalibur.js is a free, open-source TypeScript 2D game engine for the browser.
  • Both are free.
  • Only Excalibur.js lists TypeScript first API; only libGDX lists graphics rendering.
  • Where Excalibur.js falls short: code only, with no visual editor or scene designer.
  • Where libGDX falls short: libGDX is a Java framework built on OpenGL ES, so projects are tied to the JVM toolchain.

How do Excalibur.js and libGDX differ?

Excalibur.js and libGDX differ on pricing model (Open-source against Free) and platforms. Only the attributes on which Excalibur.js and libGDX actually diverge.

Attributes where Excalibur.js and libGDX differ
AttributeExcalibur.jslibGDX
Pricing modelOpen-sourceFree
PlatformsWebWindows, macOS, Linux, iOS, Android, Web

Identical on both: starting price (Free), free tier (Yes), category (Game Development).

Not yet recorded: founded for Excalibur.js.

Which features does each one have?

They share no listed features; 8 appear only for Excalibur.js and 20 only for libGDX. 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 Excalibur.js

  • TypeScript first API
  • Browser and mobile browser support
  • Generated API reference
  • Interactive playground
  • Ten minute tutorial
  • Samples and showcase
  • Premium support option
  • Packaging with Electron or Cordova

Only in libGDX

  • Java language support
  • Graphics rendering
  • Audio engine
  • Input handling
  • Physics integration (Box2D)
  • Particle effects
  • Animation system
  • 2D and 3D rendering

What is each one used for?

Excalibur.js is most often brought in for TypeScript browser games; libGDX for writing 2D or 3D games in Java from a single codebase. The jobs each tool is most often brought in to do.

Excalibur.js

  • TypeScript browser gamesnot libGDX
  • Teaching typed game developmentnot libGDX
  • Game jam entriesnot libGDX
  • Mobile web gamesnot libGDX
  • Packaged desktop games via Electronnot libGDX

libGDX

  • Writing 2D or 3D games in Java from a single codebasenot Excalibur.js
  • Publishing a Java game to desktop, Android, iOS and HTML5not Excalibur.js
  • Rapid prototyping where an opinionated engine workflow is unwantednot Excalibur.js

Where do Excalibur.js and libGDX fall short?

Excalibur.js's most cited limit: code only, with no visual editor or scene designer. libGDX's: libGDX is a Java framework built on OpenGL ES, so projects are tied to the JVM toolchain. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Excalibur.js

  • Code only, with no visual editor or scene designer
  • 2D only, so projects needing 3D rendering need another engine
  • Native packaging relies on third-party wrappers
  • Smaller community than Phaser, so fewer tutorials and plugins

libGDX

  • libGDX is a Java framework built on OpenGL ES, so projects are tied to the JVM toolchain
  • Publishing targets are limited to Windows, macOS, Linux including Raspberry Pi, Android, iOS and HTML5
  • libGDX is a community-maintained Apache 2.0 project with no vendor and no paid support tier
  • libGDX ships as a framework rather than an editor, so there is no visual scene editor included

How much do Excalibur.js and libGDX cost?

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

Excalibur.js

Free

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

libGDX

Free
  • FreeFree
    • Full framework
    • Java support
    • Cross-platform

Which should you pick?

Choose Excalibur.js if

  • You need typescript first api.
  • You want to start without paying.
  • You also want browser and mobile browser support.

Choose libGDX if

  • You need java language support.
  • You want to start without paying.
  • You work on Windows, macOS, Linux, iOS, Android, Web.
  • You also want graphics rendering.

Questions people ask

Is Excalibur.js or libGDX better?
It depends on the job. Excalibur.js fits typeScript browser games; libGDX fits writing 2D or 3D games in Java from a single codebase. Excalibur.js starts at Free and libGDX at Free.
Which is cheaper, Excalibur.js or libGDX?
Excalibur.js starts at Free and libGDX at Free.
Does Excalibur.js or libGDX run on more platforms?
Excalibur.js runs on Web. libGDX runs on Windows, macOS, Linux, iOS, Android, Web.
Can I use Excalibur.js for free?
Both have a free tier, so you can try either at no cost before committing.
What is Excalibur.js best used for?
Excalibur.js is most often used for typescript browser games, teaching typed game development, game jam entries, mobile web games. Of those, typescript browser games and teaching typed game development are not what libGDX is typically brought in for.
What can Excalibur.js do that libGDX cannot?
Excalibur.js covers TypeScript first API, Browser and mobile browser support, Generated API reference, Interactive playground. libGDX covers Java language support, Graphics rendering, Audio engine, Input handling.

Answered from the vendors’ own pages

Excalibur.js: What licence does Excalibur use?

Public Excalibur projects are BSD 2-Clause licensed, and the site says this will never change.

Source
libGDX: Does libGDX cost anything?

libGDX is completely free and open source, licensed under Apache 2.0. There are no pricing tiers or costs.

Source
Excalibur.js: Does it work on mobile?

Games compile to JavaScript and run in most browsers including mobile.

Source
libGDX: Can I use libGDX commercially?

Yes, libGDX's Apache 2.0 license permits commercial use at no cost. The license allows usage in both open-source and proprietary projects.

Source
Excalibur.js: Can I get paid support?

The site lists a Premium Support option.

Source
Share

Related pages

Other head to heads