Claudio Ferraro
Claudio Ferraro

Reputation: 4721

It's possible to invoke a new native function with COCOS2D javascript bindings

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

Answers (1)

j03m
j03m

Reputation: 5303

You can extend the bindings:

www.cocos2d-x.org/wiki/How_to_bind_C++_to_Javascript

Upvotes: 1

Related Questions