thom
Member
Hi,
I want to update my game, the last update was in April 2020 and everything worked fine.
For the new update I will use the exact same version of the game, but using the latest GMS:2 release, IDE 2.3.1.542 Runtime 2.3.1.409.
The problem is when I want to record the screen with OBS Studio, I will have to press the windows key during the game to go to desktop start recording and come back to the game.
When I do that the FPS suddenly drops from 60 to 40, however when I press ALT+ENTER twice after that to go to windowed and back to fullscreen, FPS is suddenly back at 60 fps.
FPS drops also happens when recording in windowed mode. All of this didn't happen in the previous version of GMS:2 I used in April 2020.
Edit:
This seems to fix the FPS for fullscreen when returning to focus. However in window mode FPS is still low.
I want to update my game, the last update was in April 2020 and everything worked fine.
For the new update I will use the exact same version of the game, but using the latest GMS:2 release, IDE 2.3.1.542 Runtime 2.3.1.409.
The problem is when I want to record the screen with OBS Studio, I will have to press the windows key during the game to go to desktop start recording and come back to the game.
When I do that the FPS suddenly drops from 60 to 40, however when I press ALT+ENTER twice after that to go to windowed and back to fullscreen, FPS is suddenly back at 60 fps.
FPS drops also happens when recording in windowed mode. All of this didn't happen in the previous version of GMS:2 I used in April 2020.
Edit:
This seems to fix the FPS for fullscreen when returning to focus. However in window mode FPS is still low.
GML:
if !window_has_focus()
{
window_focus=0
}
if window_focus=0
{
if window_has_focus()
{
window_focus=1
if window_get_fullscreen()=true
{
window_set_fullscreen(false)
window_set_fullscreen(true)
}
}
}
Last edited: