Are Global Layers pulling down the FPS?

Discussion and feedback on Construct 2

Post » Tue Jul 18, 2017 12:34 pm

Hey,
I am confused here, i am making a pretty complex game in construct 2 and Whenever i turn on a layer to global
the fps gets dropped down to 35 from 58 (before),
I tried to recreate this in a new project with two layouts and a global layer but everything worked fine there , may be its not considerably visible when objects are less!
Any ideas why i may be facing this issue?
B
16
S
5
Posts: 82
Reputation: 1,237

Post » Tue Jul 18, 2017 12:52 pm

Already verified if there are not many objects on the scene, or if the images are not very large (Mb) ...
Huemerson
B
19
S
14
G
19
Posts: 86
Reputation: 14,344

Post » Tue Jul 18, 2017 2:42 pm

Huemerson wrote:Already verified if there are not many objects on the scene, or if the images are not very large (Mb) ...

What does that mean, please be more specific !
B
16
S
5
Posts: 82
Reputation: 1,237

Post » Tue Jul 18, 2017 3:16 pm

https://www.scirra.com/tutorials/298/pe ... ames/pt-br

Try this manual, where I got this idea of optimizing objects to improve performance ...
Huemerson
B
19
S
14
G
19
Posts: 86
Reputation: 14,344

Post » Tue Jul 18, 2017 3:21 pm

Ok thanks i will read it!
@Huemerson
PS: what language is this???
can i convert it in english? , if not.... please tell me what you have learnt from it!!!....
B
16
S
5
Posts: 82
Reputation: 1,237

Post » Tue Jul 18, 2017 3:36 pm

On the left of the page are Translations.
ImageImageImage
B
71
S
21
G
231
Posts: 3,688
Reputation: 129,352

Post » Tue Jul 18, 2017 3:44 pm

I do find the article Huemerson posted a bit ... interesting. Basically what I'm getting from the performance tips there is the best way to optimize your game is not to make the game at all.

I'm not sure my fps slowdown is from global layers, but I am using a lot of them, too, and have over 400 invisible objects on all of them combined. Has anyone else had issues with this?
B
40
S
12
G
1
Posts: 532
Reputation: 4,147

Post » Tue Jul 18, 2017 3:51 pm

I want to add here : i ran a lot of tests today and found out that using fx effects for a layer is causing a major lag in the fps!!!! i am using fx effect - water !
Is there a way to avoid this??
B
16
S
5
Posts: 82
Reputation: 1,237

Post » Tue Jul 18, 2017 5:28 pm

Either the translation, or that tutorial is garbage. It's all hasty generalizations based on minor observations.
While it talks about many things that can bring performance down, it does not take into account that what really brings performance down is overuse.
Fx for example can be used sparingly, but some that are particularly gpu intensive are practically useless on a full screen.
Animated fx can often be replaced using other methods such as animated frames, etc.
Image ImageImage
B
169
S
50
G
169
Posts: 8,286
Reputation: 108,216

Post » Tue Jul 18, 2017 9:01 pm

[quote="ome6a1717"] Basically what I'm getting from the performance tips there is the best way to optimize your game is not to make the game at all.


Jejeje Funny :D :D lol, I thought the same thing when I first read that tutorial while ago, I got very discouraged to try the mobile games platform, I thought what is the point to even try it then.
B
38
S
22
G
63
Posts: 233
Reputation: 35,554


Return to Construct 2 General

Who is online

Users browsing this forum: scaffa, unicornspitfire, winsonzhong and 6 guests