• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Surface is drawn in the wrong position in fullscreen.

hijong park

Member
I'm made a minimap with surface, This is how I made it :

Code:
if(surface_exists(surf)==false)
{surf = surface_create(140, 140);}
surface_set_target(surf);
draw_clear_alpha(c_black,0);

(Drawing sprites that are needed for minimap)

surface_reset_target();
draw_surface_ext(surf,800,300,1,1,0,image_blend,1)




It works fine when The game is not in fullscreen, But in the fullscreen mode the surface is drawn in the wrong position. The size is slightly smaller as well. How to fix this problem ?
 
Top