Performance safari

Discussion and feedback on Construct 2

Post » Mon Mar 26, 2012 5:24 pm

I made a small test game with moving animations.
In google chrome works this well, but in safari is this very jerky.

Is there a possibility to improve this?

Robin
B
3
Posts: 5
Reputation: 460

Post » Mon Mar 26, 2012 9:45 pm

Here my project files: http://www.4shared.com/folder/eM8nLYUM/_online.html
B
3
Posts: 5
Reputation: 460

Post » Tue Mar 27, 2012 3:50 pm

Have you read Performance Tips?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,610

Post » Sat May 12, 2012 10:02 am

Hi Guys, I did a bit of quick reading, and it turns out that Safari doesn't have WebGL turned on by default. Also you can only do this on Macs (under the developer menu) - PC Safari doesn't allow you to change this option. I'm going to find someone with a Mac to see if having WebGL turned on will fix performance issues.

I also noticed the horrible performance of C2 games on Safari PC, but then I noticed when I browsed to other free HTML5 games on the internet, that they wouldn't even open. One of them even popped up with a message suggesting that I only use Firefox or Chrome.

Has anyone tried playing the games on Mac Safari with WebGL turned on?
B
34
S
8
G
3
Posts: 328
Reputation: 7,692

Post » Sat May 12, 2012 2:24 pm

@EyeHawk are you using the latest version of Safari? (5.1 I believe) The newer versions are a lot faster.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,610

Post » Sat May 12, 2012 11:02 pm

Hey Ashley, yeah I downloaded the most recent release (v5.1.7). It's not a problem to me though, as from looking at various stats Safari Users account for around 5% of all users globally (Mostly Mac). On top of that Mac/Safari Users can turn on WebGL, which I'm guessing will solve the problem. That just leaves PC/Safari Users in the dark, but then they are an even more minuscule group (probably less then 1%).

On the other hand, I tested out a C2 game quickly with the most popular browsers IE9, Chrome, & Firefox and all of them play beautifully, so I think our most important bases are well covered.
B
34
S
8
G
3
Posts: 328
Reputation: 7,692

Post » Sun May 13, 2012 1:11 am

Hmm, I would doubt Safari users in general would know to turn webGL on... Surely if they knew that, they would already be sing a more superior browser!
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sun May 13, 2012 5:04 pm

If a browser does not enable WebGL by default, I personally consider it to not support WebGL. In practice, 99% of general users won't play with developer settings to get a game to run a little faster.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,610

Post » Mon May 14, 2012 2:22 pm

[QUOTE=EyeHawk] Hey Ashley, yeah I downloaded the most recent release (v5.1.7). It's not a problem to me though, as from looking at various stats Safari Users account for around 5% of all users globally (Mostly Mac). On top of that Mac/Safari Users can turn on WebGL, which I'm guessing will solve the problem. That just leaves PC/Safari Users in the dark, but then they are an even more minuscule group (probably less then 1%).

On the other hand, I tested out a C2 game quickly with the most popular browsers IE9, Chrome, & Firefox and all of them play beautifully, so I think our most important bases are well covered.
[/QUOTE] Interesting statement. IE9, Chrome, and Firefox are the big three, but IE9 doesn't support WebGL and probably never will. I test everything I do on Chrome, Firefox, IE9 (and sometime 10), Opera, and Safari. All these are on Windows. Safari consistently crashes or doesn't do something I want more than all the others combined.

Honestly, I think Safari on Windows probably gets the least attention of everyone in Apple-land. They just don't care about Windows.

I suspect most HTML5 game players are pretty happy with Chrome or Firefox. But Safari on Windows seems like a sad neglected step-child. Even Opera fares better.

Check out my HTML5 Firefox OS Game Programming and Game Playing blog at http://firefoxosgaming.blogspot.com/ and my book on Amazon at http://www.amazon.com/dp/B00IZUYIGO. I wrote a newer post on using Construct for Firefox OS at http://firefoxosgaming.blogspot.com/201 ... -game.html.
B
16
S
4
G
4
Posts: 181
Reputation: 3,837


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests