Geaz Posted February 20, 2014 Share Posted February 20, 2014 Hello, is it possible to get a pinch and mousewheel event with phaser? I try to write a board game and want to give the user the ability to zoom the board in and out. Thanks,Geaz titmael 1 Link to comment Share on other sites More sharing options...
pullmonkey Posted April 13, 2014 Share Posted April 13, 2014 Geaz - you ever figure this out? Link to comment Share on other sites More sharing options...
titmael Posted April 14, 2014 Share Posted April 14, 2014 +1 Link to comment Share on other sites More sharing options...
adamyall Posted April 14, 2014 Share Posted April 14, 2014 http://jsfiddle.net/adamholdenyall/G68ee/7/Made a fiddle to figure this out myself. Probably the best way to handle gestures is to just include Hammer.js as gesture support in Phaser itself is limited as far as I can tell. The example shows both pinch to zoom and scroll to zoom. Works for me on Chrome for Android and Firefox. staff0rd and titmael 2 Link to comment Share on other sites More sharing options...
titmael Posted May 10, 2014 Share Posted May 10, 2014 A.M.A.Z.I.N.G ! Thx Link to comment Share on other sites More sharing options...
Recommended Posts