hijong park
Member
I'm made a minimap with surface, This is how I made it :
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 ?
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 ?