Thursday, July 7, 2022
HomeGame DevelopmentCocos Creator Native Compile? - Cocos Creator

Cocos Creator Native Compile? – Cocos Creator


When compiled natively (say, for Home windows), is the Javascript transformed into C++ then compiled, or is the Javascript included and executed inside the binary distribution?


Javascript will likely be included within the distribution. It is going to be minimized/obfuscated however javascript will nonetheless exist within the remaining bundle identical to photographs / scenes.

Okay – so all video games are Javascript video games no matter platform, which implies crappy efficiency. When compiled, javascript is solely wrapped right into a platform particular binary interpreter/runtime.

While you compile for native platform, The gameplay logic will likely be javascript, the Core engine is Native C++ primarily based cocos2d-x engine. So the efficiency is nice on native except you write crappy recreation logic .

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments