Create Flappy Bird: Scratch games are visually fun and interactive ways of learning coding and game development, especially for children between the ages of 8 to 16. A Catcher game on Scratch can be of different types depending on the sprites movement, objective, and rewards. In this blog, we will discuss how to make a flappy bird game on Scratch.
Looking to learn Scratch coding? Explore Wiingys Online Scratch Coding Classes For Kids to learn from top Scratch coding experts.
Step 4: Make a background [end of the game]
Lets make a background for the end of the game.
- Click on the sprites Paint.
- Click on the Convert to Bitmap
- Click on the Fill and select the black color.
- Click on the Fill tool.
- Click on the paint area.
- Click on the Convert to Vector
- Click on the Text tool
- Click on the Fill and select the red color.
- To select the paint area, click the “Text” tool.
- Write a note saying “Game Over” when the game ends.
- Change the sprite name.
- Modify the sprite’s location and set (x, y) = (0, 0).
- Click on the Code
- Hide the game over sprite when the game start.
- Drag
- Let’s add a message receive block so that the “game over” sprite appears on the game over message.
- Drag
- Type the message for the end of the game.
- Click on Ok
- The “game over” sprite will appear and the flappy bird game will end when you drag and drop the “When I receive the game over” message.
- Drag
- Click on the bird sprite.
- End the game if the bird touches the pipe sprite.
- To determine whether the bird touches the pipe sprite, write a conditional statement.
- Drag
- Lets broadcast a game-over message.
- Drag
Step 2: Add the pillars sprite [the bird will fly through]
- Create the pillars that the bird will fly through.
- Click here to download the pipe sprite.
- Click on the Show in folder
- Now, upload the pipe sprite.
- Click on the Upload Sprite
- Search your downloaded pipe sprite in your download directory.
- Click on it and click on the Open.
- Pipe sprite added. Lets modify it.
- Click on the Costumes
- Click on the Convert to Vector
- Click on Select from paint tools.
- Click on the pipe
- Make a duplicate of the pipe sprite.
- Press Ctrl + c and then press Ctrl + v.
- After selecting the duplicate “pipe,” select “Flip Vertical.”
- Arrange both pipe sprites as shown below.
- Click on the Code
Your browser is not supported. Please upgrade your browser to one of our supported browsers. You can try viewing the page, but expect functionality to be broken. App Lab works best on a desktop or laptop computer with a mouse and keyboard. You may experience issues using this tool on your current device. Game Lab works best on a desktop or laptop computer with a mouse and keyboard. You may experience issues using this tool on your current device. You may experience issues using Web Lab in Private Browsing mode. Please reload your project in normal mode. Sorry for the inconvenience.
FAQ
Why was Flappy Bird banned?
How much does it cost to make a game like Flappy Bird?