Good FPS in browser but low FPS in APK...

Discussion and feedback on Construct 2

Post » Fri Sep 11, 2015 6:55 am

Hi all,

My game has 60 FPS in browser computer and mobile, but when i use intel XDK to build an APK and then im trying the game on mobile by APK, the framerate is more low. What is the problem you think ?

Best regards
B
6
S
1
Posts: 50
Reputation: 502

Post » Fri Sep 11, 2015 10:51 am

Crosswalk is simply not as fast as you would expect. This is really surprising that normal mobile Chrome browser (full of various features) is faster then Crosswalk which has basically the same engine but without all those extra features around.

I really hope they will release the fast Crosswalk version very soon. Before that happen, I suggest to read all performance optimisation tutorials and probably do some refactoring of your game in order to make it works smooth.
ImageImageImage
B
27
S
16
G
80
Posts: 1,020
Reputation: 44,759

Post » Sun Sep 13, 2015 3:10 pm

Or try cocoon.io with Cordova export?
B
7
S
1
Posts: 9
Reputation: 448

Post » Sun Sep 13, 2015 4:43 pm

I have no issues using Crosswalk+IntelXDK on mobile exports. I would suggest following the tutorials about code optimization and testing the game on each device from development start. At the moment I tested my APKs from 4.1 to 4.4 and they runs pretty fine.
B
15
S
5
Posts: 40
Reputation: 1,221

Post » Sun Sep 13, 2015 5:27 pm

@nobom can you post some google play link of game which is a dynamic game made in C2/Intel XDK and runs smoothly on devices like SGS4? By dynamic I mean even a running/jumping games.

I checked a lot of games from this forum, but unfortunately haven't found any good example yet.
ImageImageImage
B
27
S
16
G
80
Posts: 1,020
Reputation: 44,759

Post » Sun Sep 13, 2015 5:41 pm

Hi @BackendFreak, I need to reduce the sprites size on the next release, since I started the game for desktop and adapted later for mobile export but imho the game runs smoothly on my SGS3, tested also on a small alcatel onetouch.

Your feedback is welcome.

https://play.google.com/store/apps/deta ... ez.trapped
B
15
S
5
Posts: 40
Reputation: 1,221

Post » Sun Sep 13, 2015 7:41 pm

I played your game some days ago already.

Regarding the game itself: it is not a dynamic game imo cause there is no constant move. It is very simple yet oryginal and nice game. One thing I would definitely change is the jump control. It would be much more comfortable to tap left and right side of the screen at once in order to jump then to do the slide move.

Regarding the performance. Even that it is such a simple game you can clearly notice the little fps drops in moments like jumping or bullet (arrow) explosion. Also sounds effects have some delay. You can clearly see that while tapping on the level selection screen. However this can be fixed by moving sound files to the music directory in C2.

So to wrap up. Nice game, good job :). I played several levels and had some fun. Furter levels were annoying for me cause of hard jump control - but that might be just my feeling. But the performance of such simple game should be perfect on device like SGS4, and it's unfortunately not.

I really hope that they will release some boosted Crosswalk soon. When this happen C2 will be a tool that all mobile developers always dreamed of. For now I find C2 as an amazing tool for HTML5 apps which runs on computers and a bit less attractive when you need to build a mobile app.
ImageImageImage
B
27
S
16
G
80
Posts: 1,020
Reputation: 44,759

Post » Sun Sep 13, 2015 9:26 pm

@BackendFreak Thanks for playing!, I'm agree with you, it's not a complex game and I know what you mean. Just a proof of concept learning the basis but I'm having fun with and I continue polishing the code, understanding that all the devices haven't the same capabilities, so I can't expect the same result.

I hope XDK keep up the good work! And thanks again for your feedback.
B
15
S
5
Posts: 40
Reputation: 1,221

Post » Tue Sep 15, 2015 10:12 am

nonom wrote:I have no issues using Crosswalk+IntelXDK on mobile exports. I would suggest following the tutorials about code optimization and testing the game on each device from development start. At the moment I tested my APKs from 4.1 to 4.4 and they runs pretty fine.


Hi friend,

I already followed optimization tutos, but is not the problem sadly.

Dynamic games with a constant 55-60 FPS is not possible on mobile for the moment with C2/intel XDK.

If you want i can show you my game in PM.

Best regards,
B
6
S
1
Posts: 50
Reputation: 502

Post » Tue Sep 15, 2015 12:18 pm

gaelsev wrote:
nonom wrote:I have no issues using Crosswalk+IntelXDK on mobile exports. I would suggest following the tutorials about code optimization and testing the game on each device from development start. At the moment I tested my APKs from 4.1 to 4.4 and they runs pretty fine.


Hi friend,

I already followed optimization tutos, but is not the problem sadly.

Dynamic games with a constant 55-60 FPS is not possible on mobile for the moment with C2/intel XDK.

If you want i can show you my game in PM.

Best regards,


Have you tried using the Cocoon.IO? Canvas+ performance is quite something.
Risk Rocket now available on Google Play
Image
B
36
S
15
G
6
Posts: 337
Reputation: 6,300

Next

Return to Construct 2 General

Who is online

Users browsing this forum: mahdy, Sup with that? and 20 guests