How to create a draggable and scrollable map with inertia.

Article by Richard Davey. Posted on 19th Feb 2016.   @phaser_


From Emanuele Feronato: "Today I am showing you how to create a HTML draggable and scrollable map with an inertia effect which can be used in several ways.

I already blogged about a similar topic in the post Create an HTML5 level selection screen using a scrollable map like in “Hero Emblems” game using Phaser but I prefer the version I am about to show you now because it allows to drag the map and make it scroll swiping on it with an inertia effect."

Read More