Softwr

Game Development · head to head

Excalibur.js vs Pygame

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

Pygame

Game Development

Python library for game development

From
Free
Free plan
Yes

The short version

  • Excalibur.js is a free, open-source TypeScript 2D game engine for the browser; Pygame is a free, open-source Python library for creating games.
  • Both are free.
  • Only Excalibur.js lists TypeScript first API; only Pygame lists graphics rendering.
  • Where Excalibur.js falls short: code only, with no visual editor or scene designer.
  • Where Pygame falls short: development stopped from 2009 until the end of 2016 before version 2.0 shipped in October 2020, so the project's history is uneven.

How do Excalibur.js and Pygame differ?

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

Attributes where Excalibur.js and Pygame differ
AttributeExcalibur.jsPygame
Pricing modelOpen-sourceFree
PlatformsWebWindows, macOS, Linux, Android

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 19 only for Pygame. 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 Pygame

  • Graphics rendering
  • Audio playback
  • Input handling
  • Sprite system
  • Collision detection
  • Font rendering
  • Animation support
  • Event system

What is each one used for?

Excalibur.js is most often brought in for TypeScript browser games; Pygame for game development. The jobs each tool is most often brought in to do.

Excalibur.js

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

Pygame

  • Game developmentnot Excalibur.js
  • 2D graphicsnot Excalibur.js
  • Python-based game creationnot Excalibur.js
  • Educational programmingnot Excalibur.js

Where do Excalibur.js and Pygame fall short?

Excalibur.js's most cited limit: code only, with no visual editor or scene designer. Pygame's: android support relied on Pygame Subset for Android (pgs4a); the library is not an engine with a visual editor. 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

Pygame

  • Development stopped from 2009 until the end of 2016 before version 2.0 shipped in October 2020, so the project's history is uneven
  • A community fork, pygame-ce, exists after disagreements between core developers and the repository owner, so docs and features differ between the two
  • Android support relied on Pygame Subset for Android (pgs4a); the library is not an engine with a visual editor

How much do Excalibur.js and Pygame cost?

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

Pygame

Free
  • FreeFree
    • Full library
    • Python support
    • Graphics rendering

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

  • You need graphics rendering.
  • You want to start without paying.
  • You work on Windows, macOS, Linux, Android.
  • You also want audio playback.

Questions people ask

Is Excalibur.js or Pygame better?
It depends on the job. Excalibur.js fits typeScript browser games; Pygame fits game development. Excalibur.js starts at Free and Pygame at Free.
Which is cheaper, Excalibur.js or Pygame?
Excalibur.js starts at Free and Pygame at Free.
Does Excalibur.js or Pygame run on more platforms?
Excalibur.js runs on Web. Pygame runs on Windows, macOS, Linux, 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 Pygame is typically brought in for.
What can Excalibur.js do that Pygame cannot?
Excalibur.js covers TypeScript first API, Browser and mobile browser support, Generated API reference, Interactive playground. Pygame covers Graphics rendering, Audio playback, Input handling, Sprite system.

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
Pygame: How much does Pygame cost?

Pygame is free and open source software with no cost to use or distribute.

Source
Excalibur.js: Does it work on mobile?

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

Source
Excalibur.js: Can I get paid support?

The site lists a Premium Support option.

Source
Share

Related pages

Other head to heads