Recreating the Stick Hero game in just a few lines of code and no physics.

Article by Richard Davey. Posted on 9th Jul 2019.   @photonstorm

image

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 ..."

Read More