How to Make Flappy Bird Game in Scratch | Coin Collection Game in Scratch | Scratch Coding for Beginners

Published By Kodex Academy — Learn. Build. Innovate.
How to Make Flappy Bird Game in Scratch Coin Collection Game in Scratch Scratch Coding for Beginners

Introduction – Flappy Bird Game in Scratch

Have you ever wondered how people create fun games like Flappy Bird without writing a single line of code? With Scratch programming, anyone — from complete beginners to young creators — can build exciting games simply by dragging and dropping visual blocks. In this tutorial, you’ll learn how to make a Flappy Bird game in Scratch, and not just the regular one — we’re adding a fun twist: 💰 Coin Collection Mechanics!

📺 YouTube Tutorial — How to Make Flappy Bird Game + Coin Collection Game in Scratch

Your bird will flap through moving pipes while collecting coins to boost its score, making gameplay more engaging than the original Flappy Bird. Along the way, you’ll explore must-learn concepts such as gravity, costume animation, clone-based obstacles, collision detection, score tracking, and win/game-over logic.

If you’ve been searching for:

  • How to make games in Scratch
  • Scratch programming games
  • Flappy Bird game in Scratch
  • Coin collection game in Scratch
  • Scratch games tutorial easy

…this guide is perfect for you!

Whether you’re learning Scratch at school, teaching kids to code, or simply exploring game development for fun, this hands-on, beginner-friendly project will help you build a polished game step by step.

So get ready — let’s flap into Scratch and start creating!

What You Will Learn

  • How to create sprites in Scratch
  • How to animate costumes
  • How to create gravity + physics motion
  • How to scroll backgrounds
  • How to generate obstacles using clones
  • How to add collectible objects
  • How to detect collisions
  • How to create scoring systems
  • How to create game win & game over screens

Step-by-Step Coding – Flappy Bird Game in Scratch

What is Scratch?

Scratch is a beginner-friendly block-based programming platform developed by MIT Media Lab. It helps kids and adults learn programming logic, animation, and game creation visually.

Official Website → https://scratch.mit.edu

If you’re new here, sign up and open the editor.

Step 1 — Add the Bird Sprite

You can upload your own sprite or use premade Flappy Bird artwork.

Rename the sprite to: Flappy Bird

  • Add costumes → (flapping animation)
  • Import all bird costumes.

Reduce size:

Set size to 50%

Step 2 — Add Scrolling Background

Instead of switching backdrops, we will use backdrop images as sprites.

Upload the background sprite twice:

  • ✅ backdrop1
  • ✅ backdrop2 – Flip backdrop2 horizontally for seamless texture

Resize to fill.

Code (Backdrop1)

when green flag clicked
go to back layer
go to x:0 y:0
forever
    change x by -5
    if <(x position) < -460> then
        go to x:465 y:0
    end
end

Code (Backdrop2)

when green flag clicked
go to back layer
go to x:465 y:0
forever
    change x by -5
    if <(x position) < -460> then
        go to x:465 y:0
    end
end

✅ Result → Continuous scrolling background

Step 3 — Bird Movement (Gravity + Jump)

  • Create variable → y velocity

Code

when green flag clicked
go to x:0 y:0
set [y velocity] to 0
forever
    change y velocity by -1
    change y by (y velocity)
end

Space Key → Jump

when [space] key pressed
set [y velocity] to 10
point in direction 60

Costume Animation

forever
    next costume
    wait 0.05
end

Now the bird flaps naturally and falls like real physics.

Step 4 — Add Pipes (Obstacles)

Upload obstacles with 3 different costume variations.

Clone Pipes Continuously

when green flag clicked
hide
forever
    wait (2) seconds
    create clone of myself
end

Clone Behavior

when I start as clone
go to x:240 y:(random position?)
switch costume to (pick random 1–3)
show
repeat until <(x position) < -240>
    change x by -5
end
delete this clone

✅ Pipes now spawn & move left.

Step 5 — Track Pipes Passed

  • Create variable: obstacles crossed

Code

when green flag clicked
set [obstacles crossed] to 0
when I start as clone
if <(Flappy Bird x position) > (x position)> then
    change [obstacles crossed] by 1
    stop this script
end

Step 6 — Coins (Collectibles)

  • Upload coin sprite
  • Resize to 20%

Use same clone system from obstacles (copy and adjust)

Remove costume switching.

