how to implement webgl rendering in android webview -


i have created javascript 3d game using three.js. want convert android apk. unfortunately android's webview not supporting webgl. there anyway convert apk

you can use cordova port javascript game mobile platforms. check out!

using npm need install cordova globally first by:

npm install -g cordova 

once installation finishes, can create project by:

cordova create mygame 

then can cd mygame directory , add platforms project.

cordova platform add android 

put game code in index.html file , run game execute:

cordova run android 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -