Page 1 of 1

If there is an other window in the rect of the game window, the fps is very low

Posted: Tue Oct 11, 2016 4:18 am
by huhorler
I have set $Platform::backgroundSleepTime to 1,this fps is 59,but some window is in the rect of the game window,the fps down to 33.

Re: If there is an other window in the rect of the game window, the fps is very low

Posted: Tue Oct 11, 2016 9:56 am
by Duion
What do you mean? It is a feature that the game uses less resources if the program is in the background, so naturally the FPS drop as well. I would not recommend to disable that feature.

Re: If there is an other window in the rect of the game window, the fps is very low

Posted: Tue Oct 11, 2016 11:21 am
by huhorler
@
User avatar
Duion
I mean when the program is in the background, but it is show. If there is no window in rect of it. The fps do not drop.If there is a window in rect in it,the fps drop.

Re: If there is an other window in the rect of the game window, the fps is very low

Posted: Tue Oct 11, 2016 12:56 pm
by Duion
What does "rect" mean?

Re: If there is an other window in the rect of the game window, the fps is very low

Posted: Tue Oct 11, 2016 1:45 pm
by huhorler
Sorry my english is not very good.I means a window covering the game window area

Re: If there is an other window in the rect of the game window, the fps is very low

Posted: Tue Oct 11, 2016 2:13 pm
by Johxz