MyAppTheme Logo2

Cocos2D

Lightweight integration of Lua in Objective-C

Lightweight integration of Lua in Objective-C

Based on the great article about integrating Lua in your own iApp written by Robert Grzesek, I’ve written a lightweight wrapper in Objectice-C and will explain how it can be used to scripting games written with Cocos2D and LevelSVG. The attached example project itself contains none of those library for copyright reason’s, so uses UIView only to show the approach. But anybody should be easy possible to extend it for his own game. My personal version of RBLuaInterpreter class is supporting all node’s of LevelSVG...

Posted by admin on Nov 22, 2010

0 comments

Blog

Read More