Log In  

Cart #widefont-0 | 2021-10-31 | Code ▽ | Embed ▽ | No License
8

Wide font

A wide font using only P8SCII characters overlayed onto each other. Uses 76 tokens, feel free to use it with credit!

function wide(t,x,y,col)
    --credit to yolwoocle
    t1= "                ! #$%&'()  ,-./[12345[7[9:;<=>?([[c[efc[ij[l[[([([st[[[&yz[\\]'_`[[c[efc[ij[l[[([([st[[[&yz{|}~"
    t2="                !\"=$  '()*+,-./0123]5678]:;<=>?@abcdefghijklmnopqrstuvwx]z[\\]^_`abcdefghijklmnopqrstuvwx]z{|} "
    n1,n2="",""
    for i=1,#t do
        local c=ord(sub(t,i,i))-16
        n1..=sub(t1,c,c).." "
        n2..=sub(t2,c,c).." "
    end
    if(col!=nil)color(col)
    print(n1,x,y)
    print(n2,x+1,y)
end
P#99417 2021-10-31 08:24

¿I can use this for pixel arts?
I love how each letter is designed

P#103310 2021-12-22 05:38

@Ivan245f Feel free to use it, as long as you credit me!

P#103327 2021-12-22 12:52

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-16 23:20:12 | 0.029s | Q:20