Softwr

Game Development · head to head

Excalibur.js vs SFML

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

SFML

Game Development

Free C++ multimedia library for 2D graphics, audio, windows and networking in games

From
Free
Free plan
Yes

The short version

  • Excalibur.js is a free, open-source TypeScript 2D game engine for the browser; SFML is a free, open-source C++ library.
  • Both are free.
  • Only Excalibur.js lists TypeScript first API; only SFML lists 2D graphics module.
  • Where Excalibur.js falls short: code only, with no visual editor or scene designer.
  • Where SFML falls short: A library, not an engine: no editor, scene tools or asset pipeline.

How do Excalibur.js and SFML differ?

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

Attributes where Excalibur.js and SFML differ
AttributeExcalibur.jsSFML
PlatformsWebWindows, Linux, macOS, Android, iOS

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 SFML. 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 SFML

  • 2D graphics module
  • Window and input management
  • Spatialised audio
  • TCP and UDP networking
  • C and .NET bindings
  • Community bindings for other languages
  • zlib/png licence

What is each one used for?

Excalibur.js is most often brought in for TypeScript browser games; SFML for 2D games written in C++. The jobs each tool is most often brought in to do.

Excalibur.js

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

SFML

  • 2D games written in C++not Excalibur.js
  • Teaching game programmingnot Excalibur.js
  • Prototyping with a small dependencynot Excalibur.js
  • Desktop multimedia toolsnot Excalibur.js
  • Games with custom enginesnot Excalibur.js

Where do Excalibur.js and SFML fall short?

Excalibur.js's most cited limit: code only, with no visual editor or scene designer. SFML's: A library, not an engine: no editor, scene tools or asset pipeline. 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

SFML

  • A library, not an engine: no editor, scene tools or asset pipeline
  • Mobile support for Android and iOS comes with limitations
  • Focused on 2D; 3D rendering is left to the developer
  • Only C and .NET bindings are official; others are community made

How much do Excalibur.js and SFML cost?

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

SFML

Free

No published plan breakdown. See the SFML 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 SFML if

  • You need 2d graphics module.
  • You want to start without paying.
  • You work on Windows, Linux, macOS, Android, iOS.
  • You also want window and input management.

Questions people ask

Is Excalibur.js or SFML better?
It depends on the job. Excalibur.js fits typeScript browser games; SFML fits 2D games written in C++. Excalibur.js starts at Free and SFML at Free.
Which is cheaper, Excalibur.js or SFML?
Excalibur.js starts at Free and SFML at Free.
Does Excalibur.js or SFML run on more platforms?
Excalibur.js runs on Web. SFML runs on Windows, Linux, macOS, Android, iOS.
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 SFML is typically brought in for.
What can Excalibur.js do that SFML cannot?
Excalibur.js covers TypeScript first API, Browser and mobile browser support, Generated API reference, Interactive playground. SFML covers 2D graphics module, Window and input management, Spatialised audio, TCP and UDP networking.

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
SFML: What licence does SFML use?

SFML is provided under the zlib/png licence.

Source
Excalibur.js: Does it work on mobile?

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

Source
SFML: Which platforms does SFML run on?

Windows, Linux and macOS, with Android and iOS supported with limitations.

Source
Excalibur.js: Can I get paid support?

The site lists a Premium Support option.

Source
SFML: What does SFML include?

Five modules: system, window, graphics, audio and network.

Source
Share

Related pages

Other head to heads