This is a barebones Excalibur game engine starter built using Typescript 4 & Webpack 5. It's a great starting place to jumpstart building your game! This repo is a template and can be used to create your own repository in GitHub.
Check out our other samples while you build your game or ask us questions.
- Using Node.js 14 (LTS) and npm
- Run the
npm installto install dependencies - Run the
npm startto run the development server to test out changes- Webpack will build the Typescript into Javascript
- Webpack dev server will host the script in a little server on http://localhost:8080/
- Run
npm run build:devto produce Javascript bundles for debugging in thedist/folder - Run
npm run build:prodto produce Javascript bundles for production (minified) in thedist/folder
The dist/ folder can be deployed to a static web host. We recommend Netlify or GitHub Pages since they are free to use.