Any good, fast canvas, cocoonjs alternative out there?

0 favourites
  • 10 posts
From the Asset Store
Template for an alternative to falling shapes, fully documented in comments and video
  • I've been working with CocoonJS a lot in the past few months, and while the main idea is awesome (and worked pretty well for a while), I've found lots of glitches and issues I can't ignore when relasing a game, forcing me to move from canvas+ to webview+, which dramatically hurt my game (sound issues, have to compile in an old compiler version for iOS etc...). That being said, canvas+ has worse issues than that...

    Is there any good fast canvas alternative to wrap cocoonjs games with? for android, I know there's crosswalk (although I haven't tested it yet), but that's based on chromium. Is it good enough for fast movement animations / particles / webgl effects?

    And about iOS, what's the alternative?

    Thanks!

  • Intel XDK (Crosswalk) is supposed to export games to IOS too, but I haven´t tested it.

    XDK Works nicely for android.

  • clockworkmonster , Yes, I know, but as far as I know, it follows the same approach as cordova - use the webview. Since 40% uses the old stock safari webview, this does not provide fast canvas rendering...

  • iOS 8 is updating pretty fast, adding several percent market share every month. I'd just go for PhoneGap or Intel XDK and target iOS 8+ and Android 4+ with Crosswalk. The modern web views are really fast.

  • Thanks Ashley, thing is, until iOS takes the share to make iOS7 negligible, what will be for iOS7 users?

    iOS8 is at 56% right now, and I can't really release any game for iOS 8 users only...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Why not release it for iOS 8+? It's only a matter of time before it reaches the vast majority of users. It's already up to 60% on latest figures. If you choose to support iOS 7 you will have to deal with wrappers which have some pretty difficult compatibility issues.

  • Why not release it for iOS 8+? It's only a matter of time before it reaches the vast majority of users. It's already up to 60% on latest figures. If you choose to support iOS 7 you will have to deal with wrappers which have some pretty difficult compatibility issues.

    Hello Ashley, if i choose iOS 8 export, what can you say about new webview+ from ludei? As i understand, it's a wkwebview, even phonegap will use it (later), is it good? Maybe this can resolve troubles with cocoonjs? I mean, the wkwebview is the only export option for heavy games, the other option is canvas+ (buggy and deprecated) or phonegap with wkwebview, but nobody knows when phonegap will switch to wkwebview. So, what you can say about it?

  • WKWebView is iOS 8+ only and should be coming to PhoneGap soon (I think it might be subject to Apple fixing bugs first). However even without it, right now, PhoneGap is no slower and has a lot more features than non-browser wrappers like Ejecta and CocoonJS canvas+. We wrote about this on our blog with benchmarks in September: https://www.scirra.com/blog/150/html5-game-performance-on-ios-8

  • Wow Ashley, performance on iOS8 and safari looks simply amazing. Since it might take a while to get my game done anyways, I think I'll stick to your suggestion, Phonegap and WKWebView when its due..

    Thanks!

  • Looking further, it seems Apple already fixed the bug preventing phonegap from implementing it, described at https://bugs.webkit.org/show_bug.cgi?id=137153. Also, there's a beta cordova plugin by Telerik which allows usage of WKWebView in phonegap WITH the file:// protocol: https://github.com/Telerik-Verified-Plugins/WKWebView#2-screenshot

    Source: http://devgirl.org/2014/11/10/boost-your-ios-8-mobile-app-performance-with-wkwebview/

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)