In this tutorial Emanuele updates his “Down the Mountain” prototype to Phaser 3 with full source code.
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."
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