salcapolupo Posted February 3, 2015 Share Posted February 3, 2015 I would like to develop some new videogame Phaser-based with touch support. Is there anything native for it?I cannot find anything useful for this, at least to my actual knowledge. Would be possible to integrate i.e Hammer.js and use it inside JS code Phaser-structured? Or am I missing something? Thanks :-) Link to comment Share on other sites More sharing options...
rich Posted February 5, 2015 Share Posted February 5, 2015 Phaser has full touch support already built in, but not gestures. You would have to provide your own code to handle gestures, which you could do using the Input Pointer data. salcapolupo 1 Link to comment Share on other sites More sharing options...
gingerbeardman Posted February 6, 2015 Share Posted February 6, 2015 Gestures was dealt with herehttp://www.html5gamedevs.com/topic/8882-how-to-add-touch-gestures-swipe-tap-click/Codehttps://gist.github.com/eguneys/5cf315287f9fbf413769 Link to comment Share on other sites More sharing options...
salcapolupo Posted February 8, 2015 Author Share Posted February 8, 2015 Thanks creating a gesture manager seems the best way to approach problem. Link to comment Share on other sites More sharing options...
Recommended Posts