Softwr

Game Development · head to head

Excalibur.js vs SDL

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
SDL logo

SDL

Game Development

Free cross-platform C library for low-level audio, input and graphics access

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 SDL lists audio output.
  • Where Excalibur.js falls short: code only, with no visual editor or scene designer.
  • Where SDL falls short: A low-level library with no editor or scene tools.

How do Excalibur.js and SDL differ?

Excalibur.js and SDL differ on platforms. Only the attributes on which Excalibur.js and SDL actually diverge.

Attributes where Excalibur.js and SDL differ
AttributeExcalibur.jsSDL
PlatformsWebWindows, macOS, Linux, iOS, Android

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 Excalibur.js and 7 only for SDL. 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 SDL

  • Audio output
  • Keyboard, mouse and joystick input
  • Graphics via OpenGL and Direct3D
  • Windowing and events
  • Threads and timers
  • C API with many language bindings
  • Cross-platform source code

What is each one used for?

Excalibur.js is most often brought in for TypeScript browser games; SDL for writing a custom game engine. The jobs each tool is most often brought in to do.

Excalibur.js

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

SDL

  • Writing a custom game enginenot Excalibur.js
  • Porting games to many platformsnot Excalibur.js
  • Emulators and media playersnot Excalibur.js
  • Cross-platform tools with windowing and inputnot Excalibur.js
  • Teaching low-level game programmingnot Excalibur.js

Where do Excalibur.js and SDL fall short?

Excalibur.js's most cited limit: code only, with no visual editor or scene designer. SDL's: A low-level library with no editor or scene tools. 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

SDL

  • A low-level library with no editor or scene tools
  • Physics, assets and game logic must be built by the developer
  • Moving from SDL 2 to SDL 3 needs code changes
  • Steeper start than an engine for beginners

How much do Excalibur.js and SDL cost?

Excalibur.js is free to use; SDL 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.

SDL

Free

No published plan breakdown. See the SDL review.

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 SDL if

  • You need audio output.
  • You want to start without paying.
  • You work on Windows, macOS, Linux, iOS, Android.
  • You also want keyboard, mouse and joystick input.

Questions people ask

Is Excalibur.js or SDL better?
It depends on the job. Excalibur.js fits typeScript browser games; SDL fits writing a custom game engine. Excalibur.js starts at Free and SDL at Free.
Which is cheaper, Excalibur.js or SDL?
Excalibur.js starts at Free and SDL at Free.
Does Excalibur.js or SDL run on more platforms?
Excalibur.js runs on Web. SDL runs on Windows, macOS, Linux, iOS, Android.
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 SDL is typically brought in for.
What can Excalibur.js do that SDL cannot?
Excalibur.js covers TypeScript first API, Browser and mobile browser support, Generated API reference, Interactive playground. SDL covers Audio output, Keyboard, mouse and joystick input, Graphics via OpenGL and Direct3D, Windowing and events.

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
SDL: Is SDL free?

Yes, it is distributed under the zlib licence, which allows free use in any software.

Source
Excalibur.js: Does it work on mobile?

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

Source
SDL: Which platforms does SDL support?

Windows, macOS, Linux, iOS and Android officially, with others in the source code.

Source
Excalibur.js: Can I get paid support?

The site lists a Premium Support option.

Source
SDL: Who created SDL?

Sam Lantinga created it and first released it in 1998.

Source
Share

Related pages

Other head to heads