P Paulenaz690 Member Jan 11, 2021 #1 Hello, how do I fix this? Whenever game loses focus, sometimes its shrunken down, so game position and mouse doesnt match or become black at all
Hello, how do I fix this? Whenever game loses focus, sometimes its shrunken down, so game position and mouse doesnt match or become black at all
L lukederdiedas Member Jan 12, 2021 #2 Does this appear even without any code, or did you change some Window options? At best try it in a new Project.
Does this appear even without any code, or did you change some Window options? At best try it in a new Project.
P Paulenaz690 Member Jan 12, 2021 #4 added those lines: surface_resize(application_surface, RESOLUTION_W, RESOLUTION_H); display_set_gui_size(RESOLUTION_W,RESOLUTION_H);
added those lines: surface_resize(application_surface, RESOLUTION_W, RESOLUTION_H); display_set_gui_size(RESOLUTION_W,RESOLUTION_H);
P Paulenaz690 Member Jan 12, 2021 #6 tried resetting things after game regains focus, but still nothing
P Paulenaz690 Member Jan 12, 2021 #8 its on fullscreen, shouldnt matter I think well, its supposed to be fullscreen
P Paulenaz690 Member Jan 12, 2021 #9 lukederdiedas said: How about window_set_size() ? Click to expand... That might fix the problem with size, but how do I fix the black screen
lukederdiedas said: How about window_set_size() ? Click to expand... That might fix the problem with size, but how do I fix the black screen
L lukederdiedas Member Jan 12, 2021 #10 What about the Game Options - Windows - Graphics - Allow fullscreen switching ?
P Paulenaz690 Member Jan 13, 2021 #12 made simple fix, by saving screen size while it has focus and applying it, when it doesnt