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
Phaser Timer
Description:a delay timer
Example:game.time.events.add(Phaser.Timer.SECOND, this.dosomething, this);
Lock Orientation
Description:locks orientation to portrait or landscape. Doesn't stop rotation, works with game.scale.enterIncorrectOrientation
Example:game.scale.forceOrientation(false, true);
Handle Incorrect Orientation
Description:function invoked when the rotation of the device goes against setting in lockOrientation
Example:game.scale.enterIncorrectOrientation.add(handleWrong,this)
Handle Correct Orientation
Description:function invoked when the rotation of the device leaves the incorrect setting defined in lockOrientation
Example:game.scale.leaveIncorrectOrientation.add(handleWrong,this)
css for wrong orientation
Description:standard css code to show wrong orientation
Example:
Random number
Description:get a whole random number
Example:game.rnd.integerInRange(1, 10);
webfont loader script
Description:use this to load Google Fonts into your Phaser project
Example: