VizuaaLOG Posted January 3, 2015 Share Posted January 3, 2015 Hi everyone, This isn't strictly a phaser or cordova issue but I was wondering, anyone here who have published a HTML5 game to android using cordova or something similar how has the performance been? The game I have been working on recently is very sluggish once it is running on an android device. I have spent hours researching and it is apparently a bug in the webview on android, which cocoonjs appearenly fixes with its webview+ but that had the same affect. I tested my game which just has simple tweens and some maths on a Galaxy S3 Mini which isn't the most performant of devices and so I tested it on my Dad's LG G3 and the exact same affect was there it wasn't faster or slower the same low frame rate. I was just wondering if there is anyone who has had this issue as well and has maybe found a solution? Edit: should change the title but don't know how Link to comment Share on other sites More sharing options...
JUL Posted January 3, 2015 Share Posted January 3, 2015 I use cocoonjs and canvas+, canvas for phaser (as opposed to webgl) and it works great on my galaxySII Link to comment Share on other sites More sharing options...
VizuaaLOG Posted January 3, 2015 Author Share Posted January 3, 2015 I use cocoonjs and canvas+, canvas for phaser (as opposed to webgl) and it works great on my galaxySIIWhat version of android do you have? In my research I found that it is apparently an issue in 4.3+ Link to comment Share on other sites More sharing options...
JUL Posted January 3, 2015 Share Posted January 3, 2015 I use android 4.1.2 Link to comment Share on other sites More sharing options...
MichaelD Posted January 3, 2015 Share Posted January 3, 2015 I have used Phaser for a game for android 4.2+ and it was working as intented in mobile phones but slightly better on tablets with better GPU and/or CPU capabilities. For mobile I tested it on a HTC One SV. You can view the game here: https://play.google.com/store/apps/details?id=com.Okto&hl=en Link to comment Share on other sites More sharing options...
msha Posted January 3, 2015 Share Posted January 3, 2015 Have you considered Crosswalk? https://crosswalk-project.org/documentation/cordova/migrate_an_application.html Link to comment Share on other sites More sharing options...
Recommended Posts