This new component allows you to simulate vertical and horizontal scrolling to a Phaser.Group, with lots of configuration options to set.

Article by Richard Davey. Posted on 2nd Feb 2017.   @photonstorm

image

True Ice Cold has released the Phaser Scrollable Component which allows you to simulate vertical and horizontal scrolling to a Phaser.Group. For those who may not be sure what this does, it allows you to do things like 'flick scroll' a game map and have it automatically speed-up and slow down smoothly, similar to the way Apple devices can perform kinetic scrolling on the UI.

This component is directly derived from jdnichollsc's amazing work on his plugin, Kinetic Scrolling Plugin. He converted it to use groups instead of moving the camera, added support for multiple scrollers, and some bug fixes.

Installation is simple and there are lots of configuration options and a demo.

Read More

Comments

comments powered by Disqus