Sprite#addChildAt()

addChildAt(child, index) → {DisplayObject} Adds a child to the container at a specified index. If the index is out of bounds an error will be thrown Parameters Name Type Description child DisplayObject The child to add index Number The index to place the child in Returns DisplayObject - The child that was added. Inherited From PIXI.DisplayObjectContainer#addChildAt Source code: pixi/display/DisplayObjectContainer.js (Line 55)

Sprite#addChild()

addChild(child) → {DisplayObject} Adds a child to the container. Parameters Name Type Description child DisplayObject The DisplayObject to add to the container Returns DisplayObject - The child that was added. Inherited From PIXI.DisplayObjectContainer#addChild Source code: pixi/display/DisplayObjectContainer.js (Line 42)

Sprite#addChild()

addChild(child) → {DisplayObject} Adds a child to the container. Parameters Name Type Description child DisplayObject The DisplayObject to add to the container Returns DisplayObject - The child that was added. Inherited From PIXI.DisplayObjectContainer#addChild Source code: pixi/display/DisplayObjectContainer.js (Line 42)

SoundManager#volume

volume : number Gets or sets the global volume of the SoundManager, a value between 0 and 1. The value given is clamped to the range 0 to 1. Source code: sound/SoundManager.js (Line 805)

SoundManager#usingWebAudio

[readonly] usingWebAudio : boolean True the SoundManager and device are both using Web Audio. Source code: sound/SoundManager.js (Line 66)

SoundManager#usingAudioTag

[readonly] usingAudioTag : boolean True the SoundManager and device are both using the Audio tag instead of Web Audio. Source code: sound/SoundManager.js (Line 72)

SoundManager#unlock()

unlock() → {boolean} Enables the audio, usually after the first touch. Returns boolean - True if the callback should be removed, otherwise false. Source code: sound/SoundManager.js (Line 296)

SoundManager#touchLocked

touchLocked : boolean true if the audio system is currently locked awaiting a touch event. Source code: sound/SoundManager.js (Line 90)

SoundManager#stopAll()

stopAll() Stops all the sounds in the game. Source code: sound/SoundManager.js (Line 340)

SoundManager#SoundManager

new SoundManager(game) The Sound Manager is responsible for playing back audio via either the Legacy HTML Audio tag or via Web Audio if the browser supports it.Note: On Firefox 25+ on Linux if you have media.gstreamer disabled in about:config then it cannot play back mp3 or m4a files.The audio file type and the encoding of those files are extremely important. Not all browsers can play all audio formats.There is a good guide to what's supported here: http://hpr.dogphilosophy.net/test/ If you a