This resources adds panning and zooming functionality to your mobile apps.
If you want an object to receive this functionality you need only do the following :
Set the Pan&Zoom object as its parent
Add event_inherited() to the create event
Add a line of code to the create event For example empz_add_touch_action(2,ZOOM); would add 2 finger zooming functionality
You can stack on as much functionality to a single object as you want, with between 1 and 4 fingers and either panning or zooming.
Extra features include:
Adding snap points to panning This allows you to swipe between windows and the it will snap to the nearest window
Fixing objects to pan with others This allows you to have an object pan & zoom along with another object as well as have its own operations
Version 1.0.1. Published May 27, 2016
Created with GameMaker: Studio v1.4.1474
You can only review assets you've bought.
lack of comments
Does not work, waiting for a refund.
Sorry for the late response. I suspect you're not calling event_inherited() in the creation event of your object
amazing and impressive
Thank You for sharing your code with the GM community. It is an example of great code, from which many coders can learn a lot. Thank you.
All the best.
This review was left for a previous version of this asset.