D
Doooooli
Guest
I need some help! I have buttons with the draw event:
draw_self()
draw_set_halign(fa_center);
draw_set_valign(fa_middle);
draw_set_font(fnt_gameplay2);
draw_set_color(c_orange);
draw_text(x,y,text);
and it draws the text where i want (on the middle of the buttons)
but the problem is all my other text in the game get's affected by the valign and halign, but i don't have those script in their draw event! So how do i fix so my other obj/text isn't affected by the buttons draw script? thx!
draw_self()
draw_set_halign(fa_center);
draw_set_valign(fa_middle);
draw_set_font(fnt_gameplay2);
draw_set_color(c_orange);
draw_text(x,y,text);
and it draws the text where i want (on the middle of the buttons)
but the problem is all my other text in the game get's affected by the valign and halign, but i don't have those script in their draw event! So how do i fix so my other obj/text isn't affected by the buttons draw script? thx!