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
20
S
7
Posts: 118
Reputation: 1,769

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
27
S
18
G
22
Posts: 116
Reputation: 19,944

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
20
S
7
Posts: 118
Reputation: 1,769

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
27
S
18
G
22
Posts: 116
Reputation: 19,944

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
20
S
7
Posts: 118
Reputation: 1,769

Post » Tue Jul 18, 2017 3:36 pm

On the left of the page are Translations.
ImageImageImage
B
72
S
22
G
290
Posts: 3,886
Reputation: 159,513

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
52
S
13
G
1
Posts: 581
Reputation: 4,641

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
20
S
7
Posts: 118
Reputation: 1,769

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.
B
179
S
50
G
208
Posts: 8,721
Reputation: 128,810

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
54
S
33
G
95
Posts: 435
Reputation: 53,546


Return to Construct 2 General

Who is online

Users browsing this forum: Ashley and 7 guests