Poor performance

Discussion and feedback on Construct 2

Post » Thu Feb 19, 2015 11:25 am

How is it possible that games like Real Racing 3 or Infinity Blade 3 run perfectly smoothly on my Motorola Moto G but simple 2D templates from Construct 2 are extremely laggy? I don't get it...
B
5
Posts: 8
Reputation: 257

Post » Thu Feb 19, 2015 12:55 pm

What exporter did you use?
B
18
S
6
G
1
Posts: 783
Reputation: 4,177

Post » Thu Feb 19, 2015 1:08 pm

cordova and cocoonjs
B
5
Posts: 8
Reputation: 257

Post » Thu Feb 19, 2015 1:17 pm

You can ask @ludei if you have any issues with CocoonJS
or wait for better Chromium if you have any issues with Crosswalk
B
18
S
6
G
1
Posts: 783
Reputation: 4,177

Post » Thu Feb 19, 2015 2:27 pm

On my desktop computer those templates also are laggy. Even jumping circle over squares is not running smoothly. Very weird...
B
5
Posts: 8
Reputation: 257

Post » Thu Feb 19, 2015 3:19 pm

Can you provide a capx that is suffering performance problems

Can you provide an exact model of your phone. Your phone GPU maybe black listed... which is an annoying problem.

I haven't played IB3, but I did play 1, but I know in IB1 there are usually only about 3-5 moving objects at any one time. So most of the overhead is put to GPU rendering. So as long as your GPU isn't black listed there usually isn't too bad a problem. Or maybe the phone is old and just can't handle the browser overhead.
B
88
S
18
G
9
Posts: 2,455
Reputation: 14,928

Post » Tue Mar 03, 2015 7:53 pm

I'm sorry that I didn't write back but I was extremely busy recently. I tested my super primitive project on two mobile phones. On Motorola Moto G XT1039 is laggy but on Samsung Galaxy S Duos S7562 runs so slow that it is impossible to play. I exported it with Cordova and compiled with IntelXDK. Simple moving sprite can't run smoothly. It is very weird...
Here is the link to a capx project:
https://www.dropbox.com/s/v195ziufiyw6z ... .capx?dl=0

Please help!
B
5
Posts: 8
Reputation: 257

Post » Tue Mar 03, 2015 8:20 pm

Well, for starters, your game is currently running in 1080p... and you're also using the "High Quality" fullscreen scaling option, so that might be it maybe?

I have a Moto G and I have tested a game I made using CocoonJS, the game resolution is 720p and there's a WebGL effect that keeps changing the hue every second... and it still ran OK. (around 50-60fps I believe).

edit: by the way, I'm not sure what is supposed to be happening in the game, but if by "slow" you mean that the ball is falling down too slowly, you just have to change the gravity of the platform behavior on it... and you can also use "simulate control left" and "simulator control right" instead of setting the ball's position to X+dt*200..
B
115
S
38
G
40
Posts: 828
Reputation: 27,308

Post » Tue Mar 03, 2015 8:39 pm

Thank you for a reply. It is just a prototype. I want my game to be fullhd so I set 1080p.
By "slow" I don't mean small gravity but that the movement is laggy. I changed to simulate control and low quality fullscreen scaling and can't see any improvement.
B
5
Posts: 8
Reputation: 257

Post » Tue Mar 03, 2015 10:07 pm

there is not reason for you to be setting your game to use full hd unless your targeting only the newest high end phones the phones your trying to end on look like old low-mid range . the Samsung your testing is only 480 x 800 pixels so try something around there. my game are 1280x720 and i find i have pretty good performance on a wide range of phones and i can have things look good. Also the Samsung galaxy s early range have terrible drivers and/or performance when using the default touch-wiz software.
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests