Creates a new Blitter Game Object and adds it to the Scene.
Note: This method will only be available if the Blitter Game Object has been built into Phaser.
name | type | arguments | description |
---|---|---|---|
x | number |
The x position of the Game Object. |
|
y | number |
The y position of the Game Object. |
|
texture | string | Phaser.Textures.Texture |
The key, or instance of the Texture this Game Object will use to render with, as stored in the Texture Manager. |
|
frame | string | number | <optional> |
The default Frame children of the Blitter will use. |
The Game Object that was created.