I'm using a surface to create a nice blur effect. (automatic drawing is off)
surface_set_target(sur); draw_clear_alpha(c_white,0); screen_redraw(); surface_reset_target(); draw_surface_ext(sur,0,0,1,1,0,c_white,0.3);
Here's the surface's creation code:
globalvar sur; sur=surface_create(1024,768); surface_set_target(sur); draw_clear_alpha(c_white,0); surface_reset_target();
This works nicely and all, but there's a small glitch... Look:
As you can see, moving objects leave a trail on the background. I don't want it there. I tried drawing the background and then each sprite separately, but it wouldn't work. ( nothing was drawn in that room ) So yeah... I kinda need some help...