I wanted to make something that let me use different type-faces, so here's a rudimentary implementation of text-to-sprite.
I'd be quite happy to hear improvements, because I can't imagine my lookup table is the most effective method... >.>;
Hopefully, it'll be useful to someone! :)
Instead of comparing letter to every character, you can use much simpler function like posted here: https://www.lexaloffle.com/bbs/?tid=2420
Oh thank you~! I hadn't noticed your comment at all before just now! :o
[Please log in to post a comment]