I created a very simple 2d game with corgi engine and deployed it to my website.
Its running great on windows but as soon as i hit the fullscreen button when running it on a mac, the game stutters as if its skipping frames, the game doesnt slow down and the fps counter still shows it caps at 80fps.
i tried setting the targetframerate at 30 and turn off vsync but for some reason, it’s not working.
1 Answer
1
i’ having the exact same trouble and still try to figure out how to solve this. It looks like it has something to do how webGL renders the frames. What I tried was to use a fixed framerate. this is not a perfect solution but at least it reduced the stuttering.
void Start()
{
Application.targetFrameRate = 30;
}
I also found this thread but don know if that helps: opengl - Unintended stuttering when moving camera - Game Development Stack Exchange