Code

when I start as clone
go to x:240 y:(random)
show
repeat until <(x position) < -240>
    change x by -5
end
delete this clone

Step 7 — Coin Scoring

  • Make variable – coin collection

Default

when green flag clicked
set [coin collection] to 0

Detect coin collision (inside bird logic)

if <touching [coin]> then
    play sound (coin)
    wait 0.5
    change [coin collection] by 1
end

Step 8 — Win & Game Over Screens

  • Create Backdrop3
  • Make 3 costumes:
  1. Default
  2. You Win
  3. Game Over

Broadcast Messages

if <(coin collection) > 4> then
    broadcast [You Win]
    hide
    stop all
end

if <touching [obstacle] or touching [edge]> then
    broadcast [Game Over]
    hide
    stop all
end

Backdrop Reception

when I receive [You Win]
switch costume to [You Win]
show
play sound (win)
stop all
when I receive [Game Over]
switch costume to [Game Over]
show
play sound (lose)
stop all

✅ Game finished!

Final Game on YouTube – How to Make Flappy Bird in Scratch | Coin Collection Game in Scratch | Scratch Coding for Beginners

Enhancements You Can Add

1) Difficulty Increase

Increase pipe speed over time:

set [speed] to 5
forever
    change [speed] by 0.1
end

Use speed variable instead of fixed -5.

2) Add High Score

if <(coin collection) > (high score)> then
    set [high score] to (coin collection)
end

3) Animation of Coins

forever
    next costume
    wait 0.2
end

4) Add Restart Button

Add sprite → Button

when this sprite clicked
broadcast [restart]

External Learning Resources

TopicLink
Scratch official sitehttps://scratch.mit.edu
Scratch tutorialshttps://scratch.mit.edu/projects/editor/?tutorial=getStarted
Flappy Bird historyhttps://en.wikipedia.org/wiki/Flappy_Bird

Conclusion

Congratulations! You’ve just built your very own Flappy Bird + Coin Collection game in Scratch — complete with animated movement, scrolling background, coins, obstacles, scoring, and exciting end-game screens. Along the way, you explored essential Scratch programming concepts such as cloning, sensing, events, variables, costume switching, and collision detection — all of which form the foundation for creating more advanced games.

By adding collectible coins and a win condition, this project goes beyond the traditional Flappy Bird game and introduces richer gameplay mechanics. Even better? You achieved all of this without typing a single line of code — simply by snapping together logic blocks inside Scratch!

Now that you understand how to make games in Scratch, try experimenting further:

  • ✅ Add sound effects or background music
  • ✅ Increase difficulty over time
  • ✅ Display high scores
  • ✅ Add power-ups, shields, or extra lives
  • ✅ Customize sprites or themes

Each enhancement helps you think creatively and improve your programming mindset.

If you’re excited to keep learning, check out more Scratch games and tutorials on our channel and continue exploring what you can build. The possibilities in Scratch are endless — from simple animations to fully interactive adventures.

So keep experimenting, keep building, and most importantly… have fun coding! 🎉

Call to Action

  1. Don’t forget to check out the full video tutorial: How to Make Flappy Bird in Scratch | Coin Collection Game in Scratch | Scratch Coding for Beginners
  2. Like, comment & share the video
  3. Visit kodexacademy.com
  4. subscribe to the Kodex Academy YouTube channel for deeper Scratch content.

Happy coding with Kodex Academy! 🚀

Learn More with Kodex Academy

At Kodex Academy, we’re passionate about helping students learn coding in creative ways. This project teaches more than Scratch—it empowers young minds to build tools that work in the real world.

Explore more:

Stay updated with new content, free tutorials, and coding challenges!

Further Reading & Links

Recent Posts

How to Create a Health Bar Animation in Scratch: Healthy vs. Junk Food Game Tutorial

How to Make a Health Bar in Scratch | Healthy vs Junk Food Game | Scratch Animation | Kodex AcademyCreating fun and engaging games in Scratch not only helps kids learn coding, but also encourages...

How to Create a Basketball Game in Scratch: Full Step-by-Step Tutorial (Moving Hoop, Jumping Ball & Scoring)

Are you ready to create an exciting basketball game in Scratch with a moving hoop, jumping player, and real-time scoring? This step-by-step Scratch game tutorial is perfect for beginners who want to...

