HTML5 “Down the Mountain” prototype updated to Phaser CE 2.8.1 adding tap controls and smoother player movement

About two years ago I released the latest part in my Down the Mountain prototype.

At that time the game was performing very well. Today I saw my daughter playing on her brand new iPad Pro and I said “hey I made a prototype of that game”.

So I decided to continue in the making of the game, and the first thing I did was updating Phaser to the latest version, adding tap controls rather than old boring arrow keys controls and making player and camera movements faster and smoother.

Let’s have a look at the game:

Run down the mountain by tapping to the left or right half on the vancas, see how the mountain scrolls and how higher mountain blocks are removed from the game. Also, I don’t let the player move down the canvas too much, in this case I just increase scrolling speed.

I really recommend you to have a look at previous steps to see how the “mountain” actually is a series of hexagons and the fake “jump” movement is made with a Bezier curve.

I am publishing the source code, more optizmization has to be made, starting from an object pooling. Then we’ll start adding enemies and stuff. And comments of course.

It was really a nice surprise to see how this game is still fun, download the source code while you wait for next steps.