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! :)
P#34444 2016-12-29 13:58 ( Edited 2017-01-07 00:09)
Instead of comparing letter to every character, you can use much simpler function like posted here: https://www.lexaloffle.com/bbs/?tid=2420
P#34455 2016-12-29 16:34 ( Edited 2016-12-29 21:34)
[Please log in to post a comment]