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

Article by Richard Davey. Posted on 19th Jun 2019.   @phaser_


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