Retina iOS performance problem fix, please test

Discussion and feedback on Construct 2

Post » Mon Oct 15, 2012 11:20 pm

@Arima - I tested your workaround and it did indeed make a big difference in Space Blaster with retina enabled in landscape resolution. I'll build it in to the next release (with the same applied for height as well). Thanks for the work digging in to this and finding a workaround as well!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Tue Oct 16, 2012 12:11 am

@Ashley - awesome, thanks so much for implementing it!
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Wed Dec 18, 2013 9:25 am

Hi! Sorry to post in an old topic but I think it fits here.
I built a small game and it runs fine in Safari in iPad 3 but when I add it to the home screen it gets slow and laggy! Is there a way to fix this somehow? I tried it a few times and it runs very smooth in the normal browser.Bl4ckSh33p2013-12-18 09:33:21
B
47
S
14
G
5
Posts: 635
Reputation: 8,017

Post » Wed Dec 18, 2013 10:51 am

I've had the same issue since iOS 7

It gets even more bizarre if I add a few to a folder...
B
9
S
3
G
1
Posts: 112
Reputation: 1,827

Post » Wed Dec 18, 2013 12:07 pm

That's not to do with this topic. It's just Apple's 'home screen' browser engine is slower than Safari.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Dec 18, 2013 6:53 pm

I see. I thought it runs in Safari just without the browser bar. Many sites where you can host HTML5 games suggest to "install" it to the home screen but this will have bad impact on performance. :/

B
47
S
14
G
5
Posts: 635
Reputation: 8,017

Post » Wed Dec 18, 2013 6:54 pm

This is a known issue implemented by Apple. Apple will not JIT compile of JS code. This is why it is suggested to use CocoonJS.
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Wed Dec 18, 2013 6:57 pm

I would love to use CocoonJS but I can't afford the 99$/year for a Apple Dev account, yet. ;)
And you need a MAC for the xcode thingy.
B
47
S
14
G
5
Posts: 635
Reputation: 8,017

Post » Thu Dec 19, 2013 8:03 am

Gotcha. Well then your solutions are
* reduce graphics to increase render time.
* strict mobile design
* tricks
* modify your game logic to a slower FPS to maintain smoothness of play

or just have players play from the browser. Not ideal, but it seems to be the situation.
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 15 guests