Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bhou/bo-luawaxprojecttemplate
Bo-LuaWaxProjectTemplate is a xcode project template and tools for iOS development with Lua Wax
https://github.com/bhou/bo-luawaxprojecttemplate
Last synced: about 2 months ago
JSON representation
Bo-LuaWaxProjectTemplate is a xcode project template and tools for iOS development with Lua Wax
- Host: GitHub
- URL: https://github.com/bhou/bo-luawaxprojecttemplate
- Owner: bhou
- Created: 2013-02-12T12:59:41.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-15T20:52:32.000Z (over 11 years ago)
- Last Synced: 2024-04-15T00:16:51.075Z (9 months ago)
- Language: C
- Size: 1.27 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Introduciton
------------------------Bo-LuaWaxProjectTemplate is a xcode project template and tools for iOS development with Lua Wax
Installation
------------------------
You need to have [**waxsim**](https://github.com/square/waxsim) and [**Lua**](http://lua.org) installed before using this templateunzip the downloaded zip file to any where you like
Usage
------------------------
First you need to compile two version of **Lua**: one for the usage in mac os x, another one for working on iphone
`````sh
cd
./buildlua.sh
`````### Create a project
In terminal, change your directory to this project root
`````sh
cd
./createprj.sh
`````### Run the newly created project
- you can open the project in xcode to build and run it as a normal xcode iOS app projector
- you can change your directory to the newly create project, and run **./build.sh**
`````sh
cd
./build.sh
`````the iOS simulator will automatically started
### where to put your lua code
you need to put your lua code under the *scripts* directory### how to compile lua code to byte code during the build
by default, wax will copy all your lua source code to the application. To use the byte code in the application,
you need to open the project in xcode and modify the user setting WAX_COMPILE_SCRIPTS from **false** to **true**### TODO
- LuaJIT support