love-android-sdl2 (native, 0.9.2)

A project to port LÖVE to Android handhelds
Locked
User avatar
fysx
Citizen
Posts: 97
Joined: Mon Jan 30, 2012 8:36 pm
Contact:

Re: love-android-sdl2 (native, 0.9.0)

Post by fysx »

I have just released a new version: 0.9.1. Major changes:

* uses 0.9.1 API
* fixed crash on Moto G (and possibly other devices). This was a nasty bug that would just show a blue screen without an error message. The bug was resolved using the help of headchant
* fixed loading of jpegs (it probably hasn't worked up to now)
* fixed issues with looping over active touches. This fix was sponsored by slime!
Bird thing: @fysxdotorg Blog thing: fysx.org
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: love-android-sdl2 (native, 0.9.0)

Post by Positive07 »

Awesome bug fixing!! Is OpenURL implemented in this version?
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
User avatar
SiENcE
Party member
Posts: 804
Joined: Thu Jul 24, 2008 2:25 pm
Location: Berlin/Germany
Contact:

Re: love-android-sdl2 (native, 0.9.0)

Post by SiENcE »

@fysx : Thanks a lot!

Since last update I get (HEAD).

Code: Select all

Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersi
on 10 in ./AndroidManifest.xml
make.exe: *** No rule to make target `jni/jpeg-9a/jcapimin.c', needed by `obj/lo
cal/armeabi/objs/jpeg/jcapimin.o'.  Stop.
User avatar
fysx
Citizen
Posts: 97
Joined: Mon Jan 30, 2012 8:36 pm
Contact:

Re: love-android-sdl2 (native, 0.9.0)

Post by fysx »

Positive07 wrote:Awesome bug fixing!! Is OpenURL implemented in this version?
Yes!
SiENcE wrote: Since last update I get (HEAD).

Code: Select all

Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersi
on 10 in ./AndroidManifest.xml
make.exe: *** No rule to make target `jni/jpeg-9a/jcapimin.c', needed by `obj/lo
cal/armeabi/objs/jpeg/jcapimin.o'.  Stop.
There are some stray object files still around. Delete the folder obj/ and rebuild.
Bird thing: @fysxdotorg Blog thing: fysx.org
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: love-android-sdl2 (native, 0.9.0)

Post by alberto_lara »

Not sure if I should notify this but on AndroidManifest.xml this line isn't updated yet:
android:versionName="0.9.0-beta1"
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: love-android-sdl2 (native, 0.9.0)

Post by josefnpat »

alberto_lara wrote:Not sure if I should notify this but on AndroidManifest.xml this line isn't updated yet:
android:versionName="0.9.0-beta1"
Repo says otherwise:

https://bitbucket.org/MartinFelis/love- ... aster#cl-4

Where do you see this?
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: love-android-sdl2 (native, 0.9.0)

Post by alberto_lara »

hmm, looks like someone just changed it (I swear I downloaded beta 2 and it said "beta1" there) anyway, cool it's there now!
ktaragorn
Prole
Posts: 2
Joined: Thu Jun 19, 2014 3:55 am

Re: love-android-sdl2 (native, 0.9.0)

Post by ktaragorn »

Hey, Thanks for this port, It introduced me to LÖVE2D, and im loving it :P

I do have one query though. We are actually considering embedding this inside a larger android app, and as such might need communication from Android -> Lua, and perhaps Lua -> Android. Is there a way to do this already? Or, if not, is it feasible to build this, perhaps I can extract and contribute back later.
McDunkinY
Prole
Posts: 3
Joined: Thu Jun 19, 2014 4:34 am

Re: love-android-sdl2 (native, 0.9.0)

Post by McDunkinY »

Hello, first of all, awesome port.

Well, I tried an apk I found on my Android and it worked ( Sienna if I remember correctly )

For some reason I cannot get past the ndk-build part, it keeps on saying that the path cannot contain spaces, I've already tried everything, placed it on desktop, make sure it had no spaces, even tried executing the command from the folder itself.

Have I done something wrong?
User avatar
fysx
Citizen
Posts: 97
Joined: Mon Jan 30, 2012 8:36 pm
Contact:

Re: love-android-sdl2 (native, 0.9.0)

Post by fysx »

Very likely that the Desktop path contains spaces. Try putting everything in a folder directly on a hard drive, e.g. C:\\ndk etc.
Bird thing: @fysxdotorg Blog thing: fysx.org
Locked

Who is online

Users browsing this forum: No registered users and 0 guests