love2d编写的种田小游戏

fysx fa181fa1b2 disabled rotation of the screen 13 lat temu
.externalToolBuilders ae4b6f4d3a building now possible from eclipse 13 lat temu
.settings 73d1ceb81d initial commit 13 lat temu
assets 3614649365 actual cool scripting 13 lat temu
gen 73d1ceb81d initial commit 13 lat temu
jni ae4b6f4d3a building now possible from eclipse 13 lat temu
res 73d1ceb81d initial commit 13 lat temu
src bf4cdc5743 It compiles and exectes (but crashes on startup) 13 lat temu
.classpath bf4cdc5743 It compiles and exectes (but crashes on startup) 13 lat temu
.gitignore ae4b6f4d3a building now possible from eclipse 13 lat temu
.project bf4cdc5743 It compiles and exectes (but crashes on startup) 13 lat temu
AndroidManifest.xml fa181fa1b2 disabled rotation of the screen 13 lat temu
README.md db5083d46e tweaked stuff 13 lat temu
ant.properties 73d1ceb81d initial commit 13 lat temu
build.properties 73d1ceb81d initial commit 13 lat temu
build.xml 73d1ceb81d initial commit 13 lat temu
default.properties 73d1ceb81d initial commit 13 lat temu
proguard-project.txt 73d1ceb81d initial commit 13 lat temu
project.properties 73d1ceb81d initial commit 13 lat temu

README.md

Android Native + SDL2 + Lua Example Copyright (c) 2013 Martin Felis martin@fysx.org

This is a simple example that integrates SDL2 and Lua in a Android App that uses the Android NDK.

Instructions:

Install the Android SDK and Android NDK and run

ndk-build

in the root folder of this project.

Features:

  • loading and running of a Lua script
  • modification of the color using Lua
  • reacting on a touch event using Lua code
  • calling a lua function on every frame that does stuff

License:

This code is public domain, so feel free to do whatever you want with it. No liability however.