Flappy Bird for Android, only C, under 100KB
Flappy Bird for Android, only C, under 100KB

Contribute to VadimBoev/FlappyBird development by creating an account on GitHub.

Flappy Bird for Android, only C, under 100KB
Contribute to VadimBoev/FlappyBird development by creating an account on GitHub.
What's the size of the music/graphics/game code/stuff that is needed for any app to run on Android?
I believe (without knowing for sure) that you could make a similar game much smaller by "rendering" the music and some of the graphics.
"rendering" the music and some of the graphics.
I think that's what's called procedural audio/graphics. For audio, it's like building synthesizers into the game, to then be able to play the music/fx as a program (sort of like sheet music) instead of an audio file.
The music doesn't have to be completely synthesized.. Most early computers would simply reuse the audio snippets as "samples", and program the pitch and timing in a "tracker"
Listening to the Flappy Birds music, which I admit that I did, then all of the music could be done in a tracker, even if it might not have been originally. It's a bit of a lost art form, but there are several kilobytes to save!
Personally, I have been considering making a HTML5 game, including the sonvix DLL, to make it really easy to put tiny yet advanced music files into a cross platform browsable game. Haven't gotten around to it though..
Impressive, I gotta say
Very impressive, even if broken on high refresh rate devices.
Thanks for pointing this out, was wondering why it was faster than lightning lol
Super Mario Bros on the NES came in at 31 kB, and it was a bit more of a game. 100 kB for Flappy Bird isn't all that impressive.
Buddy super mario bros was coded in 6502 assembly and required the devs to use every data saving trick in the book like metasprites, sprite flicker, tilesets, color pallets, etc.
Android apps can be notoriously overhead bloat from Java, so for the modern age this is decently impressive.
Having to support one type of device allows for a lot more optimisation than supporting thousands
Android has a massive built-in library of supporting functions that abstracts away most of the differences between devices, including support libraries for older versions of Android, and Flappy Bird is almost the "hello world" of gamws writing.