Create a game like Risky Road using Matter Physics and Simplify.js

Posted on 25th Feb 2020. Follow @phaser_ and get the Phaser World newsletter.


Emanuele Feronato evolves his infinite terrain code to teach you how to create a game like Risky Road: "Did you play Risky Road game developed by Ketchapp? Available for both iOS and Android, it’s a physics endless runner.

You must drive your car as far as you can while keeping an egg/diamond/whatever safe, by getting the right speed to pass obstacles.

In the original game, terrain is made of pre-built blocks appearing in a random sequence.

In my version, terrain is randomly generated by the infinite random terrain generator I showed you some days ago, so most of the process has already been explained. Follow horizontal endless runner game series to see how to make things work..."

Read More

Learn to code and lead your intrepid crew on a mission to save The Cloud in TwilioQuest, a PC role-playing game inspired by classics of the 16-bit era. Free forever, and available now for Windows, Mac, and Linux.

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