new SamplePlugin()
A Sample Plugin demonstrating how to hook into the Phaser plugin system.
Methods
-
addSprite()
-
Add a Sprite reference to this Plugin.
All this plugin does is move the Sprite across the screen slowly. -
update()
-
This is run when the plugins update during the core game loop.