XDK low FPS when building

Get help using Construct 2

Post » Wed Oct 29, 2014 9:12 pm

Hello everyone,

I've got a problem maybe you can figure it out.

I made my project for IOS with CocoonJs...works grate!...smooth fps of 60/62 FPS. It's even uploaded on App Store. Now I am trying to make it for android. (construct-export android-xdk-android crosswalk). Very low FPS with the .apk generated by XDK. I couldn't belive it! After all I read in Construct forums that it's the best. For me it dosen't work although my project is small arround 15mb. Any other way to export to Android besides XDK? I can't find any tutorial or anything on Forums about another way. Only Ejecta for IOS and CocoonJs...but Cocoonjs for android dosen't work...it broked my hole project sprites flying everywhere. Not good.

P.S. In XDK the only options I have with the latest update I did 2 days ago are:
Cordova3.x hybrid-Croswalk for Android/Android....I've tested both__low FPS
Legacy Hybrid-Android ( I don't now the difference but I've tested with this one alsoand it's worse then the Cordova option)

I instaled the apk I got via email from XDK with Package installer wich was already on my android mobile. Could this instaler be the reason?

Any idea would help a lot. Maybe others have similar problemes. If not what you did? I mean what settings should be done in XDK to work at a decent FPS. The way it looks now I could never publish my project on google play.
B
5
S
1
Posts: 15
Reputation: 407

Post » Wed Oct 29, 2014 9:18 pm

Here is my project...I'm realy excited about it. I whish I could build it for Android too. I want to make it free on both platforms before Christmas so people could play it and have fun

pigosu-endless-runner-for-ios-with-construct2-and-cocoonjs_t117649
B
5
S
1
Posts: 15
Reputation: 407

Post » Wed Oct 29, 2014 9:25 pm

On what android mobile did you test this game?

There's only two options:
- Your mobile is to old
- Your events are not optimized well.
ImageImageImageImage
B
158
S
67
G
43
Posts: 2,603
Reputation: 36,003

Post » Thu Oct 30, 2014 8:12 am

I tested on LG-E460 with Android 4.1.2 version on it.
It's not that old. I bought it last year.
When I test with XDK in the emulator everything works grate but when I generate the build it's not working smooth anymore (when I install the .apk on my phone)
I did optimized my game. I followed all the tutorials on optimization. That's how I got my game working for IOS at 60 FPS. I even bought a IPhone 5s to test for IOS and I'm not rich. But I really want to make games so I do everything I can to make it happen. It's really frustrating to get stuck at the end when I try to make a simple build.

What sort of optimization I have to do for XDK?
Is there another way of exporting for Android without using XDK?

My game is a simple one. If I can't make this work on Android what should I expect when I will make a more complex one with Construct? I spent one year to make this simple code. It wasn't that simple for me 'cose I had no idea how programing works and I had to learn everything. I read all the tutorials and all the posts on Forum thread. Trust me. Before I write a post I read everything first.
B
5
S
1
Posts: 15
Reputation: 407

Post » Mon Dec 29, 2014 11:27 pm

I have the same problem, but I dont know how can solve this. Including exports of games for android devices are very bad, even if they are optimized. I really do not know what I'm doing wrong.
B
47
S
8
Posts: 79
Reputation: 4,515

Post » Tue Dec 30, 2014 12:45 pm

@dznerpro - are you sure you are building for Crosswalk? We see bad performance on regular Android builds and Legacy builds, but not crosswalk. If you are, can we see your project to debug performance issues?
Intel Corporation
B
5
S
2
Posts: 133
Reputation: 871

Post » Fri Jan 02, 2015 11:57 am

Tku @imaffett, I had exported in standard android, however, with the crosswalk feature, the file with 1.2 mb got 30 mb, what can have happened?
B
47
S
8
Posts: 79
Reputation: 4,515

Post » Fri Jan 02, 2015 4:34 pm

Try to use these project settings

Image
B
18
S
2
Posts: 24
Reputation: 888

Post » Mon Jan 05, 2015 1:20 pm

@dznerpro - this is because we are replacing the standard webview with Crosswalk, which is based off the Chrome browser. We are looking into getting a "shared" approach for Crosswalk (installed once on a device and used by every app).
Intel Corporation
B
5
S
2
Posts: 133
Reputation: 871

Post » Mon Jan 05, 2015 5:40 pm

Do you use the AdMob Plugin? A missconfiguration of banner ads cause a FPS drop of 20 Frames/s.
You can fix this with that tutorial.

http://shatter-box.com/wiki/troubleshooting/

Just scroll down till 'Fix Lags'. I had the same issue and my game only runs with 40 FPS. Then I made these changes and it runs now with 60 FPS
Image Image iTunes: Match3 | Google Play: Match3
B
106
S
39
G
31
Posts: 1,170
Reputation: 29,229

Next

Return to How do I....?

Who is online

Users browsing this forum: draiza and 7 guests