GMK 
 Create: 
 Код
keyboard_string = "Type something..." 
 runline_text = keyboard_string 
 runline_pos = 0 // offset (in pixels) 
 runline_space = 30 // space after the end of text
 Step: 
 Код
runline_text = keyboard_string 
 runline_pos += 4
 Draw: 
 Код
draw_set_font(fnt_runline) 
 var p, w, i, dw; 
 w = string_width(runline_text) + runline_space 
 if (w > 0) { 
     p = runline_pos 
     p = (p mod w) + (p < 0) * w 
     dw = room_width // output width 
     i = max(2, ceil(dw / w)) 
     while (i >= 0) { 
         draw_text(i * w - p, 50, runline_text) 
         i -= 1 
     } 
 }