BACK TO PROJECTS
DESKTOP · JAVA GAME

Flappy Bird

A desktop recreation of the classic Flappy Bird game built with Java Swing. Features gravity-based physics, collision detection, progressive difficulty levels, audio handling, and a clean OOP design.

Java Swing AWT javax.sound OOP IntelliJ IDEA

What Is This Project?

Flappy Bird is a fully playable desktop game built using Java Swing and AWT. The project demonstrates core game development concepts including physics simulation, real-time collision detection, game loop management, and audio handling.

The game features three difficulty levels — Easy, Medium, and Hard (WIP). Easy mode has static pipes with gradual speed increase, while Medium adds dynamic pipe movement up and down for greater challenge.

All audio and image assets are loaded using classpath-based resource handling, ensuring compatibility in both IDE and packaged JAR files.

Game Physics

Gravity-based movement with jump velocity, smooth falling, and speed scaling after score intervals.

Collision Detection

Real-time accurate collision detection with pipe obstacles and boundary checks.

Difficulty Levels

Easy — static pipes. Medium — dynamic moving pipes. Hard — enemy obstacles (WIP).

Audio & Settings

Background music, coin and death sounds. In-game settings panel with mute, restart, and home options.

UI Preview

Login Admin Dashboard User Dashboard