Ninjadoodle Posted November 5, 2014 Share Posted November 5, 2014 Hi guys Has anyone tried exporting with Phonegap? I've noticed that if you enable ... system: { webGL: true,}, ... then it runs very smooth! Does anyone have experience with Phonegap and Panda. I've heard it was slow, so the speed increase probably has something to do with the latest iOS update 8/8.1. https://www.scirra.com/blog/150/html5-game-performance-on-ios-8 Any feedback on this would be awesome PS. On Android, Phonegap is bugs galore! Sound turns on/off - touch actions act funny etc. Look like Cocoon JS is the safe option. Thank you in advance! Quote Link to comment Share on other sites More sharing options...
Phempt Posted November 5, 2014 Share Posted November 5, 2014 I also use Phonegap for my iOS app. Performance, at the moment, are good and there are a lot of plugins that could be useful.For example I use:- Game Center- iAd- Splash Screen- Social Sharing There's a development branch of CORDOVA that uses the WKWebView, but at the moment iOS 8 is a little buggy and WKWebView can't load local files. We hope that on iOS 8.2 they will fix this issue. The only performance issue that I've with my phonegap build is when iAd spawn the adv. I can drop 10fps (from 58-60 to 48-50). I also lose some FPS due to code obfuscation, but I think it's normal. I also tried CocoonJS but with a lot of problems. Edit:I don't use the WebGL property because it causes some problem with the multitasking feature. (during the resume, the app reload itself - so the multitasking doesn't work as expected) Ninjadoodle 1 Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted November 5, 2014 Author Share Posted November 5, 2014 Hi @Phempt Thank you for the detailed reply! I've tested without webGL, but my app runs quite slow (I've got a bit of animation etc. going on). I think for now, Cocoon JS might be a safer option for me (once I can figure out all my bugs). Thanks again! Quote Link to comment Share on other sites More sharing options...
Phempt Posted November 5, 2014 Share Posted November 5, 2014 Give a look at WKWebView fix on future iOS. This will be the trick for your html5 developments with Phonegap. at the moment the major bug for me is the appstore review time Quote Link to comment Share on other sites More sharing options...
enpu Posted November 5, 2014 Share Posted November 5, 2014 Note that WKWebView is only on iOS 8, that is 52% of iOS devices Quote Link to comment Share on other sites More sharing options...
Phempt Posted November 5, 2014 Share Posted November 5, 2014 Oh, there's also an other thing that I forgot to say. My first game had terrible performance on Phonegap, I re-wrote my code, and than, performance increased, obtaining 58-60fps. My error was to use a lot of "for" cycles, so the code optimization did the trick. Quote Link to comment Share on other sites More sharing options...
Phempt Posted November 5, 2014 Share Posted November 5, 2014 @enpu you're right but more than 90% of iOS7 users, didn't update yet due to missing jailbreak. And the main feature of jailbreak is piracy Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.