Skip to content
This repository

A simplified and easy to use LUA wrapper around cocos2d for iPhone.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Loop2d.xcodeproj
Octocat-spinner-32 classes
Octocat-spinner-32 libraries
Octocat-spinner-32 resources
Octocat-spinner-32 scripts
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Loop2d_Prefix.pch
Octocat-spinner-32 README
Octocat-spinner-32 main.m
README
### Introduction
Loop2d is an open source framework for iOS game development. It is essentially a wrapper around Cocos2d. Loop2d is intended to make life easy for game developers. Loop2d is easy to use even for beginners.


### Powerful
Loop2d gives developers easy to use scripting environment, but does not restrict from adding new components. If there is something not present in the existing library, then you can make your own in three different ways
- Create extension in lua using existing component
- Create extension in lua using wax classes
- Create extension ObjC and then creat wax wrapper


### Performance
Loop2d uses the LuaJIT engine to run lua scripts. The performance of LuaJIT can be seen here : http://luajit.org/performance_arm.html
In short we get almost native code performance.



### Architecture
Lua uses wax lua engine to access Cocos2d interfaces in lua. Some wrapper classes have been created to assest this process both in lua and in ObjC. After that a library has been created on top of the raw Cocos2d interfaces to exploit the full potential of lua scripting language.



### Enhancements
Some future enhancements that will come along are
- Compiling lua to byte code in release builds



### Note: Loop2d is under active development. If you feel like you can help in any form then do drop me a message.
Something went wrong with that request. Please try again.