Intel XDK vs Cocoon

Discussion and feedback on Construct 2

Post » Sat Oct 15, 2016 5:13 am

File size is similar for non Crosswalk builds.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,616

Post » Tue Jan 31, 2017 7:50 pm

Silverforce wrote:
Renfd wrote:Unless XDK improved very very much the performance on the latest updates, I would go with cocoon.


XDK has the same performance if you're using webview+ on Cocoon. It's all cordova based.

On iOS, you access WKWebView (which is faster than Canvas+!!) for high performance. On Android you use the Chromium based WebView which the recent versions are very fast. Or Crosswalk for Chromium performance with more compatibility.

Can you tell me if Crosswalk still has better performance than webview? I have a Nexus 7 with Android 6 and compiling without crosswalk is slow, I haven't tried it with crosswalk yet, but canvas+ is smooth as butter.
B
41
S
12
G
14
Posts: 1,122
Reputation: 11,268

Post » Wed Feb 01, 2017 3:44 am

Zebbi wrote:
Silverforce wrote:
Renfd wrote:Unless XDK improved very very much the performance on the latest updates, I would go with cocoon.


XDK has the same performance if you're using webview+ on Cocoon. It's all cordova based.

On iOS, you access WKWebView (which is faster than Canvas+!!) for high performance. On Android you use the Chromium based WebView which the recent versions are very fast. Or Crosswalk for Chromium performance with more compatibility.

Can you tell me if Crosswalk still has better performance than webview? I have a Nexus 7 with Android 6 and compiling without crosswalk is slow, I haven't tried it with crosswalk yet, but canvas+ is smooth as butter.


I can't tell you since your case is different to mine. For me, Crosswalk is great for Android since it has good performance and good compatibility with more devices. I have had regular WebView & Canvas fail on some devices but Crosswalk runs it like a champ.

You just need to test it out for your own use case and see which is better.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,616

Post » Wed Feb 01, 2017 9:29 am

Silverforce wrote:
Zebbi wrote:
Silverforce wrote:Unless XDK improved very very much the performance on the latest updates, I would go with cocoon.

XDK has the same performance if you're using webview+ on Cocoon. It's all cordova based.

On iOS, you access WKWebView (which is faster than Canvas+!!) for high performance. On Android you use the Chromium based WebView which the recent versions are very fast. Or Crosswalk for Chromium performance with more compatibility.

Can you tell me if Crosswalk still has better performance than webview? I have a Nexus 7 with Android 6 and compiling without crosswalk is slow, I haven't tried it with crosswalk yet, but canvas+ is smooth as butter.


I can't tell you since your case is different to mine. For me, Crosswalk is great for Android since it has good performance and good compatibility with more devices. I have had regular WebView & Canvas fail on some devices but Crosswalk runs it like a champ.

You just need to test it out for your own use case and see which is better.

To be honest I'm not really that bothered about pre-5.0, by the time I finish anything, the world will be on android 10 or something, but actually running a basic scrolling platformer or racer at 60fps on a very capable device is important to me. I'm trying to get away from cocoon and their proprietary/incompatible engine and xdk is the most "open". Do you have any xdk specific performance tips? I've done all I can on c2's end, should I still block the gpu blacklist, for instance?
B
41
S
12
G
14
Posts: 1,122
Reputation: 11,268

Post » Wed Feb 01, 2017 12:42 pm

I don't use the GPU blacklist myself, but optimizing the game is vital, you have to monitor CPU usage in real-time as that is actually the biggest cause of performance degradation on mobiles. Contrary to what Scirra has said, mobile GPUs these days have insane good pixel fillrates, but the logic thread (CPU) can be bottlenecked quite easy with sloppy C2 coding.

Honestly, I'm actually impressed with how strong C2/Crosswalk is on Android.

ie. https://play.google.com/store/apps/deta ... lfgeek.sn2
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,616

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: gameba and 5 guests