Stick Events

This Example is using the Virtual Joystick Plugin.

 *    Please wait, loading source from GitHub ...
 *                       /\_/\
 *                      / - - \
 *                     <_  X  _>  /\_/\
 *                     /       \ <_o_o_>
 *                    <_)_U_U_(_> 

This example is for Phaser 2 / CE

View the Phaser 3 Examples here.

View the code for this example:
// events.js.

Add a powerful and flexible virtual joystick to your mobile games in just 2 lines of code
  • Analogue + Digital Joysticks and Buttons
  • 3 Professionally designed skins inc. PSDs
  • Powerful and friendly Plugin API
  • JSDocs, PDF Manual and Code Examples
  • For Phaser 2 / CE only
Buy Now
$5 was $20


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.