Does Cocos2d-js use a webview?

1.3k views Asked by At

I need to know if the cocos2d-js (cocos2d javascript) could build a real native application and not just use a webview to display the content.

what i exactly need to know, if the animations and all parts of the game logic will be transformed to some native code using JSB.

i searched online, and wasn't able to find any clear answer, and the official cocos2D-js documentation is really poor and don't give much details.

Sorry, it is my first question here, hope that i followed the rules, and sorry for my English.

1

There are 1 answers

0
Michael On BEST ANSWER

As the comments already suggest, it's not using a webview, it's native. These two charts from cocos2d-x.org show it: SpiderMonkey goes directly to the NDK (C++ code). enter image description here enter image description here