Phaser Game Snippets

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: