How to test android on MS Windows box?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

How to test android on MS Windows box?

Post by togFox »

I've had a request to port Mars Lander to Android. Given the game has just three buttons I think it's entirely possible and a touch-screen interface has been suggested to me. That's not the question.

The question is: how do I set up a testing environment for Android on a MS Windows computer?

My next question is: how to I bundle/package for this Android environment? I believe the answer to that is on the LOVE wiki (I remember seeing it but never read it).

And then the question becomes: how do I test a touch-screen when I don't have a touch-screen (I'm on MS Windows)??!?!
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
User avatar
GVovkiv
Party member
Posts: 686
Joined: Fri Jan 15, 2021 7:29 am

Re: How to test android on MS Windows box?

Post by GVovkiv »

The question is: how do I set up a testing environment for Android on a MS Windows computer?

BlueStacks
Nox

My next question is: how to I bundle/package for this Android environment? I believe the answer to that is on the LOVE wiki (I remember seeing it but never read it).
https://www.love2d.org/wiki/Game_Distribution

And then the question becomes: how do I test a touch-screen when I don't have a touch-screen (I'm on MS Windows)??!?!
Just with regular mouse?
If you need just to make sure, if touch screen functions works, then, probably, mouse and cursor is enough
If you need to test how controls with touch screen feels on real touch screen... then you should get somewhere device with touch screen? duh
For example, nox can emulate some touch screen features such as 2 fingers input and so on(and, i believe, bluestacks also capable of this)
So you can try there
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: How to test android on MS Windows box?

Post by togFox »

That is enough to get me started. Thanks!
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
User avatar
darkfrei
Party member
Posts: 1204
Joined: Sat Feb 08, 2020 11:09 pm

Re: How to test android on MS Windows box?

Post by darkfrei »

togFox wrote: Tue Nov 02, 2021 1:28 pm And then the question becomes: how do I test a touch-screen when I don't have a touch-screen (I'm on MS Windows)??!?!
Left mouse button works almost as the one touch.

You can start any .love file on Android, without compilation or packing. Actually .love is just a renamed .zip
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
mxmlnbndsmnn
Prole
Posts: 37
Joined: Mon Feb 11, 2019 4:17 pm

Re: How to test android on MS Windows box?

Post by mxmlnbndsmnn »

GVovkiv wrote: Tue Nov 02, 2021 7:02 pm The question is: how do I set up a testing environment for Android on a MS Windows computer?

BlueStacks
Nox
Always had some struggle with those. Switched to MEmu. Might give it a shoot if it is more to your liking.
User avatar
AuahDark
Party member
Posts: 107
Joined: Mon Oct 23, 2017 2:34 pm
Location: Indonesia
Contact:

Re: How to test android on MS Windows box?

Post by AuahDark »

If you don't have touchscreen PC, the best way to add touch input support to your game is to test it in real device.
Profile. Do you encounter crashes in LÖVE Android and wanna send me logcats? Please hit me up in LÖVE Discord and send the full logcat file!
User avatar
GVovkiv
Party member
Posts: 686
Joined: Fri Jan 15, 2021 7:29 am

Re: How to test android on MS Windows box?

Post by GVovkiv »

AuahDark wrote: Wed Nov 03, 2021 12:56 pm If you don't have touchscreen PC, the best way to add touch input support to your game is to test it in real device.
Facts
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: How to test android on MS Windows box?

Post by togFox »

I know this is not a memu support forum but I have installed it and launched it and I get just a black screen. There is no 'android' environment. No desktop. No settings icon. No wallpaper.

I'd like to test my game on an emulator but there seems to be an assumed level of knowledge above my own.

Edit: Bluestacks seems to be working.
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
Post Reply

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], Google [Bot], Semrush [Bot] and 8 guests