anima
Member
Hi!
so i wanted to mess around with surfaces for an UI and it dint work
it dint draw the surfaces i tried following a tutorial that worked right before but now it just doenst work
it doesnt draw the surface please help.
CODE:
so i wanted to mess around with surfaces for an UI and it dint work
it dint draw the surfaces i tried following a tutorial that worked right before but now it just doenst work
it doesnt draw the surface please help.
CODE:
GML:
if surface_exists(surf){
surface_set_target(surf)
draw_sprite(sprite1,0,mouse_x,mouse_y)
surface_reset_target()
}else{surf=surface_create(640,360)
surface_set_target(surf)
draw_clear_alpha(c_black,0.75)
surface_reset_target()
}
Last edited: