Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var font, text
- x = argument0;
- y = argument1;
- text = argument2;
- font = argument3;
- alpha = "abcdefghijklmnopqrstuvwxyz0123456789"
- for(i = 1; i <= string_length(text); i++){
- offset = 5;
- image_speed = 0;
- if(string_char_at(text,i) != " ")
- draw_sprite(font,string_pos(string_char_at(string_lower(text),i),alpha)-1,x + ((i-1) * offset),y);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement