A tutorial on creating complex objects: the combination of varying parent and child elements.

Article by Richard Davey. Posted on 16th Jun 2017.   @photonstorm


A new tutorial from the Phaser Games site: "Most of the time when we are writing games in Phaser we are using simple objects like a sprite, text, or a button. I really enjoy writing in Phaser, but sometimes I miss when I use to make flash games and I could create a lot of different elements within a class. While I can not do exactly the same thing with Phaser, what can be done is to create a function to make a complex object. A complex object is simply my phrase that I use to describe a group containing child elements. In this way, I can basically get the same result that I did in flash."

Read More