02 Click On An Image


/*
 *    Please wait, loading source from GitHub ...
 *
 *                          .
 *                          |\
 *                         _j    .___,
 *                        (_j    |---|
 *                              _|   |
 *                     .____.  (_j  _|
 *                     |.--.| .    (_J
 *                     |l__j|  .
 *                     |+ oo| .
 *                     l____j
 *
 */

This example is for Phaser 2 / CE

View the Phaser 3 Examples here.

View the code for this example:
//github.com/photonstorm/phaser-examples/blob/master/examples/basics/02 click on an image.js.

Download

Get the source and assets for every Phaser example from the Phaser Examples GitHub repository.

With literally hundreds of pieces of source code this is an invaluable resource to have available locally.

Online Code Editor

The Phaser Sandbox allows you to code games in your browser without having to download or install anything.

The powerful editor features Phaser code assists, JavaScript snippets and lots of the features you've come to love in editors like Sublime and Brackets.