Skip to content

px7nn/Flappy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flappy (Raylib + C)

A simple reimplementation of Flappy Bird built using low-level C and the raylib library.
This project was created to understand game development fundamentals from scratch—without relying on heavy game engines.

Image

About the Project

This project focuses on learning how games actually work under the hood:

  • Game loop (Init → Update → Draw)
  • Frame-independent movement using delta time
  • Basic physics (gravity & jump mechanics)
  • Dynamic obstacle generation (pipes)
  • Modular code structure with headers and source files

The goal was not to build a polished game, but to build a strong foundation in low-level game development.

Project Structure

.
├── build/              # Compiled executable
├── raylib/             # Raylib headers and libraries
├── src/
│   ├── main.c          # Entry point
│   ├── game.c          # Game loop logic
│   ├── player.c        # Player mechanics
│   ├── pipes.c         # Pipe system
│   ├── ground.c        # Ground rendering
│   └── include/        # Header files
├── Makefile
└── README.md

How to Run

1. Install Dependencies

  • C compiler (MinGW / GCC)
  • raylib

2. Build & Run

mingw32-make run

Or download the prebuilt executable from the Releases section.

Controls

  • SPACE → Jump

⚠️ Notes

  • This project is intentionally simple and not optimized for production
  • Built purely for learning and experimentation

About

A simple reimplementation of Flappy Bird.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors