w_3-png

[Share] SpiderMonkey Cocos2dx Demo

I’ve been playing with SpiderMonkey and JSBinding recently and here is a project containing what I’ve learned:

. How to use SpiderMonkey and JSBinding to mix cocos2d-x with JS scripts
. How to call functions between c++/JS
. How to pass args / receive args
. How to use custom functions
. How to play with delegate

. And a CLILayer JS script, you can do lots of cool things with it, will introduce it later in my blog πŸ™‚

YouTube Preview Image

Download Here πŸ™‚

β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†
If you feel all the stuffs in this site helped you a lot and you can get a game I made πŸ™‚

β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†