Reputation: 4721
I noticed that COCOs2d javascript hasn't some native functions needed for my game. It's possible to create a new native function and to invoke it from javascript ?
How can I achieve this.
Upvotes: 0
Views: 134
Reputation: 5303
You can extend the bindings:
www.cocos2d-x.org/wiki/How_to_bind_C++_to_Javascript
Upvotes: 1