How to use the phaser-ce.ARCADE function in phaser-ce

To help you get started, we’ve selected a few phaser-ce examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github amaccann / phaser-navmesh-generation / src / demo / demoSprite.js View on Github external
constructor(game, x, y, group, tileLayer) {
    super(game, x, y, 'agent');
    this.path = DEFAULT_PATH;
    this.anchor.setTo(ANCHOR, ANCHOR);
    this.tileLayer = tileLayer;
    game.physics.enable(this, Physics.ARCADE);
    game.world.bringToTop(this);
    group.add(this);
  }

phaser-ce

Phaser CE (Community Edition) is a fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.

MIT
Latest version published 2 years ago

Package Health Score

59 / 100
Full package analysis