love-android: discussion

A project to port LÖVE to Android handhelds
Locked
User avatar
hagish
Citizen
Posts: 85
Joined: Thu May 01, 2008 12:51 pm
Contact:

love-android: discussion

Post by hagish » Tue Nov 01, 2011 4:46 am

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.
IMG_6295.JPG
Milestone 1 playing the passing clouds demo next to löve 0.7
IMG_6295.JPG (144.59 KiB) Viewed 10375 times
More infos:
http://ghoulsblade.schattenkind.net/wik ... 2d-android

GitRepository:
https://github.com/hagish/love-android
Last edited by hagish on Thu Nov 17, 2011 9:58 pm, edited 2 times in total.

User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: love-android

Post by josefnpat » Tue Nov 01, 2011 5:01 am

Wow, this is cool. If you have a repo of some kind, I'd love to peruse it, maybe contrib a bit :)
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

minism
Prole
Posts: 20
Joined: Tue Nov 01, 2011 5:32 am

Re: love-android

Post by minism » Tue Nov 01, 2011 7:22 am

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.

User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: love-android

Post by kikito » Tue Nov 01, 2011 9:16 am

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.
When I write def I mean function.

User avatar
hagish
Citizen
Posts: 85
Joined: Thu May 01, 2008 12:51 pm
Contact:

Re: love-android

Post by hagish » Tue Nov 01, 2011 10:10 am

It is pure java with luaj and android. During the day we will tidy up a bit an create the repos on probably github.

User avatar
hagish
Citizen
Posts: 85
Joined: Thu May 01, 2008 12:51 pm
Contact:

Re: love-android

Post by hagish » Tue Nov 01, 2011 12:00 pm

First "ugly" code is online: https://github.com/hagish/love-android

User avatar
SiENcE
Party member
Posts: 783
Joined: Thu Jul 24, 2008 2:25 pm
Location: Berlin/Germany
Contact:

Re: love-android

Post by SiENcE » Tue Nov 01, 2011 12:07 pm

Congrats!

User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: love-android

Post by T-Bone » Tue Nov 01, 2011 2:12 pm

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?

User avatar
hagish
Citizen
Posts: 85
Joined: Thu May 01, 2008 12:51 pm
Contact:

Re: love-android

Post by hagish » Tue Nov 01, 2011 2:13 pm

Currently we load an unzipped love file from an hardcoded path on the sdcard.

User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: love-android

Post by T-Bone » Tue Nov 01, 2011 2:18 pm

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.

Locked

Who is online

Users browsing this forum: No registered users and 145 guests