How do I test touches in Desktop?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
cocoa123
Prole
Posts: 1
Joined: Sun Mar 05, 2017 4:23 pm

How do I test touches in Desktop?

Post by cocoa123 »

I am currently building an android game in Love2d. The thing s that it takes a hell lot of time to make an apk using some other tools and run on android.


Is there a way to test touches on desktop?
Is there a way to debug fastly on android phone just like we do on android studio?
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: How do I test touches in Desktop?

Post by raidho36 »

Unless you have multitouch monitor - not really. You can emulate touches by calling love.touchpressed et al manually, but that of course comes as no substitute for actually desting input on a real device.

The LÖVE app can run a game from ./lovegame folder, and you can run any .love package with the app from the file browser.
Post Reply

Who is online

Users browsing this forum: No registered users and 58 guests