Adding deadly fire to the game and making it more fun to play by reducing the players hitbox.

Posted on 19th Jun 2019. Follow @phaser_ and get the Phaser World newsletter.


Emanuele Feronato continues his series: "Ok, before we start talking about this 5th step of the HTML5 endless runner prototype powered by Phaser and Arcade physics, let’s be honest: how may times did you swear at the game because of that stupid pixel perfect collision which just killed you?

We don’t want players to be frustrated by our game, the 1980s with impossible Commodore 64 games is over so we are going to be kind with players in a way I am about to explain you.

Now we are going to add deadly fire, but as we do not want to punish players that much, our hero will die only when touching the fire at its very center."

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