love2d编写的种田小游戏

Martin Felis bf4cdc5743 It compiles and exectes (but crashes on startup) 13 лет назад
.settings 73d1ceb81d initial commit 13 лет назад
assets 3614649365 actual cool scripting 13 лет назад
gen 73d1ceb81d initial commit 13 лет назад
jni bf4cdc5743 It compiles and exectes (but crashes on startup) 13 лет назад
res 73d1ceb81d initial commit 13 лет назад
src bf4cdc5743 It compiles and exectes (but crashes on startup) 13 лет назад
.classpath bf4cdc5743 It compiles and exectes (but crashes on startup) 13 лет назад
.gitignore 3614649365 actual cool scripting 13 лет назад
.project bf4cdc5743 It compiles and exectes (but crashes on startup) 13 лет назад
AndroidManifest.xml 73d1ceb81d initial commit 13 лет назад
README.md db5083d46e tweaked stuff 13 лет назад
ant.properties 73d1ceb81d initial commit 13 лет назад
build.properties 73d1ceb81d initial commit 13 лет назад
build.xml 73d1ceb81d initial commit 13 лет назад
default.properties 73d1ceb81d initial commit 13 лет назад
proguard-project.txt 73d1ceb81d initial commit 13 лет назад
project.properties 73d1ceb81d initial commit 13 лет назад

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.