Make a complete physics puzzle platform game in part give of the most comprehensive, well written and illustrated tutorials on tilemaps.

Article by Richard Davey. Posted on 21st Sep 2018.   @photonstorm

image

Michael Hadley has been writing a series of tutorials on using tilemaps in Phaser 3. In part 5 he takes everything learned so far, with tilemaps and physics and creates a solid fun puzzle platformer.

"In the last post, we got acquainted with the Matter.js physics engine and played with dropping bouncy emoji around a scene. Now we’re going to build on that Matter knowledge and step through building a 2D platformer. We’ll learn how collisions work in Matter, get familiar with a plugin that will allow us to neatly watch for collisions in Phaser and then get into the core of the platformer."

Michael was the developer responsible for coding most of the tilemap API inside of Phaser 3, so you can be sure this is a detailed and well researched tutorial, not just another 'export your map from Tiled' affair.

As with the other parts in the series, the tutorial is extremely well written, with plenty of great illustrations and explanations of the concepts behind tilemaps and how they work in Phaser. As you'd expect, the code is all available in GitHub too, and there are copious embedded examples. This is another masterclass in both tutorial writing and the use of tilemaps, so I'd urge anyone who plans to use them to read it.

Read More