Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/HaseebYousaf/Loop2d
- Owner: HaseebYousaf
- Created: 2011-10-17T16:59:23.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-12-22T04:19:48.000Z (almost 13 years ago)
- Last Synced: 2023-03-23T23:57:59.223Z (over 1 year ago)
- Language: Objective-C
- Homepage: loop2d.pentaloop.com
- Size: 5.06 MB
- Stars: 21
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- awesome - Loop2d - A simplified and easy to use LUA wrapper around cocos2d for iPhone. (etc)
- awesome - Loop2d - A simplified and easy to use LUA wrapper around cocos2d for iPhone. (etc)
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.