How to develop for android?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 18
- Joined: Mon Jan 04, 2016 10:36 am
How to develop for android?
I'd like to make a small game on android. I wonder must I code on pc and then pack a love apk and install this package on android everytime I want to test my game? Is there anything I can do to simplify this process(it is just a little bit irksome..)
Re: How to develop for android?
You can download the Love launcher for Android from Google Play, and with it you can run .love packages (without needing to create an .apk)
https://play.google.com/store/apps/deta ... 2d.android
Hope it helps!
https://play.google.com/store/apps/deta ... 2d.android
Hope it helps!
-
- Prole
- Posts: 18
- Joined: Mon Jan 04, 2016 10:36 am
Re: How to develop for android?
er...how exactly can I run this .love package? using a terminal simulator perhaps?
Re: How to develop for android?
The way I do it is by copying the apk to my mobile then using a file manager I open the .love file using the love2d app.
Re: How to develop for android?
Just so you know, some file managers can't open .love files in LÖVE for Android. If that's the case, install another file manager.
And you can totally develop your love file on Anroid using some terminal emulator like termux. I develop, zip, rename and test my game on Android. When I think I'm done, I make the apk on PC.
And you can totally develop your love file on Anroid using some terminal emulator like termux. I develop, zip, rename and test my game on Android. When I think I'm done, I make the apk on PC.
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: How to develop for android?
I use Dropbox, it let's me send the file from my computer to the phone and then in the phone I can lunch the .love file from there and it lets me use LÖVE
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
-
- Prole
- Posts: 18
- Joined: Mon Jan 04, 2016 10:36 am
Re: How to develop for android?
oh thanks for sharing! I root an old phone and use termux. It is a lot more easier now
Re: How to develop for android?
Yeah, termux is great! And it helps if you have an external keyboard, but you can use the Hacker's Keyboard also.
Re: How to develop for android?
And you don't need to root your phone to use termux. Other people might look here too, so I wrote this as a record.sunsflower wrote:oh thanks for sharing! I root an old phone and use termux. It is a lot more easier now
Re: How to develop for android?
By the way, you don't have to zip your game in order to test it on Android. Put your files in /sdcard/lovegame directory (you need to create it), and when you run LÖVE, it will run your game. It's the default directory LÖVE for Android looks.
Who is online
Users browsing this forum: Ahrefs [Bot], arikel2, Bing [Bot] and 2 guests