phaser-plugin-update

2.1.0 • Public • Published

Phaser 3 Update Plugin

Runs a Game Object's update method automatically.

new Phaser.Game({
  plugins: {
    scene: [{ key: 'updatePlugin', plugin: PhaserUpdatePlugin, mapping: 'updates' }]
  }
});

In a scene:

this.updates.add(gameObject);
// or
this.updates.addMultiple([ gameObject1, gameObject2 ]);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.0
    1
    • latest

Version History

Package Sidebar

Install

npm i phaser-plugin-update

Weekly Downloads

15

Version

2.1.0

License

ISC

Unpacked Size

9.05 kB

Total Files

9

Last publish

Collaborators

  • samme