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
18
S
7
Posts: 104
Reputation: 1,691

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
25
S
18
G
22
Posts: 114
Reputation: 18,581

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
18
S
7
Posts: 104
Reputation: 1,691

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
25
S
18
G
22
Posts: 114
Reputation: 18,581

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
18
S
7
Posts: 104
Reputation: 1,691

Post » Tue Jul 18, 2017 3:36 pm

On the left of the page are Translations.
ImageImageImage
B
71
S
22
G
249
Posts: 3,763
Reputation: 138,577

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
43
S
12
G
1
Posts: 545
Reputation: 4,246

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
18
S
7
Posts: 104
Reputation: 1,691

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
171
S
50
G
180
Posts: 8,396
Reputation: 113,986

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
40
S
23
G
83
Posts: 298
Reputation: 45,844


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests