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

Posted on 4th Mar 2019. Follow @phaser_ and get the Phaser World newsletter.


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

The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
  • By Emanuele Feronato
  • 155 Pages
  • 28 Source Code Examples
  • Build a complete game from start to finish
  • Cross Platform
  • Scaling for devices
Buy Now