benopotamus Posted July 18, 2015 Share Posted July 18, 2015 Hello. I'm struggling with zooming in Phaser and would like someone to code that aspect for me. I can offer $20 through PayPal (I know it's not much) sent to you or your favourite open source project. The features I'm looking for:Zoom with mouse wheel (where the zoom zooms towards the mouse pointer)Pinch zoomBe able to set the zoom rate for mouse wheel and pinch zoomingPanning with mouse click + dragPanning with touch + dragStill be able to interact with game elements with a click or a touchBonus points for tweening when zooming and easing on pan This demo has all the basics (no tweening or easing) but I'm not sure how it's actually working :-P https://www.iforce2d.net/rube/loaders/phaser/basic.html I'd like it to be wrapped up in a nice package and MIT licensed so people in the future can use it on their Phaser projects easily. Quote Link to comment Share on other sites More sharing options...
netcell Posted July 23, 2015 Share Posted July 23, 2015 I have done some panning as "scrollable" group in client work that act similar to iOS list view (can pan in whatever direction needed) and zooming in my own work (programmatically). None of them involved mouse scrolling and pinch to zoom. Mouse scrolling should be easy, but pinch to zoom functionality was in my plan for guesture plugin for Phaser. I would like very much looking into this (since it's already in my plan) but since I'm pretty busy with client works, the progress might be a bit limited. I'll post some gifs of my works related to this matter as soon as I reach my computer. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.