News for hackers. Stuff that matters.
Re:Flappy Bird in 1000 lines of C by robinsonb5 on Sunday December 08, 2024 @11:59AM (#42358222)
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.
Re:Flappy Bird in 1000 lines of C by spookie on Sunday December 08, 2024 @09:07PM (#42362473)
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.