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
These snippets are parts that I use frequently to build games in phaser.
They include (or will include) things such as game screens, common text groups, and any other multi-line groups of code I feel I need to rapidly build phaser games.
Score Text and Label
Description:adds text fields for score
Example:
Title Screen
Description:A Title screen template
Example:
Game Over Screen
Description:A Game Over screen template
Example:use this spritesheet for the buttons in the game over and title screens
On Screen Buttons
Description:use this to add the arrow sprite sheet to your game.
Example:
Keyboard Arrows
Description:detects keyboard arrows. Place in update function
Example: