How to create an Endless Runner style game using just a few lines of code and Arcade Physics.

Article by Richard Davey. Posted on 4th Mar 2019.   @photonstorm

image

Emanuele Feronato brings you a new tutorial on how to create an Endless Runner style game in just a few lines of code: "Today we’ll see how to build a basic HTML5 endless runner using Phaser 3, Arcade physics and object pooling. Thanks to object pooling, you won’t need to create more than 5 or 6 platforms during the entire game, although it seems they are infinite.

Moreover, like all endless runners, the player is not running, it’s the entire environment which moves towards the player, giving the feeling the player is running."

Read More