Hello! Since I make apps for mobile, the touch screen testing is an essential part of the development process. It's a tedious progress to always test every change on my phone, and I'd like to do everything on my PC. So, I thought of buying an external touch screen monitor. A virtual solution wouldn't be enough, since I have to test things like multitouch, and I'd anyways like to have an external monitor for maximum convinience. But the question is, can LÖVE support touch actions if they're made via a touch screen on PC, so that they wouldn't be registered as mouse presses. It would kinda suck to have bought a completetly new monitor just to have it not serve any actual purpose.
Thank you!
LÖVE touch on PC
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- NotARaptor
- Citizen
- Posts: 59
- Joined: Thu Feb 22, 2018 3:15 pm
Re: LÖVE touch on PC
I've never tried it, but it should be easy enough to do.
All of the mouse events have an "istouch" parameter. If that's true then you can ignore it, in your case, and use the touch events instead.
All of the mouse events have an "istouch" parameter. If that's true then you can ignore it, in your case, and use the touch events instead.
Re: LÖVE touch on PC
What Sanyeri is asking is whether desktop touch monitors generate touch events in LÖVE. I'm interested in the answer too.
Re: LÖVE touch on PC
I have a laptop that has a touchscreen, love works wonderfully with that, developing for multitouch on that is much nicer than having to use an external iPad. I am not familiar with external monitors at all, but as long as it supports multitouch I'd say you are fine.
Re: LÖVE touch on PC
Thanks, I'll give an external touchscreen monitor a shot, and if I'll remember, I'll be sure to post the results as a reply on this post.Nikki wrote: ↑Tue Sep 04, 2018 8:21 am I have a laptop that has a touchscreen, love works wonderfully with that, developing for multitouch on that is much nicer than having to use an external iPad. I am not familiar with external monitors at all, but as long as it supports multitouch I'd say you are fine.
-Sanyeri
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 4 guests