Notice: Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.) in /home/wcc1969/public_html/phasergames.com/wp-includes/functions.php on line 6085
Notice: Function wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.) in /home/wcc1969/public_html/phasergames.com/wp-includes/functions.php on line 6085
Warning: Undefined variable $output in /home/wcc1969/public_html/phasergames.com/wp-content/plugins/wc_snippets/snippets.php on line 77
preload a sound
Description:loads a sound into the library
Example:game.load.audio('click', 'sounds/click.mp3');
add sound to game
Description:
Example:var click= game.add.audio('click');
play a sound
Description:plays a sound
Example:music.play();
set volume for a sound
Description:sets the volume for a sound, values are between 0 and 1
Example:music.volume=.5;
mute a sound
Description:turns off a sounds volume
Example:music.mute=true