I pretty good with js, it’s really hard to use C++ and i wonder what different between these two? Cocos will compile js code to the native code or wrap it to the web view?
Can i use many things like open gl es with js code?
You will see some performance differences, depending on the optimization of your code(creating many javascript objects can be very costly) since js code is executed by a virtual machine(Firefox’s SpiderMonkey VM in this case) and doesn’t get somehow compiled like the C++ code, so there will always be a runtime overhead when using a scripting interpreter.
So if i will publish via cocos creator (I am using Type Script for coding), will it publish my game as a native build & code or will it be using a webview to run inside a native adapter?