love2d编写的种田小游戏

fysx f95fbc8a70 forcing exit of the app when quitting Löve 13 سال پیش
.externalToolBuilders ae4b6f4d3a building now possible from eclipse 13 سال پیش
.settings 73d1ceb81d initial commit 13 سال پیش
assets 3614649365 actual cool scripting 13 سال پیش
jni f95fbc8a70 forcing exit of the app when quitting Löve 13 سال پیش
res 0244b40500 Renamed app, added icons 13 سال پیش
src f4573e6ca9 preloading gnustl_shared 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 ded6e9ad9d Using Landscape Mode 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.