Learn how to create and use Phaser Signals in your own games.
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."