Creates a new Sound object.
Creates a new Sound object.
The Game.cache key of the sound that this object will use.
The volume at which the sound will be played.
Whether or not the sound will loop.
Controls if the created Sound object will connect to the master gainNode of the SoundManager when running under WebAudio.
The newly created text object.
Creates a new AudioSprite object.
Creates a new AudioSprite object.
The Game.cache key of the sound that this object will use.
The newly created AudioSprite object.
Create a BitmpaData object.
Create a BitmpaData object. A BitmapData object can be manipulated and drawn to like a traditional Canvas object and used to texture Sprites.
The width of the BitmapData in pixels.
The height of the BitmapData in pixels.
Asset key for the BitmapData when stored in the Cache (see addToCache parameter).
Should this BitmapData be added to the Game.Cache? If so you can retrieve it with Cache.getBitmapData(key)
The newly created Phaser.BitmapData object.
Create a new BitmapText object.
Create a new BitmapText object. BitmapText objects work by taking a texture file and an XML file that describes the font structure. It then generates a new Sprite object for each letter of the text, proportionally spaced out and aligned to match the font structure.
BitmapText objects are less flexible than Text objects, in that they have less features such as shadows, fills and the ability to use Web Fonts. However you trade this flexibility for pure rendering speed. You can also create visually compelling BitmapTexts by processing the font texture in an image editor first, applying fills and any other effects required. To create multi-line text insert \r, \n or \r\n escape codes into the text string.
X-coordinate to display the BitmapText object at.
Y-coordinate to display the BitmapText object at.
The key of the BitmapText as stored in Phaser.Cache.
The text that will be rendered. This can also be set later via BitmapText.text.
The size the font will be rendered at in pixels.
The alignment of multi-line text. Has no effect if there is only one line of text.
The newly created bitmapText object.
Creates a new Text object.
Creates a new Text object.
X-position of the new text object.
Y-position of the new text object.
The actual text that will be written.
The style object containing style attributes like font, font size , etc.
The newly created text object.
A reference to the game world
The GameObjectCreator is a quick way to create common game objects without adding them to the game world. The object creator can be accessed with
game.make
.https://phaser.io/docs/2.6.2/Phaser.GameObjectCreator.html