love2d编写的种田小游戏

fysx 45b1fc2509 fixed compilation and removed some unneeded files 12 lat temu
.externalToolBuilders 2e6560d917 build settings: using project locations instead of workspace relative paths 13 lat temu
.settings 73d1ceb81d initial commit 13 lat temu
jni 45b1fc2509 fixed compilation and removed some unneeded files 12 lat temu
res c3a21270ab Updating `res/drawable-*/ic_launcher.png` to proposed icon (icon2) 12 lat temu
src 45b1fc2509 fixed compilation and removed some unneeded files 12 lat temu
.classpath bf4cdc5743 It compiles and exectes (but crashes on startup) 13 lat temu
.gitignore 35f95a0c58 new build script for LuaJIT, adapted from moai-dev (thanks to Jairo Luiz) 12 lat temu
.project ec2bf449e9 eclipse: added builders 13 lat temu
AndroidManifest.xml 6110de0fa8 implemented love.system.vibrate(seconds) 12 lat temu
README.md d1ad6cc5a3 fixed README markdown syntax 12 lat temu
ant.properties 73d1ceb81d initial commit 13 lat temu
build.properties 73d1ceb81d initial commit 13 lat temu
build.xml 3134dc65b9 added better build instructions and set proper project name 13 lat temu
default.properties 69b200b144 Updated to love-android changeset 3b5e5e182a00 13 lat temu
proguard-project.txt 73d1ceb81d initial commit 13 lat temu
project.properties 69b200b144 Updated to love-android changeset 3b5e5e182a00 13 lat temu

README.md

Android Port of LÖVE, the awesome 2D game engine LÖVE (http://love2d.org) Copyright (c) 2013-2014 Martin Felis martin@fysx.org

Instructions:

For detailed instructions please refer to the wiki at https://bitbucket.org/MartinFelis/love-android-sdl2/wiki/Home.

Quick Start:

Install the Android NDK and the Android SDK with SDK API 12 and run

ndk-build

and after that

ant debug

in the root folder of this project or load the project using Eclipse and compile/run it using Eclipse.

This should give you a .apk file in the bin/ subdirectory that you can then install on your phone.

Bugs:

Bugs and feature requests should be reported to the issue tracker at https://bitbucket.org/MartinFelis/love-android-sdl2/issues?status=new&status=open.

Changelog:

0.9.1a:

  • using latest SDL_androidgl.c (fixes some random performance issues)
  • using latest love-android @ changeset 8659be0e75 (adds support for compressed textures)

0.9.1:

  • 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!

beta2:

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

beta1:

  • fixed nasty crash on startup bug
  • fixed love.filesystem.getDirectoryItems()

alpha9:

  • Packaged games do not get duplicated for loading, instead are loaded from memory (!!!)
  • Using inofficial physfs 2.1
  • Removed love.android.getDisplayMetrics(), instead use love.window.getPixelScale()
  • Properly link LGPL libraries dynamically. Everything else is linked statically
  • Added an icon (design by @josefnpat)
  • Fixed crash on startup on OUYA (and possibly other devices)

alpha8:

  • Exposing DisplayMetrics in love.android.getDisplayMetrics())
  • Accelerometer is now available as a joystick
  • enabled armv6 compilation (larger files, better compatibility with Tegra2 devices)
  • updated to latest mobile-common branch (including (very) basic multi-touch gesture tracking)
  • updated OpenAL from 1.13 to 1.15.1
  • updated jpeg library from 8c to 9a
  • updated lcms from 2.2 to 2.5
  • updated libogg from 1.3.0 to 1.3.1
  • updated libvorbis from 1.3.2 to 1.3.4
  • updated mpg123 from 1.13.4 to 1.17.0

alpha7:

  • love.system.getOS() now returns "Android"
  • hardware search key is reported as "search"
  • switched to mobile-common branch
  • using new love.touch module (love.touchpressed(id,x,y,p), love.touchmoved(id,x,y,p), love.touchmoved(id,x,y,p))
  • added LOVE_ANDROID define

License:

This project contains code from multiple projects using various licenses. Please look into the folders of jni// for the respective licenses.

As for the other code and build system files, these are published under the zlib license (same as LÖVE).