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 46 Game Jam (April 17-20, 2020)
-
Clone the repo
git clone https://github.com/excaliburjs/ludum-46.git
-
Navigate into the root directory
ludum-46
in your favorite command line tool -
Run the install to download the tools
npm install
-
Run the following (only needed once or if the submodule is changed) commands to setup the git submodule
git submodule init git submodule update
-
Build excalibur (takes a while the first time). This only needs to be re run if core excalibur changes.
npm run build:excalibur
-
Build the project
npm run build
-
Run the game locally with parcel
npm start