A guide on how to use Phaser Signals to dispatch your own events.

Article by Richard Davey. Posted on 12th Apr 2016.   @phaser_

image

"One interesting Phaser feature which people do not talk about that much is signal dispatch. A Signal is an event dispatch mechanism that supports broadcasting to multiple listeners. Signals aren’t that different from plain JavaScript events, but signals can also pass arguments.

In this basic guide we’ll see how to use signals in the simplest way possible. We will also see some concepts about context."

Read More