Easily add Scroller, ListView and SwipeCarousel UI components to your games.
Matt Colman has released this Phaser plugin that provides three new common UI components all wrapped-up in an easy to use API:
- Scroller - A pure logic scroller built for scrolling on the x and y axis. Includes iOS-like behaviour such as momentum, bounce-back and snapping.
- ListView - An iOS-like ListView class. Uses Scroller for the input and outputs a ListView. Performance is good because we cull off-screen items. Perfect for high scoreboards.
- SwipeCarousel - An iOS-like SwipeCarousel. Uses Scroller for the input and outputs a SwipeCarousel. Perfect for instructions screens, or a photo gallery.