Page 1 of 16

love-android: discussion

Posted: Tue Nov 01, 2011 4:46 am
by hagish
We started to port the löve api to android (2.2, opengl es 1.1).
At the moment it is just a prototype to check if it is possible and how much work it would be.
We already ported love.timer, love.keyboard, love.mouse and first parts of love.image, love.graphics, love.filesystem.
Milestone 1 playing the passing clouds demo next to löve 0.7
Milestone 1 playing the passing clouds demo next to löve 0.7
IMG_6295.JPG (144.59 KiB) Viewed 19768 times
More infos:
http://ghoulsblade.schattenkind.net/wik ... 2d-android

GitRepository:
https://github.com/hagish/love-android

Re: love-android

Posted: Tue Nov 01, 2011 5:01 am
by josefnpat
Wow, this is cool. If you have a repo of some kind, I'd love to peruse it, maybe contrib a bit :)

Re: love-android

Posted: Tue Nov 01, 2011 7:22 am
by minism
Holy crap, this is awesome. Was just daydreaming about it the other day. I'm doing quite a bit with android lately, I may be able to assist as well.

Re: love-android

Posted: Tue Nov 01, 2011 9:16 am
by kikito
Is it pure java, or do you use the native interface to bridge to the original LÖVE code in C++ ? If it's the second case, I'd be very interested.

Re: love-android

Posted: Tue Nov 01, 2011 10:10 am
by hagish
It is pure java with luaj and android. During the day we will tidy up a bit an create the repos on probably github.

Re: love-android

Posted: Tue Nov 01, 2011 12:00 pm
by hagish
First "ugly" code is online: https://github.com/hagish/love-android

Re: love-android

Posted: Tue Nov 01, 2011 12:07 pm
by SiENcE
Congrats!

Re: love-android

Posted: Tue Nov 01, 2011 2:12 pm
by T-Bone
Holy crap, awesome!! Will keep two eyes on this project. Do you have .love-files as a part of your app or is this one single LÖVE app that runs .love files from the sdcard?

Re: love-android

Posted: Tue Nov 01, 2011 2:13 pm
by hagish
Currently we load an unzipped love file from an hardcoded path on the sdcard.

Re: love-android

Posted: Tue Nov 01, 2011 2:18 pm
by T-Bone
hagish wrote:Currently we load an unzipped love file from an hardcoded path on the sdcard.
Well, if only you can choose the path yourself (one path per app), and make sure the .lua files are placed there at installation (or first run) that really works. Actually saves space kind of like app2sd. The only problem I can see is that files are going to be left behind when you uninstall the app.