Hello,
I just encountered this problem while following the Little Town tutorial by Game Maker.
I set my font exactly as it is presented : Arial, size 28, auto-aliase : yes.
here is my textbox draw event
and here is its create event :
But the visual output is still in one line, size 12, default police. Only the alignment and the color are aknowledged.
Can someone please help?
Thank you
I just encountered this problem while following the Little Town tutorial by Game Maker.
I set my font exactly as it is presented : Arial, size 28, auto-aliase : yes.
here is my textbox draw event
GML:
//Draw textbox
draw_self()
//Draw text
draw_set_font(font_textbox);
draw_set_color(c_black);
draw_set_halign(fa_center);
draw_set_font(fa_middle);
draw_text_ext(x,y,textToShow,lineHeight,textWidth)
GML:
//Textbox variables
textToShow = "Here is some looong teeeext. Long enough to fit in two different lines";
textWidth = 450;
lineHeight = 28;
Can someone please help?
Thank you