If you’re looking for good examples of how to build games in Excalibur, please visit the official sample gallery.
We don’t recommend using this game’s source code as an example for your own work
- it was built quickly during a game jam; the code likely cuts a few corners and is a bit messy in some places
- the version of Excalibur it's using is out-of-date; the API has likely changed, and there are newer, better design patterns for building games using the Excalibur engine.
If you’d like to explore for curiosity’s sake, go on ahead, and good luck!
- the Excalibur.js team
Ludum Dare 38 Game Jam (April 21-24, 2017) http://excaliburjs.com/ludum-38
Set up Excalibur submodule:
git submodule init
git submodule update
git fetch
Build excalibur and excalibur-tiled:
cd lib/excalibur
npm install
npm run build
cd ..
cd lib/excalibur-tiled
bower install
You will need Node.js and NPM installed.
To compile:
npm install
npm start
To update local copy of Excalibur from submodule:
npm run copy
Ctrl+Shift+b
will run npm start
and compile on changes
- use "Pull (Rebase)" from the Source Control panel of VSCode