Difference between revisions of "Love2d-android"

From Ghoulwiki
Jump to: navigation, search
(download)
(download)
Line 20: Line 20:
 
== download ==  
 
== download ==  
 
   
 
   
* latest (NOT built automatically from git, so might be outdated) : [http://ghoulsblade.schattenkind.net/love-android/love-android-2011-11-12-04-09.apk love-android-2011-11-12-04-09.apk] (2011-11-12, 280k) UNTESTED, alpha-release
+
* latest (NOT built automatically from git, so might be outdated) : [http://ghoulsblade.schattenkind.net/love-android/love-android-2011-11-12-04-09.apk love-android-2011-11-12-04-09.apk] (2011-11-12, 280k) UNTESTED, alpha-release, might be incomplete ?
 +
** zip with the bin/ dir from eclipse, maybe that has what's needed, no device for testing available atm : http://ghoulsblade.schattenkind.net/love-android/love-android-2011-11-12-04-09.zip
 
* all versions : http://ghoulsblade.schattenkind.net/love-android/
 
* all versions : http://ghoulsblade.schattenkind.net/love-android/
  

Revision as of 04:01, 12 November 2011

about

We started to port the löve api to android

  • the goal is to create a launcher to run .love files from sdcard
  • and to enable building standalone love games without sdcard
  • currently it is still neccessary to unpack the contents of .love files, but we're working on a direct loader
  • to build a standalone without need to access sdcard, you might have to install android sdk (we use eclipse) and add the needed files as resources, or the .love file to be run as resource
    • unless of course someone has an idea how to append a .love file to the launcher app, like it is possible on win/linux, see help wanted section
  • currently android 2.2 since that's the device we're testing on (milestone), opengl ES 1.0 (we might upgrade to ES 1.1 to use vertex buffers for better perfomance)
  • currently it should also be possible to get it to work with android 2.1, since no specific 2.2 features are used.
  • tech : we are implementing the löve2d api in a java app made with the android sdk using luaj for lua and opengl es for rendering
  • still early work in progress, a lot of the api hasn't been ported yet, and most existing löve games won't work out of the box.

download

links

not yet working

WE NEED HELP!

  • luaj bug remove-from-table-during-iteration : http://sourceforge.net/tracker/?func=detail&aid=3430986&group_id=197627&atid=962226
    • workaround added by hagish : res/raw/pairs_hack.lua : pairs() should work, but next() might still cause problems if used directly
  • any idea for how to simplify packaging like win/linux appending a .love directly to the end of the executable to create a standalone without sd-card access ?
  • anyone with experience using that market thing up for a chat ? me(ghoul) = total smartphone noob =)

additional api

  • phone specific stuff to be exposed via love.mobile (rather than love.android, since there's a lot of overlap)
  • loading from resources embedded into the app/pack rather than from filepath on sdcard
  • multi-touch screen
  • accelerometer, gravity sensor, gps
  • maybe opening browser ?