love-android-sdl2 (native, 0.9.2)

A project to port LÖVE to Android handhelds
Locked
User avatar
Davidobot
Party member
Posts: 1226
Joined: Sat Mar 31, 2012 5:18 am
Location: Oxford, UK
Contact:

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

Post by Davidobot »

miko wrote:
Davidobot wrote:Will lua-socket work on android?
Yes. Just look one page back in this thread.
My apologies, I didn't see that.
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
User avatar
undef
Party member
Posts: 438
Joined: Mon Jun 10, 2013 3:09 pm
Location: Berlin
Contact:

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

Post by undef »

First of all, great work!
This works almost perfectly without a lot of extra adaptions, thanks a bunch!
twitter | steam | indieDB

Check out quadrant on Steam!
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 »

Hey guys!

Do you know if there's a way to call a function or if some event it's triggered when I turn my phone off? (you know, just put it on "stand-by" with the screen and other processes turned off) it would be nice if I configure my game to be on pause when the phone chance to this state or when I minimize all the apps with the Home button.

Thanks!
User avatar
slime
Solid Snayke
Posts: 3131
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

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

Post by slime »

You can probably use the [wiki]love.focus[/wiki] or [wiki]love.visible[/wiki] event callback functions.
zzz654321
Prole
Posts: 4
Joined: Thu Jul 31, 2014 9:28 am

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

Post by zzz654321 »

change liblove.so compile
改变 liblove.so 的编译方式



the liblove.so in apk,
I need this decompose to libSDL2.so libluajit-5.1.so.2 liblove.so,
thanks very match!

这个 liblove.so 在 apk 中, 但是是和其它库整合在一起的,
希望可以分解为 libSDL2.so libluajit-5.1.so.2 liblove.so, 不知道可以不?
谢谢了
User avatar
Mermersk
Party member
Posts: 108
Joined: Tue Dec 20, 2011 3:27 am

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

Post by Mermersk »

Hey all, having a little problem with "ant debug"

I've done everything here: https://bitbucket.org/MartinFelis/love- ... _-_Windows

an doing this now: https://bitbucket.org/MartinFelis/love- ... _Packaging

But I never get "ant debug command to work.

I do find the build.xml file, and I have created a folder called "assets" and in that folder is my love file, named "game.love".

This is the error: https://love2d.org/imgmirrur/xuvkm9R.png

Whats wrong?
User avatar
Mermersk
Party member
Posts: 108
Joined: Tue Dec 20, 2011 3:27 am

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

Post by Mermersk »

Nevermind, I fixed it. Forgot to install Google APIs ARM System Image.
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 »

Maybe I'm asking too much, but do you know if there's a way to take a picture of the game screen via Löve/Android and post it on FB?
User avatar
slime
Solid Snayke
Posts: 3131
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

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

Post by slime »

You can use love.graphics.newScreenshot (and maybe ImageData:encode) plus luasocket.
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 »

The worst part is the luasocket - Facebook interaction. It may not be possible at all.

Most Facebook apps use OpenAuth (OATH) that is a security protocol with keys, and this is used through https (SSL protected connection) and that is where the problem lies, SSL is a really difficult protocol (and code-heavy) that is not supported by luasocket.

If there is an alternative to this I would be interested to know
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Locked

Who is online

Users browsing this forum: No registered users and 14 guests