A tutorial on making platformer physics more water like.

Article by Richard Davey. Posted on 4th Mar 2016.   @phaser_

image

From the Amphibian Abstracts blog: "The theme for Level 7 of my 8-bit style Phaser platformer has been selected - Liquid Cooled! It's a water level with a name that also describes a high-performance computer needing more than just a normal CPU fan.

But a water level means the frog has to swim through it, instead of jump. I had to make a few changes to my code in order to support an optional "swim mode" behavior. I handled this by putting a water flag in my level objects. When true, it means the physics should be more... liquid."

Read More