Skip to content

excaliburjs/excalibur-extension

Excalibur Dev Tools Plugin

This excalibur game developers to easily inspect their games while making them!

v1.0.1 Now live in browsers!

Debug

  • Performance issues
  • Actor graphics
  • Actor geometry
  • Colliders
  • Scenes
  • Toggle Debug Draw

Example Extension Running

Chrome: Running Locally & Side Loading

If you want to develop locally

  • Install node.js
  • Run npm install in the root directory
  • Run npm run start:chrome this will start a parcel dev server, or run npm run build:chrome to produce a prod bundle
  • Open chrome://extensions/ and click "Load unpacked" chrome extensions tab
  • Select the dist-chrome directory in the excalibur-extension project excalibur-extension dist directory

Firefox: Running Locally & Side Loading

If you want to develop locally

  • Install node.js
  • Run npm install in the root directory
  • Run npm run build:firefox to produce a prod bundle
  • Open about:debugging#/runtime/this-firefox and click "Load Temporary Add-on..." firefox extensions tab
  • Zip all the files in dist-firefox together excalibur-extension dist-firefox directory
  • Select the final zip file in the dist-firefox directory in the excalibur-extension project excalibur-extension dist-firefox directory

Building a release artifact for Chrome or Firefox

  • Install node.js
  • Run npm install in the root directory
  • Run npm build:chrome to produce the final build artifact in dist-chrome
    • Zip the files in the directory, not the dist-chrome directory
    • Upload the zip to chrome
  • Run npm build:firefox to product the final build artifact in dist-firefox which can be zipped and uploaded
    • Zip the files in the directory, not the dist-firefox directory
    • Upload the zip to mozilla

Features That We Want!

PR's welcome

Resources

https://developer.chrome.com/docs/extensions/mv3/devtools/