I need your help to figure out Airscape's performance issues

Discussion and feedback on Construct 2

Post » Mon Mar 02, 2015 12:53 pm

"I really can't believe that a high-end intel integrated GPU cannot run webGL at one third of the speed of a two year old tablet, or a five-year old budget mac. It's completely crazy if this is the case. If it's really just a hard limitation of webGL, then webGL is not suitable for games, period."

definitively something weird going on for that one, I always though webGL was a sort of implémentation of OpenGL ES (like a direct call to the graphic driver), but definitively if it cannot perform as well as the two systems you talked about, that is crazy.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
43
S
18
G
18
Posts: 2,106
Reputation: 16,436

Post » Mon Mar 02, 2015 1:34 pm

Reading through all of this and testing out your demo I have a hard time believing it is the GPU causing these frame drops/bad performance etc.
I would say I have a rather Middle-End PC:
AMD X6 1090T @3.8GhZ
8GB DDR3 RAM
2x AMD HD6870

I've tested the demo in firefox/chrome and it barely got stable 60fps, with frame drops down to 48fps and an average fps of around 55.
In my opinion it can't be a GPU problem if I get these values, but rather a case of maybe bad CPU optimisation? (As one core was used around 100% during testing)
Don't get me wrong you've probably optimised it as best as you could, but for example my game SoW which is rendered in 1080p with downscaling of some assets etc. has a by far more stable performance (60fps fluid) on my machine and on a laptop with something like 2x 1.8GhZ and an Intel HD3000 where I got around 20-30fps.
Additionally to that, the fact that you get better performance with Canvas2D is quite shocking, because when I tested SoW with Canvas2D I barely got around 10fps on my pc
Quite weird the whole case, I'll just follow this case and see if I may get an idea at some point as to why it happens.
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
23
S
10
G
7
Posts: 253
Reputation: 4,891

Post » Mon Mar 02, 2015 1:46 pm

@sqiddster - Not testing the demo you provided yet, but I've play the demo of Airscape on Steam. It's really slow on my old Lenovo netbook. But on my new HP laptop, it only slow on game and level startups (also on the level completion state) and back to appropriate FPS.

My new HP laptop specs:
  • Windows 8.1 x64
  • AMD A8-6410 APU with AMD Radeon R5 Graphics
  • 2.00 GB RAM (1.70 GB usable)
B
101
S
24
G
11
Posts: 696
Reputation: 12,834

Post » Mon Mar 02, 2015 8:53 pm

sqiddster wrote:"I've talked with Ashley about this being a C2 issue but he's assured me that C2 doesn't handle stuff like vsync and input latency."


Didn't he release r198 saying "There's also a tweak to try to improve the framerate smoothness".

Talk about discrepancies.
The moderators are corrupt and ban for no reason, especially that condescending neckbeard asshole Kyatric. The forums are filled with fanboys.
Banned User
B
22
S
7
G
1
Posts: 558
Reputation: 2,925

Post » Mon Mar 02, 2015 9:10 pm

@SgtConti It's definitely true that there's some more CPU optimization that can be done. However I know that it's definitely a GPU issue, because if you shrink the window size enough, the game will certainly run at 60fps (except, I guess, on super slow CPU's). If that's not the case for you, please do let me know.

@Tetriser Well that's interesting that on an entry-level AMD chip, the game is fine. Are you *sure* about that? Did you try native (auto) resolution? Even if not, was it a stable fps all the time during gameplay?
B
92
S
30
G
24
Posts: 3,191
Reputation: 32,584

Post » Mon Mar 02, 2015 9:21 pm

@Nesteris it was just changing when the next frame will be requested, it was requested late before, which could be too late on some circumstances, now it is the first think it does, so there is indeed nothing related to the framerate done by C2, C2 just asks the browser to do it, how it does it however has been changed.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
43
S
18
G
18
Posts: 2,106
Reputation: 16,436

Post » Mon Mar 02, 2015 10:24 pm

@sqiddster I tried that, and while it did help with getting 60fps a bit more often the fps still tanked down to 40 (48) fps at times with alot of jittering.
//Note: I would be very interested to see the capx of the stripped down version to see if I may identify something from there on.
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
23
S
10
G
7
Posts: 253
Reputation: 4,891

Post » Mon Mar 02, 2015 10:43 pm

... And I am sitting here in 10-30FPS on my 6 year old laptop. Things started to go wonky in 2d just when HTML5 came....

Like I should buy a high end gaming pc just for 2d web games.
B
6
S
2
Posts: 24
Reputation: 531

Post » Mon Mar 02, 2015 11:13 pm

@SgtConti

Just for clarification, did you try shrinking the window down ridiculously small? Did you get 60fps then? If not, then there's definitely some stuff that needs working out. The jittering seems to mostly be caused by fillrate issues which leads me to assume it's still GPU related.

Unfortunately I can't share the capx as there's a lot of copyrighted material in there.
B
92
S
30
G
24
Posts: 3,191
Reputation: 32,584

Post » Tue Mar 03, 2015 12:44 am

@sqiddster

It may involve some work, but the best approach here would be to strip down a capx as much as possible and post it. Otherwise, we're all just taking shots in the dark. Can't you obfuscate/distort/watermark your resources somehow so that they wouldn't be re-useable?

SgtConti's results are particularly bizarre...I wouldn't exactly call that a 'mid-range' system, unless we are throwing $5000 alienware's into the mix. No C2 game should be struggling on a computer like that.

Really feel for you on this, and I hope you can figure it out somehow... :(
Don't lose your work. Backup your game with Dropbox.
B
43
S
10
G
10
Posts: 1,106
Reputation: 9,157

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests