Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@excaliburjs/dev-tools

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@excaliburjs/dev-tools

Excalibur Debug Tools

  • 0.28.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

Excalibur Dev Tools

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

Using dev tools in your excalibur game!

  1. Install using npm
> npm install @excaliburjs/dev-tools
  1. Inside your game code pass your game to the devtool
const game = new ex.Engine({...});
const devtool = new DevTool(game);
  1. Voila!
image

Standalone Script File

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.

Building & Running Locally

Install node & npm

  • npm install
  • npm run start

FAQs

Package last updated on 11 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc