Learn how to create and use Phaser Signals in your own games.

Posted on 15th Jan 2018. Follow @phaser_ and get the Phaser World newsletter.


This is a new tutorial from the PhaserGames site: "In my opinion, one of the best and most overlooked features of Phaser is the Signal class. With just a few steps you can create a clean global broadcasting system. It also eliminates the headache that javascript often causes with scopes and callbacks.

Here’s a quick example to show you how to do that.

I’ll be starting with the basic template and the dot image below.

Let’s create a dot that is either blue or pink and place in a random position. We will make a class that extends Phaser.Group called dot in the js folder."

Read More

The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
  • By Emanuele Feronato
  • 155 Pages
  • 28 Source Code Examples
  • Build a complete game from start to finish
  • Cross Platform
  • Scaling for devices
Buy Now