Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function print_vert(scroll,dir,x,y,texto,tamaño,colore,colorsombra)
- if not colore then colore = color.new(255,255,255) end
- if not colorsombra then colorsombra = 0x0 end
- if not tamaño then tamaño = 0.77 end
- for i = 1, #texto do
- if dir == "up" then
- screen.print(x,y-(i-1)*scroll,string.sub(texto,i,i),tamaño,colore,colorsombra)
- elseif dir == "down" then
- screen.print(x,y+(i-1)*scroll,string.sub(texto,i,i),tamaño,colore,colorsombra)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement