cocos2d-iphonecocos2d-xcocos2d-androidcocos2d-jscocos2d-html5

Does Cocos2d-js use a webview?


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.


Solution

  • 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