Hi,
For javascript binding,
we have to study how to write code that integrate C*+ with javascript.
but there’s less resource we can learn in cocos2d-x sample.
Can somebody share your experience how to learn writing C*+ call javascript or javascript call C++?
Thanks!
Thanks, Hank Liang,
I know there three articles.
But I mean where I can learn how to use js binding method?
For example
ns = JS_NewObject(cx, NULL, NULL, NULL);
When I need to use JS_NewObject?
JS_SetProperty(cx, obj, "ts",&nsval);
What is JS_SetProperty mean?
and so on…
Although we can use binding-generator to generate JS binding code,
But sometime We need to modify code for our demand,
how can I learn?