Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

excaliburjs/ludum-38

Repository files navigation

⚠️ Important Note for future explorers

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-38

Ludum Dare 38 Game Jam (April 21-24, 2017) http://excaliburjs.com/ludum-38

Setup

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

Compiling the game

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 

Using VSCode

Ctrl+Shift+b will run npm start and compile on changes

Git workflow

  • use "Pull (Rebase)" from the Source Control panel of VSCode