Page 1 of 14

State of the attempt to natively port love to android

Posted: Fri Dec 16, 2011 11:23 am
by hagish
We ported nearly the complete löve 0.7 code + most of the necessary libraries to native android.
Starting love-native-android just crashes with an ugly just-tell-nothing stacktrace. I'm working on this.

We will release the code but at the moment it is a license catastrophe because we just put together all code. So there is also some LGPL code from a library that is not separated in an extra linked .so.

So stay tuned ;)

Re: State of the attempt to natively port love to android

Posted: Fri Dec 16, 2011 3:48 pm
by T-Bone
I was wondering what you guys have been up to lately. I have to say this by far exceeds my expectations!

Keep up the lovely work! :neko:

Re: State of the attempt to natively port love to android

Posted: Sat Dec 17, 2011 5:21 pm
by kalle2990
So LOVEly to see progress on the nLove port for Android when I get back from a long period of inactiveness.. ^^

I assume that these stacklogs are the native errors telling nearly nothing about the problem, but which library it comes from(?) I got some of those back in the days I was getting nLove to run on Android (it was laggy on my HTC Hero at the time tho, so the project was discontinued), and most of them came from things that were compiled incorrectly (worked after a clean and rebuild) and some I can't really remember. I do however remember having some trouble with the resolutions not working but that could've been lua errors that were fixed when re-compiling the luac files.
Speaking of erros, are you redirecting the lua errors to the Android Logcat? It's a whole lot easier developing with that running, being an Android developer myself. :3

The current release works great on the Galaxy Nexus anyway, very nice performance and I just stubbled upon one crash while playing the frog found game in this thread ;)

Re: State of the attempt to natively port love to android

Posted: Sun Dec 18, 2011 9:38 pm
by hagish
I managed to successfully start native love on android :). The no game screen works and looks good.
Next thing is trying to start a game.

Re: State of the attempt to natively port love to android

Posted: Sun Dec 18, 2011 11:20 pm
by kalle2990
hagish wrote:I managed to successfully start native love on android :). The no game screen works and looks good.
Next thing is trying to start a game.
Awesome news! :D How's performance vs the Java LÖVE?

Re: State of the attempt to natively port love to android

Posted: Mon Dec 19, 2011 7:39 am
by hagish
I think better but that is just a feeling because I do not have any measurements yet.

Re: State of the attempt to natively port love to android

Posted: Mon Dec 19, 2011 12:12 pm
by T-Bone
Awesome, keep up the good work!

And tell us when you remove the ugly "LoveAndroid" bar on top of every game :neko:

Re: State of the attempt to natively port love to android

Posted: Mon Dec 19, 2011 12:33 pm
by hagish
The bar ist great ;) you should öbey the bar

Re: State of the attempt to natively port love to android

Posted: Mon Dec 19, 2011 4:58 pm
by T-Bone
hagish wrote:The bar ist great ;) you should öbey the bar
This is a good bar:
Image

This is a bad bar:
Image

Re: State of the attempt to natively port love to android

Posted: Mon Dec 19, 2011 5:11 pm
by Jasoco
Agreed. That bar is horrible and needs to be removed. This is a game engine, we should be using the entire screen.