Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/HaseebYousaf/Loop2d

A simplified and easy to use LUA wrapper around cocos2d for iPhone.
https://github.com/HaseebYousaf/Loop2d

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

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.