Master Of Animation, Games & Interactivity
Master Of Animation, Games & Interactivity

Vuforia Ar initial plane marker test(attached) [APP]


my future ref: 

http://www.html5gamedevs.com/topic/21631-why-babylonjs-if-unity-export-webgl/

Unity and Unreal Engine 4 both support building games for WebGL by cross-compiling C++ code into JS using technology called Emscripten. This, however, creates a really big junk of JS code that browser needs to compile and run, thus games built inside C++ engines transported into JS experience lags for some time after compilation, which is also highly CPU-dependent (Faster machines will run it better). However, the most important thing here is that, games built in C++ engines are not flexible in Web, meaning that HTML5 elements are not easily "binded" to games during the development, which later creates problems if you want to implement HTML5 technologies alongside the game (or maybe CSS or additional JS), Another main difference between C++ engines and JS engines is that JS engines (for example Babylon) are compiled on the fly in modern browsers, while C++ engines need to actually build and export the game into WebGL. This can slow down development in the testing stage of game development, since after finding bugs and fixing them you need to build the game again (building WebGL inside C++ engine is both resource and time-consuming process) and again for every fix or new feature or updates etc... However, this is not the case for JS engines, where you can simply refresh the page in your browser and see the changes immediately. Perhaps the only drawback of JS engines is the lack of advanced Editors (which is not really important since you can do pretty amazing stuff sometimes with only 1 line of code, considering JS game engines are designed to be simple, Babylon.js can be example for this) and this won't be case in the future, we already see emergence of JS game engine editors like this and there is some hard work going on in this field particularly.

Downloads:

About This Work

By Sahaj Garg
Email Sahaj Garg
Published On: 26/03/2019