love-android-sdl2 (native, 0.9.2)

A project to port LÖVE to Android handhelds
Locked
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 »

I'm having some problems building my apk (for the .love) though. I followed the instructions here:
https://bitbucket.org/MartinFelis/love- ... ng_-_Linux

but it only says that I have to create a folder "assets", put my .love there and re-deploy.

I have some doubts only: The assets folder must be inside of the repository's folder? and with "re-deploy" the wiki means to do the "ant debug" again on that last folder? I did it on that way but I think I'm wrong. Anyway, many thanks for your help.
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 »

I'm having some problems building my apk (for the .love) though. I followed the instructions here:
https://bitbucket.org/MartinFelis/love- ... ng_-_Linux

but it only says that I have to create a folder "assets", put my .love there and re-deploy.
alberto_lara wrote:The assets folder must be inside of the repository's folder?
Yes, the assets folder needs to be right in the root of the repository.
alberto_lara wrote:and with "re-deploy" the wiki means to do the "ant debug" again on that last folder?
Correct. You want to run `ant debug` and you will find your APK at `~/bin/love_android_sdl2-debug.apk`

Recently one of the pages has been renamed, so there are some broken links and confusion. I will do my best to clear it up.
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
Kingdaro
Party member
Posts: 395
Joined: Sun Jul 18, 2010 3:08 am

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

Post by Kingdaro »

Using beta1, and I'm still getting the error described here: https://bitbucket.org/MartinFelis/love- ... ate-canvas

And I also tried using po2 canvases, but no cigar. Samsung Galaxy S3, Android version 4.3. Here's a .love, if it helps:
Attachments
minejumper.love
(9.98 KiB) Downloaded 176 times
User avatar
slime
Solid Snayke
Posts: 3159
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

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

Post by slime »

Yeah, as mentioned before that bug was fixed after beta 1 was released.
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 »

Correct. You want to run `ant debug` and you will find your APK at `~/bin/love_android_sdl2-debug.apk`
Will that contain my standalone game? That's what I'm asking for :)


EDIT: I get it now, the game inside must has the name "game.love" I had something like "fat_bird.love" many thanks :)
User avatar
Kingdaro
Party member
Posts: 395
Joined: Sun Jul 18, 2010 3:08 am

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

Post by Kingdaro »

slime wrote:Yeah, as mentioned before that bug was fixed after beta 1 was released.
Yes, but my issue is that I'm getting the bug with beta 1.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

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

Post by Nixola »

Kingdaro wrote:
slime wrote:Yeah, as mentioned before that bug was fixed after beta 1 was released.
Yes, but my issue is that I'm getting the bug with beta 1.
Kingdaro: That is because it has been fixed after, not before
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Kingdaro
Party member
Posts: 395
Joined: Sun Jul 18, 2010 3:08 am

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

Post by Kingdaro »

Nixola wrote:
Kingdaro wrote:
slime wrote:Yeah, as mentioned before that bug was fixed after beta 1 was released.
Yes, but my issue is that I'm getting the bug with beta 1.
Kingdaro: That is because it has been fixed after, not before
Oh, I see, I misunderstood.
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 »

Just released beta2. Here are the changes:

- fixed bug with canvases
- fixed writing of files when no identity in conf.lua was set
- added file association (somewhat experimental)

Concerning the file association: in principle you should be able to open .love files that were attached to emails. Also when opening links in Chrome that point to .love files should give you the option to open the game with LÖVE. This will then download the game but not automatically start it. Instead you have to open the game from your "Downloads" app which will then run the game.
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 »

Hell yeah :D
Locked

Who is online

Users browsing this forum: No registered users and 0 guests