Please visit:
- Source code: https://github.com/excaliburjs/excalibur-extension/
- Official Chrome Plugin: https://chromewebstore.google.com/detail/excalibur-dev-tools/dinddaeielhddflijbbcmpefamfffekc
This is a dev tool to help you debug your game written in excalibur.
This tool allows you to see information about the engine, currentScene, camera, clock, entities, and more!
UI is built using tweakpane
- Install using npm
> npm install @excaliburjs/dev-tools
- Inside your game code pass your game to the devtool
const game = new ex.Engine({...});
const devtool = new DevTool(game);
- Voila!
In your HTML file, add a reference devtools-tiled.min.js
in your page:
<script type="text/javascript" src="https://unpkg.com/excalibur"></script>
<script type="text/javascript" src="https://unpkg.com/@excaliburjs/dev-tools"></script>
and then you can use it like this:
const game = new ex.Engine({...});
const devtool = new ex.DevTools.DevTool(game);
The dist uses a UMD build and will attach itself to the ex.DevTools.DevTool
global if running in the browser standalone.
Install node & npm
npm install
npm run start