Hacker News new | ask | show | jobs
by robinsonb5 558 days ago
There's no special reason it has to PNG, though - if you're aiming for minimum line-count without dependencies then just use a raw bitmap.
1 comments

You can just inline sprites in code too. Even though that would add at least one big line of code :)

This is how I do fonts in one of my projects.