Preview on lan/ipad2 issues

Discussion and feedback on Construct 2

Post » Tue Oct 16, 2012 11:40 pm

When i preview my game in my iPad2 with LAN preview, i'm getting a smooth and solid 50 FPS, but when hosted in my site the FPS drops to 10(in iPad2), is there a reason for the discrepancy?My other games in my site are performing very well, and even my physics games are smoother in my iPad2. Should PREVIEW ON LAN have the same performance than a website?Any thoughts?
Thanks
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Wed Oct 17, 2012 12:28 am

That's weird, I get the exact opposite. With my projects, preview on LAN has terrible performance compared to the exported HTML on a website (like 100 sprites at 60 fps via preview vs 400 sprites at 60 fps via export).

It is on an ipad 3 though, I wonder if that makes a difference.Arima2012-10-17 00:30:11
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Wed Oct 17, 2012 9:27 am

Thanks for the answer Arima.Yes it is weird, and the main purpose of "preview on lan" is to test if the game works well on the device, but in my case is useless because the discrepancy is huge.cesisco2012-10-17 09:29:14
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Wed Oct 17, 2012 1:36 pm

This is a weird result because like @Arima says exported projects should be slightly faster (they do less checks for errors). Can you link us to your published game on your website and/or share your .capx? Also, is it the same across all browsers you've tried?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Oct 17, 2012 2:47 pm

@Ashley here's the game.
In the main menu you can choose normal version or tablet version.The tablet version have almost none animations and effects/particles etc, and it runs very well(45/50 fps)in my iPad2 with LAN preview, but the hosted version runs at 15/20fps.These results are only with my iPad2 and Safari.
Pc version in Firefox, Chrome, etc, are all ok.
Tks

cesisco2012-10-17 22:20:32
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Wed Oct 17, 2012 2:55 pm

@cesisco - I tested on both an iPad 2 and iPad 3 running iOS 6, and they both got a solid 60 FPS in Tablet mode. So I cannot reproduce any performance problem at all, it appears to run very well.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Oct 17, 2012 3:01 pm

Weird, it seems the problem is with my iPad2 then?
By the way, the audio doesn't work anymore for me with R107 in Safari, or it is only with me, if yes, i think there is something wrong with my iPad definitely.
tkscesisco2012-10-17 15:02:12
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Wed Oct 17, 2012 3:17 pm

@cesisco - are you sure you're running iOS 6? It is faster and has better audio support.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Oct 17, 2012 3:30 pm

[QUOTE=Ashley] @cesisco - are you sure you're running iOS 6? It is faster and has better audio support.[/QUOTE]

@Ashley yes i'm running iOS 6, the problem is that yesterday the audio was ok with R102, i can install r102 again and test.cesisco2012-10-17 15:30:32
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Wed Oct 17, 2012 4:19 pm

@Ashley i was running the game from home screen(duh), in the browser it runs at 60fps, but if i add to home screen again it become very slow again.
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests