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