Recreating the Stick Hero game in just a few lines of code and no physics.
Emanuele Feronato starts a new series: "Like all Ketchapp games, Stick Hero is an easy and fun hyper casual game. The only instructions on the official app page are: “Stretch the stick in order to reach and walk on the platforms. Watch out! If the stick is not long enough, you will fall down! How far can you go?” So in this game you only have to tap and hold the pointer to make a pole grow enough to cross the gap between two platforms, but not too much or you will fall down the other side of the cliff.
Thanks to Phaser, a managed to build the game using only tweens. There is not physics in this game. Just a series of animations to be played according to a couple of parameters and player input. Look at the game ..."
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