https://github.com/samme/phaser-plugin-update
Runs a Game Object's update method automatically
https://github.com/samme/phaser-plugin-update
phaser phaser-plugin phaser3 phaser3-plugin
Last synced: 13 days ago
JSON representation
Runs a Game Object's update method automatically
- Host: GitHub
- URL: https://github.com/samme/phaser-plugin-update
- Owner: samme
- Created: 2018-05-23T21:14:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-02-11T18:23:36.000Z (2 months ago)
- Last Synced: 2025-03-18T11:25:15.432Z (about 1 month ago)
- Topics: phaser, phaser-plugin, phaser3, phaser3-plugin
- Language: JavaScript
- Homepage:
- Size: 116 KB
- Stars: 22
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
Phaser 3 Update Plugin
======================Runs a Game Object's `update` method automatically.
```javascript
new Phaser.Game({
plugins: {
scene: [{ key: 'updatePlugin', plugin: PhaserUpdatePlugin, mapping: 'updates' }]
}
});
```In a scene:
```javascript
this.updates.add(gameObject);
// or
this.updates.addMultiple([ gameObject1, gameObject2 ]);
```