love2d编写的种田小游戏

Martin Felis 5acf6d6d86 physfs: deleted generated binaries 13 лет назад
.externalToolBuilders ae4b6f4d3a building now possible from eclipse 13 лет назад
.settings 73d1ceb81d initial commit 13 лет назад
assets 3614649365 actual cool scripting 13 лет назад
gen 73d1ceb81d initial commit 13 лет назад
jni 5acf6d6d86 physfs: deleted generated binaries 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 ae4b6f4d3a building now possible from eclipse 13 лет назад
.project ec2bf449e9 eclipse: added builders 13 лет назад
AndroidManifest.xml fa181fa1b2 disabled rotation of the screen 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.