百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
F

FlappyBird

> 编程语言
开源

小于 100 KB。适用于 Android 5.0 及更高版本

2.4K stars0 点赞2 次浏览
访问官网GitHub

工具介绍

小于 100 KB。适用于 Android 5.0 及更高版本

Readme на русском языке

Dev blog in Telegram (ENG/RU)

Flappy Bird in C: APK Size < 100 Kilobytes!

History:

It all started in 2021 when I stumbled upon rawdrawandroid. My goal was simple: to create a game with the minimal APK size, yet still be understandable and interesting.

The idea of making a Flappy Bird clone seemed logical, given that this game had already been ported to many languages.

In 2021, I also studied Raylib, but my first attempt to make a game in C++ using ImGui failed.

The problems were everywhere: the APK size was around 1 MB, the game crashed, and the APK only contained the armeabi-v7a library (Google's 2022 requirements state that the arm64-v8a library must be included!).

Motivation:

In September 2024, seeing Flappy Bird in C# in the Raylib Discord channel, I decided to try implementing this game in C for Android with an APK size of less than 100 KB.

The idea seemed crazy, but the competitive interest took over.

️ Implementation:

I started by compiling a "Hello World" in C and packaging the library into an APK.

Sounds were compressed to MP3 format, and OpenSLES was used for playback.

For PNG file decoding, I chose upng. ️

All of this was combined using OpenGL ES 2, shaders, and Android Native Activity.

Build:

Visual Studio Code (Windows)

  1. Create .env from .env.example
  2. Run build.bat

Linux and macOS (Makefile)

For Linux and macOS users, you can build the project using the provided Makefile:

  1. Install the Android command-line tools.
  2. Set up your environment variables in a .env file in the project root directory (see .env.example for an example).
  3. Build the project:
    bash
    cd FlappyBird
    make

For more detailed instructions, please refer to BUILDING.md.

The signed APK will be generated at: FlappyBird/app/build/outputs/apk/FlappyBird-signed.apk

Copyright:

I do not claim any copyright. The rights to the game and resources belong to DotGEARS.

Inspiration:

  • rawdrawandroid
  • Flapper
  • Raylib
  • ImGui

Star History


Enjoy the game and don't forget to star it!

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Candroidapkcgame

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言