Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 months 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-10T09:06:22.000Z (over 1 year ago)
- Last Synced: 2024-09-30T06:24:08.959Z (4 months ago)
- Topics: phaser, phaser-plugin, phaser3, phaser3-plugin
- Language: JavaScript
- Homepage:
- Size: 144 KB
- Stars: 22
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
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 ]);
```