Skip to main content

Samples

Learn Excalibur by referencing these sample games.

Jelly Jumper

Jelly Jumper

High fidelity sample of a platforming game with jump physics inspired by Super Mario World!

Pathfinding

Pathfinding

Sample using the pathfinding plugin with A* and Dijkstra!

UI with HTML/CSS/JS

UI with HTML/CSS/JS

Example of how to build vanilla html/css/js UIs with Excalibur code. The main gist is to put an HTML layer above the canvas layer and use that for UI.

Tiny Tactics

Tiny Tactics

High fidelity example of a tactics game, with multiple levels, AI, and pathfinding!

Grid Movement

Grid Movement

Example of building grid based movement.

Tiled w/ Parcel

Tiled w/ Parcel

This is a small level with the Tiled Plugin and Parcel bundler.

Tiled w/ Vite

Tiled w/ Vite

This is a small level with the Tiled Plugin and Vite bundler.

Tiled w/ Webpack

Tiled w/ Webpack

This is a small level with the Tiled Plugin and Webpack bundler.

Platformer

Platformer

This is a small platforming example.

Matter.js

Matter.js

This is a small sample showing how to wire in a 3rd party physics instead of using Excalibur.

Electron Template

Electron Template

This is a template to show Electron integration with Excalibur. Useful for shipping games to desktops or steam!

Excalibird

Excalibird

This is a sample clone of the popular mobile game flappy bird.

Shoot 'Em Up

Shoot 'Em Up

This is an example of how to create a Shoot 'Em Up game

Breakout

Breakout

This is a sample brick breaking game.