Slow FPS on Nexus 10 (Intel XDK Crosswalk App)

Discussion and feedback on Construct 2

Post » Sun May 22, 2016 4:52 pm

My Crosswalk app for Android is running VERY SLOW on the Nexus 10. On the Nexus 10 it is running about 3-6 FPS in debug. On my Nexus 6 it runs normal speed.

My set-up:
Construct 2 beta r228
Intel XDK v 3357
Cordova CLI v 5.4.1
Crosswalk Runtime v16

My app never used to have problems on the Nexus 10 until I recently updated the XDK and updated my app to new Cordova version.

If you want to see how bad it is, download on a Nexus 10 and play:
https://play.google.com/store/apps/details?id=com.kenyonb.ballwalker&hl=en

Is anyone else experiencing problems with Crosswalk apps on the Nexus 10?
Play Ball Walker App Store | Google Play | Amazon
Image
B
32
S
5
Posts: 117
Reputation: 2,159

Post » Mon May 23, 2016 3:46 pm

It's definitely Intel XDK. I built the game with Cocoon using Web view+ and Canvas+ and both ran perfectly fine on my Nexus 10.

Anyone else having issues exporting with XDK?
Play Ball Walker App Store | Google Play | Amazon
Image
B
32
S
5
Posts: 117
Reputation: 2,159

Post » Sun May 29, 2016 4:00 pm

Hi there.

I was testing my game today, imported using Intel XDK. On two tablets, both with Android 4.2.2 (one with 256mb RAM and another with 1gb) FPS was quite bad.

My friend tested on his two devices - Fly phone with 5.1 (512mb RAM) and Samsung tablet with 4.4 (1gb RAM) - here FPS was quite good, especially on first one.


Just for the sake of getting more info - can you please specify the RAM and Android versions? The later seems to be of importance.


PS: tried your game on my old tablet Android 4.2.2 with 256mb RAM. The game was ok - but it would freeze a bit from time to time.
Image
B
19
S
7
G
4
Posts: 36
Reputation: 3,628

Post » Sun May 29, 2016 7:48 pm

For future reference this is important if you have a game that you want to run fast on mobile devices.

viewtopic.php?f=146&t=174634
Check out my awesome Android Game releases https://play.google.com/store/apps/deve ... ames&hl=en
B
38
S
18
G
24
Posts: 682
Reputation: 16,645

Post » Mon May 30, 2016 12:39 am

@PiriB My Nexus 10 is running Android 5.1.1 with 2GB RAM. The device has no issues running games.

I recently updated the game and exported to Android using Cocoon instead of XDK. The game runs fine on the Nexus 10 now. And still runs fine on my Nexus 6.

Something aint right about the build from XDK.
Play Ball Walker App Store | Google Play | Amazon
Image
B
32
S
5
Posts: 117
Reputation: 2,159

Post » Mon May 30, 2016 12:44 am

@PixelPower thanks for the tips. My game follows most all guidelines in your post, and like I mentioned it has always run fine on mobile devices as a native Android app. My post is not to complain that it doesn't run slow on all devices, just only now on the Nexus 10. I think there is some relation between exporting via the XDK and running on the Nexus 10 that doesn't play well together. Not sure what it is, hence the reason for my post to see if anyone else was having the same issue.
Play Ball Walker App Store | Google Play | Amazon
Image
B
32
S
5
Posts: 117
Reputation: 2,159

Post » Mon May 30, 2016 8:05 am

@KENYONB ,

The funny thing is that yesterday I tried Intel XDK, PhoneGap and Cocoon.io for build and Intel got the best performance. Now I am confused, and not sure what should i use for final build.

@PixelPower ,

Cheers mate, i ran over the guidelines, mine meets them all as well. I will run over the code again, and see if I clean it up a bit.
Image
B
19
S
7
G
4
Posts: 36
Reputation: 3,628

Post » Mon May 30, 2016 9:15 am

Yes if your game meets all the guidelines then you are good to go and should have no trouble. Sometimes with XDK its makes funny apks. What I do is delete the project and build from XDK , then redo it.
Check out my awesome Android Game releases https://play.google.com/store/apps/deve ... ames&hl=en
B
38
S
18
G
24
Posts: 682
Reputation: 16,645

Post » Thu Jun 02, 2016 12:48 am

@piriB that is bizarre. I tried the XDK several times and none of them performed well on the nexus 10. Cocoon has been consistent build after build since then.
Play Ball Walker App Store | Google Play | Amazon
Image
B
32
S
5
Posts: 117
Reputation: 2,159


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests