Написал известную игрушку под KolibriOS. Язык разработки - C++, компилятор - msvc
Сорцы вместе со сборкой тут https://github.com/zorggish/KolibriOS-FlappyBird/
Весит 6кб, после сжатия kpack'ом - 1кб
Суть очень простая, летит птичка, падая под воздействием гравитации. На пробел подпрыгивает. Задача - облетать трубы, не сталкиваясь с ними и не падая.
Если кто-то нарисует небольшого размера спрайт птички колибри, хорошо видный на голубом фоне, будет очень здорово
Скрины:
Spoiler:
Любым советам, указаниям на плохие моменты в коде, пояснениям как и в чём можно было лучше - буду только рад!
Really cool to see Flappy Bird running on KolibriOS – smooth and surprisingly compact already. I like the idea of squeezing the final binary under 2048 bytes too — maybe worth experimenting with lighter fonts or more aggressive compression (UPX? smaller bitmap fonts?). io games
jimwoods wrote: ↑Thu Jun 26, 2025 1:00 pm
Really cool to see Flappy Bird running on KolibriOS – smooth and surprisingly compact already. I like the idea of squeezing the final binary under 2048 bytes too — maybe worth experimenting with lighter fonts or more aggressive compression (UPX? smaller bitmap fonts?). io games
Currently, we try to rewrite all MSVC programs to GCC/TCC/FASM, so will be good to do this all together with size optimization.