In this update to the game a player character is added, assets are recycled and arrays are removed.

Article by Richard Davey. Posted on 18th Jul 2017.   @photonstorm

image

From Emanuele Feronato: "Here we go with another step in Down the Mountain series, introducing three new features:

1) A player character. This time you control a real (fake) 3D character going down the mountain. Being some kind of isometric game using hexagon rather than a real 3D game, we can’t simply flip the sprite when we move to the left or to the right, because of the source of light. I needed to create two frames, one for the character facing left, one for the character facing right.

2) I am recycling assets rather than destroying old hexagons and creating new ones. Now hexagons which disappear from the top are simply moved to the bottom. This way the game does not need to create any more sprites other than the ones already in the game at the moment it starts. This will allow us to save memory and CPU, especially when dealing with mobile devices."

Read More