Skip to content

r0naaal/flappy-bird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flappy Bird (Java Swing)

This project is a simple Flappy Bird clone made with Java Swing.

It was inspired by someone else's project—I was interested in how a game was made and wanted to try building one myself. At the time, Swing was the only GUI technology I knew, so that's what I used. Through this little project, I learned a lot about the basics of game development, including animation, collision detection, and handling user input.

Fun fact:
When I finished this, I thought making games was always this straightforward. But when I tried to make a 2D platformer, I quickly realized it's a lot more complex than it seems! I'll leave game development to the experts, but I really enjoyed the learning experience with this project.


How to Use

  1. Clone or download this repository to your computer.

  2. Make sure you have Java installed (JDK 8 or higher recommended).

  3. Ensure you have the images in the correct folders:
    Place all required images in resources/images/:

    • background.jpg
    • flappybird.png
    • toppipe.png
    • bottompipe.png
  4. Compile the project: javac -d bin -sourcepath src FlappyBird.ja

  5. Run the project: java -cp bin FlappyBird


Thanks for visiting! Feel free to modify anything.

About

Simple Flappy Bird clone

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages