There were also some other questions that were confusing, if you don’t mind please help me by answering the following questions:
Are there specific swipe inputs for specific operative systems?
Is there a possible way to test if these inputs are working without needing to download the game (e.g using your mouse as a cursor)?
How do i transfer the content i have done on Unreal Engine to any phone?
Thanks in advance.
Hi Marc,
This is my experience for developing a swipe input for an android phone:
-
I would assume that the event that tracks a Touch on an touch screen like apple or an android phone is the same as shown in the screen shot.
-
I did develop the swipe logic for my Macbook Trackpad, so as to test it out, but it did not transfer very well to the phone. So I ended up developing two diff ways to track a swipe … For a trackPad, the inputs are tracked by events ‘Scroll UP’ or ‘Scroll Down’ whereas for mobile, inputs are tracked by ‘Touch’ event. In my project, I am interested in just Swipe Up and Swipe Down motions. Here is a screenshot:
- By choosing ‘Project Settings → Supported platforms’ you can have the unreal engine package your project for different platforms.
Hope this helps
I wasn’t expecting such a detailed answer thank you so much! Do you mind if i mentioned you in my Project as a source?
Hi Marc,
A source in your project ? Now you are being too generous. I was helped, the same way you are being helped.
Thanks
Also please mark this issue as resolved if your issue has been resolved.
Thanks