How to Make 3D Shapes in Scratch – Draw Cubes, Pyramids & Cylinders Using Pen Extension

If you’ve ever wondered how to make 3D shapes in Scratch or create 3D geometry using code, you’re about to dive into a creative world of math, animation, and programming fun. Learn how to make...

How to Make Flappy Bird Game in Scratch | Coin Collection Game in Scratch | Scratch Coding for Beginners

Have you ever wondered how people create fun games like Flappy Bird without writing a single line of code? With Scratch programming, anyone — from complete beginners to young creators — can build...

How to Make Day & Night Animation in Scratch (Step-By-Step Full Tutorial)

If you’ve ever wondered how to make day and night animation in Scratch or wanted to bring your stories and games to life with realistic sky transitions, this tutorial is perfect for you! Scratch is...

How to Make a Shooting Game in Scratch | Jet Shooting Game Tutorial (Step-By-Step Guide)

Introduction - Jet Shooting Game in Scratch Scratch Tutorial Game | Scratch Game Tutorial Easy | Scratch Programming Games | Jet Shooting Game in ScratchWant to build your first arcade-style...

Top 5 Animations in Scratch: Jump, Bounce & Fly (Beginner Tutorial + Code)

In this step-by-step guide, we explore the Top 5 animations in Scratch games that will make your projects smoother, interactive, and fun to play. You’ll learn: ✅ How to make a sprite jump ✅ How to...

How to Make a Tic-Tac-Toe Game in Scratch – Easy Scratch Tutorial for Beginners

We are going to build the all-time favourite logic game in Scratch: Tic‐Tac‐Toe. In this game two players take turns making X and O on a 3×3 grid. The first one to get three in a row — across, down or...

How to Make a Real-Time Wall Clock in Scratch | Step-by-Step Scratch Tutorial

If you’ve ever wondered how to make a real-time wall clock in Scratch, you’re in the right place! In this step-by-step Scratch tutorial, we’ll show you how to build a fully functional analog clock...

How to Make a 3-Level Platformer Game in Scratch | Mario-Style Hen Adventure Game

Have you ever wanted to build your own Mario-style platformer game in Scratch? This step-by-step guide will walk you through how to make a 3-level platformer game in Scratch — featuring a jumping hen...

How to Make a Math Racing Game in Scratch | Game Concepts and Complete Tutorial

In this tutorial, you’ll learn to build a Math Racing Game in Scratch. Players solve math problems to move their character forward; wrong answers benefit the opponent. It’s a race of speed, accuracy...

How to make Memory Skill Game in Scratch | Card Matching Game in Scratch – Part 2 | Step-by-Step Coding

In this tutorial you'll learn how to make memory skill game in Scratch / card matching game in Scratch. This is a great beginner‑to‑intermediate project for scratch tutorial game, scratch programming...

How to make a Card Matching Game in Scratch | Memory Skill Game in Scratch – Part 1 | Step-by-Step Coding

In this Scratch tutorial, we'll walk you through how to make a card matching game in Scratch, also known as a memory game or skill game. This is a popular beginner project that introduces essential...

Create a Quiz Game in Scratch | Spelling Test in Scratch | Picture Identification in Scratch

Want to make learning spelling fun, visual, and interactive? In this Scratch tutorial, you'll learn how to make a spelling quiz game in Scratch using picture identification, text-to-speech, and...

How to make a Double Jump Game in Scratch | Platformer game in Scratch | Step by Step Coding

How to make a Double Jump Game in Scratch. Scratch is a fantastic platform for beginners to learn programming by making games, animations, and interactive stories. Among the many kinds of games...

How to Use Variables in Scratch | Variable Blocks in Scratch | Complete Tutorial

Introduction: Variable Blocks in Scratch Whether you’re just getting started with Scratch programming or looking to take your projects to the next level, understanding variables and lists is...

How to Make Earth Revolve Around the Sun in Scratch: A Complete Tutorial & Enhancements

Animating Earth revolving around the Sun is a classic beginner/intermediate Scratch animation project. It combines trigonometry (sine & cosine), variables, loops, and visual scripting. Kids can learn...

How to Make a Game in Scratch | Snake Game in Scratch | Step-by-Step Game Coding

In this tutorial, we’ll build a Snake Grid style game in Scratch step by step (very similar to the Kodex Academy example). By doing this, you’ll cover many of the core Scratch building blocks. We will...
Scroll to Top