Developing for Android (LOVE 11.0)
Posted: Sat Jun 02, 2018 6:18 pm
I apologize if this is a noob question, but I was wondering, how are people developing for Android using LOVE 11.0?
Are people just using the MartinFelis repo to package APKs, and then the LOVE for Android app to test their .love files? Or is there a more official way of doing it?
For me, using the MartinFelis repo has been... difficult, to say the least, as some of the instructions and Android tools are outdated (I managed to make it work on my old laptop, but replicating the success on a new laptop has been hard.) Perhaps I've been following the instructions wrong (I might give it another go.)
On the same note, this also just popped up: https://github.com/RamiLego4Game/LIKO-12-Android
Has anyone found any differences between using the MartinFelis repo and this one?
EDIT: I got the MartinFelis repo to work. It turns out just following the instructions on the Love2D wiki is enough, and I didn't realize that he also updated it to work with 11.0. (you have to switch to the branch 0.11.x. I also used ndk r17 and chmod +x gradlew as i'm on linux).
However I am having some issues with scaling. It seems like opening a LOVE game file on Android automatically scales my game. Not really sure how its scaling it since I've changed the conf.lua to different widths and heights and it seems like it's always just stretching it by some constant factor to fill the screen. Some other weird janky problems have also occurred and I'm not sure what's happening so I guess I'll stick to 0.10.2 for now.
Are people just using the MartinFelis repo to package APKs, and then the LOVE for Android app to test their .love files? Or is there a more official way of doing it?
For me, using the MartinFelis repo has been... difficult, to say the least, as some of the instructions and Android tools are outdated (I managed to make it work on my old laptop, but replicating the success on a new laptop has been hard.) Perhaps I've been following the instructions wrong (I might give it another go.)
On the same note, this also just popped up: https://github.com/RamiLego4Game/LIKO-12-Android
Has anyone found any differences between using the MartinFelis repo and this one?
EDIT: I got the MartinFelis repo to work. It turns out just following the instructions on the Love2D wiki is enough, and I didn't realize that he also updated it to work with 11.0. (you have to switch to the branch 0.11.x. I also used ndk r17 and chmod +x gradlew as i'm on linux).
However I am having some issues with scaling. It seems like opening a LOVE game file on Android automatically scales my game. Not really sure how its scaling it since I've changed the conf.lua to different widths and heights and it seems like it's always just stretching it by some constant factor to fill the screen. Some other weird janky problems have also occurred and I'm not sure what's happening so I guess I'll stick to 0.10.2 for now.