Build a complex maze with a single body

Article by Richard Davey. Posted on 27th Jul 2015.   @photonstorm

image

"Back in 2008 I blogged about the magic of compound objects with Box2D to create complex shapes, and eventually built a game upon this concept, called MazeRoll.

Now it’s time to do the same thing with Phaser, building a maze in a single body.

The maze is built with the same script used in Pure JavaScript perfect tile maze generation – with a bit of magic thanks to Phaser, have a look at it:"

Read the Tutorial