Y
Hacker News
new
|
ask
|
show
|
jobs
by
rileymat2
564 days ago
It uses a sprite sheet png file. I am curious how you would target a simpler machine without a bunch of code to display those. I am having trouble picturing this.
1 comments
robinsonb5
564 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.
link
spookie
563 days ago
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.
link