Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ImKennyYip/flappy-bird-java

Repository files navigation

In this tutorial, you will learn to create the flappy bird game with the built-in java awt/swing graphics library.

Throughout the tutorial, you will learn how to create the game loop, create a jframe and jpanel, draw images on the jpanel, add click handlers to make the flappy bird jump, randomly generate pipes and move them across the screen, detect collisions between the flappy bird and each pipe, and add a running score.

How to setup Java with Visual Studio Code

flappybird-ss

AltStyle によって変換されたページ (->オリジナル) /