Low FPS in C2 games is more crippling than it should be?

Discussion and feedback on Construct 2

Post » Sun Oct 19, 2014 2:18 am

Chrome Canary

19.7 - 23.8 ms, no time spike every 5 sec apparent this time.

When I run my embryonic game I see no improvement in the slight jerky performance and occasional hesitations compared to v39 Chrome (even though I no longer create or destroy any sprites during run time...).
A big fan of JavaScript.
B
74
S
20
G
71
Posts: 2,230
Reputation: 44,892

Post » Sun Oct 19, 2014 2:27 am

@sqiddster are you seeing the same issues in Firefox? Ashley's demo ran so much better for me than it does in chrome.
B
101
S
32
G
11
Posts: 1,546
Reputation: 21,667

Post » Sun Oct 19, 2014 4:57 am

@Arcaded I just tried the game in Firefox, and while Firefox can't run the game nearly as well as Chrome can (at a comparable resolution) it feels perfectly smooth all the way down at 40fps - whereas Chrome feels pretty bad at anything sub-60fps.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,689

Post » Sun Oct 19, 2014 5:26 am

Good info, so sounds like it could be a Chrome issue, which means it's in Node Webkit, correct?
B
101
S
32
G
11
Posts: 1,546
Reputation: 21,667

Post » Sun Oct 19, 2014 5:59 am

Yep.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,689

Post » Sun Oct 19, 2014 6:00 am

The question now, is finding a repro for the jerkiness and spikes, which also seem to occur during GPU lag only.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,689

Post » Sun Oct 19, 2014 2:15 pm

I find that if the frame rate drops in my game, the player is able to pass through collision - has anyone else found this?
B
45
S
9
G
2
Posts: 141
Reputation: 4,197

Post » Sun Oct 19, 2014 2:16 pm

The spikes might be the same causes of jank as in the sbperftest demo which is already in a Chrome bug report. I think it would be best to see what they can do to improve that demo and see how that impacts other games.

Tests like sbperftest are essential for bug reports, because it makes objective measurements and is 100% repeatable. That's difficult to get with a full blown interactive game.
Scirra Founder
B
398
S
236
G
88
Posts: 24,442
Reputation: 194,683

Post » Mon Oct 20, 2014 12:07 pm

@Sean Noonan , yes, that is something I notice too, and I think that is more likely to happen with the "Jump-thru" behavior and less often with the "Solid" behavior.
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379

Post » Mon Oct 20, 2014 4:57 pm

FYI my game has just developed a new stutter. Despite saying 120fps every once in a while it does this super stutter thing, and the only thing I'm doing is moving using 8 direction movement with some paralax (all other code is dormant and nothing else is different in the seconds before and after the stutter except a few biggish sprites (500px wide) on one of the paralax layers.

Only happens when I export. :\ Hasn't happened in crosswalk, but html5 export definitely.
Developing Surolace, the survival role playing space game.

surolace-survival-role-playing-space-game_t116953
B
14
S
4
Posts: 303
Reputation: 1,730

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests