T
Tenten2016
Guest
In the Object's Draw Event
if (time < text_length)
{
time += spd;
print = string_copy(text,0,time)
}
Render Text box code:
draw_set_alpha(alpha);
if (alpha < 1) alpha += spd/10; else alpha = 1;
draw_set_font(font0);
draw_set_color(c_blue);
draw_rectangle(x,y,x+boxwidth,y+boxheight,0);
draw_set_color(c_black);
draw_rectangle(x,y,x+boxwidth,y+boxheight,1);
draw_set_color(c_white);
draw_set_halign(fa_left);
draw_set_valign(fa_top);
draw_text_ext
(
x + padding,
y + padding,
print,
font_size+(font_size/2),
maxlength
);
draw_set_alpha(1);
_______
I'm not able to find any resources here on GMC, Reddit, or Youtube that teaches you how to manipulate the code to put the textbox and the text in different areas in the room. How can I make my text box be position like this image?
if (time < text_length)
{
time += spd;
print = string_copy(text,0,time)
}
Render Text box code:
draw_set_alpha(alpha);
if (alpha < 1) alpha += spd/10; else alpha = 1;
draw_set_font(font0);
draw_set_color(c_blue);
draw_rectangle(x,y,x+boxwidth,y+boxheight,0);
draw_set_color(c_black);
draw_rectangle(x,y,x+boxwidth,y+boxheight,1);
draw_set_color(c_white);
draw_set_halign(fa_left);
draw_set_valign(fa_top);
draw_text_ext
(
x + padding,
y + padding,
print,
font_size+(font_size/2),
maxlength
);
draw_set_alpha(1);
_______
I'm not able to find any resources here on GMC, Reddit, or Youtube that teaches you how to manipulate the code to put the textbox and the text in different areas in the room. How can I make my text box be position like this image?