In this tutorial Emanuele updates his “Down the Mountain” prototype to Phaser 3 with full source code.

Posted on 15th Oct 2018. Follow @phaser_ and get the Phaser World newsletter.


Emanuele Feronato writes: "I usually update the Down the Mountain prototype every summer, so it’s time to release another update, porting the latest version to Phaser 3.

The game features object pooling to recycle all blocks – actually hexagons – which fly off the top of the canvas.

Tap or click on the left half of the canvas to move left, on the right half of the canvas to move right.

I managed to handle player position and scrolling using pure math rather than looking for their world coordinates. This makes the code look a bit more clean."

Read More

Learn to code and lead your intrepid crew on a mission to save The Cloud in TwilioQuest, a PC role-playing game inspired by classics of the 16-bit era. Free forever, and available now for Windows, Mac, and Linux.

The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
  • By Emanuele Feronato
  • 155 Pages
  • 28 Source Code Examples
  • Build a complete game from start to finish
  • Cross Platform
  • Scaling for devices
Buy Now