Preview performance better than export and externally hosted

Discussion and feedback on Construct 2

Post » Tue Jul 08, 2014 8:14 am

This is a shot in the dark but is there any reason why the observed performance of a game would be better in Preview Layout mode versus running the exported code on an external HTTP server on the same browser?

We are using rexrainbow's excellent MoveTo behaviour in translating an approx. 380px X 290px sprite across the page. As the iPad 2 is a target device (don't ask) in testing on that device when viewed in Preview mode via "Preview Layout" the FPS rate goes between 35-50 FPS but when we export and view the same sequence on a "real" server the FPS drops to 1FPS and crawls along.

I know this is a shot in the dark but does anyone know of an reason why this might happen?

Thanks in advance for any and all help with this.

Jay
B
3
Posts: 3
Reputation: 181

Post » Tue Jul 08, 2014 11:43 am

It should be the other way round: exporting removes a bunch of checks and runs a series of optimisations that should improve performance. 1 FPS after export definitely sounds like some kind of fault, but nobody can help without at least a link to the exported project, and preferably the .capx too.
Scirra Founder
B
399
S
236
G
89
Posts: 24,530
Reputation: 195,402

Post » Tue Jul 08, 2014 11:51 am

Thanks Ashley. Thanks kinda the response I was expecting. It's a strange one to us as well. Unfortunately for contractual reasons I cannot share the project or capx file. I will have a chat with one of the other devs and see if he can shed any light on what's happening.

Cheers,
Jay
B
3
Posts: 3
Reputation: 181


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 14 guests