In part three of the series textures and coins are included in the game.
Emanuele Feronato continues his series: "Here we are with the 3rd part of the HTML5 endless runner prototype powered by Phaser and Arcade physics.
In first step, I was able to set up a basic endless runner with double jump and room for customization using object pooling to save resources, but it was made only by a white rectangle jumping over white platforms, so in second step I added even more room for customization and – most important – a player animation.
Now I added texture to platforms – no more white boxes – and coins to collect. Coins have their own animation and once collected they disappear in a way similar to the one you used to see in Super Mario series."