Hey everybody! Thanks to this community, I've found posts that taught me how zoom via Touch/Pinch, however I'm having some trouble limiting how far out my pinch zoom goes.
As you see in the photos. My game is a series of stationary layouts with an image on top. I added a zoom function in case the player needs to examine any details on the image.
Here's a screenshot of my touch zoom event sheet. You'll see a "Scroll to (430, 158)" Action and that's there just to keep the "zoom" centered on the image.
Here's what my default layout size/scale/zoom is when each layout loads.
As I mentioned, when I Zoom in, it also scrolls to the center of the image and that part works perfectly. However, when I Zoom Out, the zooming out goes too far.
I want to set the Zoom Out to stop at the default settings AND stay centered or at least somehow reset it. I feel like I'm close, but have been working on it for a few hours LOL I can't figure it out.
Thanks so much for your help!