Performance issue on iPhone and Android

Get help using Construct 2

Post » Thu May 09, 2013 1:06 pm

Hi everybody,
I have been using Construt2 for making games since 1-2 months & I really love it for the ease it provides to develop games. I developed a game with resolution: (768x1024). It runs well on iPad(62 fps). BUT it's showing very very poor performance on iPhone (30 fps) and Android (7-15 fps).

For getting the game fit to screen, i have scaled it at the start of layout only and exported it with crop mode on CocoonJS platform . I have gone through the 'Performance tips' on manual and in tutorial (provided by ranma).

(.zip size of project: 17 MB)
(Number of physics objects in each level/layout: 13)
(Average number of objects in a layout: 35)

If anyone could suggest me on how to improve performance I would really appreciate it.
B
9
S
3
G
3
Posts: 28
Reputation: 2,641

Post » Thu May 09, 2013 3:10 pm

Look like you posted your topic in the wrong place, go to " How do i" section: https://www.scirra.com/forum/how-do-i_forum45.html
But first i want to ask you, what kind of game you make ?? (platform, rpg, puzzle etc...??)
If you use physic, the R129 released support native box2d in cocoonjs, upgrade to r129 and try your game again, the performance with physic will increase with great result.

Feel free to email me:
thigict@gmail.com

I have a lot of experience about performance.
B
50
S
12
G
7
Posts: 259
Reputation: 10,371

Post » Thu May 09, 2013 6:59 pm

Maybe you have to make a version catered to the iPhone and it's screen. To render such a large resolution and then scaling it down, that might be a reason for the drop in FPS.
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Thu May 09, 2013 7:06 pm

30fps should be the baseline target for mobile devices, and there's many Android devices so you'll need to be specific.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Fri May 10, 2013 8:08 am

[QUOTE=farsmile90] Look like you posted your topic in the wrong place, go to " How do i" section: https://www.scirra.com/forum/how-do-i_forum45.html
But first i want to ask you, what kind of game you make ?? (platform, rpg, puzzle etc...??)
If you use physic, the R129 released support native box2d in cocoonjs, upgrade to r129 and try your game again, the performance with physic will increase with great result.

Feel free to email me:
thigict@gmail.com

I have a lot of experience about performance.[/QUOTE]

@ farsmile90: Thanks for your suggestion. I'll definitely test it. But r129 is a beta release. Will that be right to rely on it. It may show new bugs during the game-play at times. Isn't there any other way?
B
9
S
3
G
3
Posts: 28
Reputation: 2,641

Post » Fri May 10, 2013 8:13 am

[QUOTE=Rory] Maybe you have to make a version catered to the iPhone and it's screen. To render such a large resolution and then scaling it down, that might be a reason for the drop in FPS.[/QUOTE]

@Rory: Ok, I agree. But Android devices come with a variety of resolutions starting from very large to small. So I can't take a small resolution as a reference; Because it can degrade the quality of images(objects) a lot while being played with high resolutions.Asit2013-05-10 08:14:30
B
9
S
3
G
3
Posts: 28
Reputation: 2,641

Post » Fri May 10, 2013 8:24 am

[QUOTE=thehen] 30fps should be the baseline target for mobile devices, and there's many Android devices so you'll need to be specific.[/QUOTE]

@thehen: Well, I am testing it on iPhone4 (640x960) and Sony Xperia neo L (android- 480x854).
B
9
S
3
G
3
Posts: 28
Reputation: 2,641

Post » Fri May 10, 2013 11:48 am

That's why I suggested catering to iphone and smaller platforms with a different version!
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Fri May 10, 2013 11:53 am

30 fps on iPhone 4 is actually pretty good. I generally target iPhone 4S and above. Regarding the Sony Xperia neo L, it's difficult to gauge without testing on a more popular device like the Galaxy S II. It's also difficult to gauge with no understanding of the games complexity.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 24 guests