Im aiming to use pinch user input on touchscreen to change to the previous scene.
I cannot figure out how to accomplish this. Searches for this info just turn up several years old discussions indicating it wasn't a capability of AC at that time. Is this still the case?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Welcome to the community, @JSmith.
A general-purpose pinch input detection script can be found on the AC wiki here:
https://adventure-creator.fandom.com/wiki/Pinch_input_events
This can be used to fire off an event when the user either pinches or spreads. If you have an ActionList that contains a Scene: Switch Action, you can have it run by setting such an event to run the ActionList's "Interact" function.
Many thanks Chris, this was very helpful and I implemented that script in the wiki with no issue.
Apologies if this is a basic question, I've not been able to answer this on my own research. The pinch action, if done over a hotspot, triggers the hotspot. Is there a way for hotspots to recognise tap vs pinch?
Hi ethancargio, there is a pinch gesture script on the wiki that is easy to implement.
Only issue is, if one does the pinch action over a hotspot the program recognises that as a trigger to initiate that hotspot interaction. I'm wondering how to make it so that pinch/multi touches dont set off the hotspots?
Through script, you can check if a Hotspot is currently selected with:
It may be a case of adjusting the wiki script to suit your needs. Try replacing:
with: