Log In  

Played around with YellowAfterLife's char-functions, and ended up creating a C64-sprite-font at the same time...

I guess this has already been done a thousand times here, probably much better than this... but I just had to do my own version.

Any help with minimizing/optimizing this further would be cool.
Thanks also to Lumiette for the inspiration. :)

/ Pingo

Cart [#50143#] | Code | 2018-03-09 | No License | Embed

P#50142 2018-03-09 10:44 ( Edited 2018-03-09 20:23)

:: Felice

A minor side note:

If you're not going to use the full ascii charset, but rather a short subset ordered to your own tastes, it can be useful to put the numbers right before the letters, e.g.:


That way you can grab the hex digit for a value 0-15 by sub(chars,value+1,value+1).

Otherwise, seems pretty reasonable to me. Very C64. ;)

P#50149 2018-03-09 13:01 ( Edited 2018-03-09 18:02)
:: pingo

Thanks for that tip, Felice! Will do in the future.

I KNEW there was something I missed. :)

/ Pingo

P#50151 2018-03-09 15:23 ( Edited 2018-03-09 20:23)

[Please log in to post a comment]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-10-15 09:48 | 0.017s | 2097k | Q:21