love2d编写的种田小游戏

Martin Felis bf4cdc5743 It compiles and exectes (but crashes on startup) 13 năm trước cách đây
.settings 73d1ceb81d initial commit 13 năm trước cách đây
assets 3614649365 actual cool scripting 13 năm trước cách đây
gen 73d1ceb81d initial commit 13 năm trước cách đây
jni bf4cdc5743 It compiles and exectes (but crashes on startup) 13 năm trước cách đây
res 73d1ceb81d initial commit 13 năm trước cách đây
src bf4cdc5743 It compiles and exectes (but crashes on startup) 13 năm trước cách đây
.classpath bf4cdc5743 It compiles and exectes (but crashes on startup) 13 năm trước cách đây
.gitignore 3614649365 actual cool scripting 13 năm trước cách đây
.project bf4cdc5743 It compiles and exectes (but crashes on startup) 13 năm trước cách đây
AndroidManifest.xml 73d1ceb81d initial commit 13 năm trước cách đây
README.md db5083d46e tweaked stuff 13 năm trước cách đây
ant.properties 73d1ceb81d initial commit 13 năm trước cách đây
build.properties 73d1ceb81d initial commit 13 năm trước cách đây
build.xml 73d1ceb81d initial commit 13 năm trước cách đây
default.properties 73d1ceb81d initial commit 13 năm trước cách đây
proguard-project.txt 73d1ceb81d initial commit 13 năm trước cách đây
project.properties 73d1ceb81d initial commit 13 năm trước cách đây

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.