Make "Flappy Bird" in Scratch 3.0 (Highlights)

Creator Academy Australia · Intermediate ·🧒 Coding for Kids ·6y ago

Key Takeaways

Build the addictive and challenging game Flappy Bird in Scratch 3.0, covering game design, physics, and coding basics

Full Transcript

so who knows what game it is behind me I ask people to raise their hand if you have seen this game and a whole bunch of people have put their hands up so let's have a look and see if Ethan knows what this game is flappy bird have you played it excellent you've heard about it right excellent yeah so the game behind me is called flappy bird ok so we are going to build flappy bird today it's going to be a little bit a little bit tricky because flappy bird the fun part of flappy bird is that it is so well balanced with the physics of the bird okay so the bird flies higher when you press the screen on your mobile phone and then when you let go it slowly drops again okay so it gets really really hard because the gaps between the pipes will keep on traveling past your bird and then you have to try and not to hit the pipe okay so that is flappy bird it doesn't really make sense right why would there be a bird flying in the middle of some pipes doesn't really make sense but these this game has become a multimillion-dollar hit around the world okay it is such a simple game the people who made it actually only made it over the course of something like three weeks to make this game we are going to try and build it in one lesson so we're going to try and build it in one lesson but if we if we have time and we're going to try and improve it and make it as close to the flappy bird game as possible if not we'll still have a very very cool and fun game so now we are going to update well actually we'll decorate these buildings later on but what I want to do is we're going to do the code now to create these obstacles and make them move across the screen make it move across the screen so in order to do that what I'm going to do is I put the pipes on this side of the screen and then they start off over here and then we're going to clean them every couple of seconds and then once they get cloned they move to a random height and then they move across the screen towards your flappy bird we're going to control and then we go stop or stop all we press play f touch the HIPAA then we stop all the whole game stops so if not then it keeps on going going going and then if I bump into it how game stops okay I'll just share one more time so the game is going across identify touch and the game stops there is still quite a lot of things that we need to do to to finesse this game just like flappy bird okay so for flappy bird we're not just controlling directly the birds going up and down all we need to do is we need to make it give it some physics we want to press a button so that it flies higher every time you press the button and then it glides down when you're not pressing the button and that's going to make the game really really hard and really exciting and then we can also make it so that they add a scoring system so that for each pipes each of the pipes that go past us we can keep track of the score as well so that the player can see how well they are going so if you have any problems send me an email and if there is a major problem then I can send you the code that I'm using so that we can all pick up from the same spot thanks for you okay until next time bye bye the next part is we're going to add the the case for when we press the spacebar okay so we're going to events there we go when the space key is pressed the space key pressed then we drag it underneath our existing script the next thing is we're going to make it fly so when space key is pressed we're going to repeat something 10 times ok so we go to control and then there's a repeat 10 times loop so this is not the same as a forever loop but forever loop makes it go on forever but we only wanted to to fly up a limited amount of times and then this is where you can experiment okay so in motion you can go change X by 10 you change it by say I'm not sure of 5 or something like that and then when you press through your flag you can test it by pressing space okay well whoops I got X by 5 which is wrong because iam pointed that out before it was supposed to be here yet well no it is not flying high enough so I need to change that again so when space key is pressed I'll go change Y by maybe hello yeah sort of working maybe I'll make it so that we repeat your less times but they make it go higher so this is where you can adjust okay so you can change the repeat number and also the why number to make it so that your game feels like the way you want it to feel so I'm going to change these numbers a few times and then you can copy me once I get it looking and feeling right okay oh yeah this looks ah no it's probably not not quite enough not quite good enough maybe 18 well ah this is good all right so I think I found them a magic number but you can change it yourself if you want to okay so I'm having mine as repeat six and then change Y by 18 and then we repeat that six times so you can change your all your numbers to make it as more comfortable for you but remember it is it is a hard game it's not it's going to make it a little bit frustrating and I know that we had it as quite an easy game before right we're when you're following the mouse up when you have the controls like flappy bird it's a little bit hard it's a little bit frustrating and it's totally fine okay it's not it's not your fault the game was just made like that okay and at the end of the lesson if you would prefer that we follow the mouse instead then I can teach you how to make it follow the mouse instead as well okay but this game is designed to be hard so don't be afraid that you keep on losing will keep on dying okay we are is where our building hard and frustrating game

Original Description

Build the addictive and challenging game "Flappy Bird" For more in-depth science, building and coding on this subject, visit www.creatoracademy.com.au For code, visit www.patreon.com/creatoracademy
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Creator Academy Australia · Creator Academy Australia · 39 of 60

1 LEGO Wedo 2.0 Kangaroo and Joey Demonstration
LEGO Wedo 2.0 Kangaroo and Joey Demonstration
Creator Academy Australia
2 LEGO Wedo 2.0 Koala Demonstration
LEGO Wedo 2.0 Koala Demonstration
Creator Academy Australia
3 LEGO WeDo 2.0 Eagle vs Rabbit Demonstration
LEGO WeDo 2.0 Eagle vs Rabbit Demonstration
Creator Academy Australia
4 Animatronic Australia: The Kangaroo
Animatronic Australia: The Kangaroo
Creator Academy Australia
5 How Semiconductors Work: 3D Animation
How Semiconductors Work: 3D Animation
Creator Academy Australia
6 LEGO Wedo 2.0 Koala
LEGO Wedo 2.0 Koala
Creator Academy Australia
7 First impressions and unboxing First Lego League: Into Orbit 2018
First impressions and unboxing First Lego League: Into Orbit 2018
Creator Academy Australia
8 FLL Into Orbit Team Ranking Gears talks about Artificial Gravity
FLL Into Orbit Team Ranking Gears talks about Artificial Gravity
Creator Academy Australia
9 FLL Into Orbit team Ev3lution discusses isolation in space
FLL Into Orbit team Ev3lution discusses isolation in space
Creator Academy Australia
10 PI3-BOT (Pie Bot) Prototype
PI3-BOT (Pie Bot) Prototype
Creator Academy Australia
11 Dynamic display stand for LEGO Bugatti Chiron (preview)
Dynamic display stand for LEGO Bugatti Chiron (preview)
Creator Academy Australia
12 Creative Kids TV announcement featuring Creator Academy
Creative Kids TV announcement featuring Creator Academy
Creator Academy Australia
13 LEGO WeDo 2.0 Guided Lesson: Milo
LEGO WeDo 2.0 Guided Lesson: Milo
Creator Academy Australia
14 LEGO SPIKE PRIME: Turtle Prime Demonstration
LEGO SPIKE PRIME: Turtle Prime Demonstration
Creator Academy Australia
15 LEGO SPIKE PRIME "Wheelchair Prime"
LEGO SPIKE PRIME "Wheelchair Prime"
Creator Academy Australia
16 10 Reasons why EV3 is SUPERIOR to SPIKE Prime
10 Reasons why EV3 is SUPERIOR to SPIKE Prime
Creator Academy Australia
17 Your first launch after installing Python: Python for Kids Webinar Highlight
Your first launch after installing Python: Python for Kids Webinar Highlight
Creator Academy Australia
18 What is "Sharpening the Saw": Python for Kids Webinar Highlight
What is "Sharpening the Saw": Python for Kids Webinar Highlight
Creator Academy Australia
19 Why We Use Comments: Python for Kids Webinar Highlight
Why We Use Comments: Python for Kids Webinar Highlight
Creator Academy Australia
20 Build a Scratch Dinosaur Park (Full Lesson)
Build a Scratch Dinosaur Park (Full Lesson)
Creator Academy Australia
21 Scratch 3.0: Cat and Mouse Game Stream (Krunal)
Scratch 3.0: Cat and Mouse Game Stream (Krunal)
Creator Academy Australia
22 Python Tutorial: Make a Toilet Paper Calculator (Full Lesson)
Python Tutorial: Make a Toilet Paper Calculator (Full Lesson)
Creator Academy Australia
23 Scratch 3.0 Tutorial: Making a chatbot that plays 'heads or tails' (Full Lesson)
Scratch 3.0 Tutorial: Making a chatbot that plays 'heads or tails' (Full Lesson)
Creator Academy Australia
24 Getting Started with MicroPython on SPIKE PRIME (old)
Getting Started with MicroPython on SPIKE PRIME (old)
Creator Academy Australia
25 Easter Egg Game Tutorial in Scratch (Full Lesson)
Easter Egg Game Tutorial in Scratch (Full Lesson)
Creator Academy Australia
26 Accessing Weather API with Python (Highlights)
Accessing Weather API with Python (Highlights)
Creator Academy Australia
27 Accessing Translate API with Python (Highlights)
Accessing Translate API with Python (Highlights)
Creator Academy Australia
28 Scissors, Paper, Rock with Scratch 3.0 (Highlights)
Scissors, Paper, Rock with Scratch 3.0 (Highlights)
Creator Academy Australia
29 Making a really scary game with Scratch 3.0 (Highlights)
Making a really scary game with Scratch 3.0 (Highlights)
Creator Academy Australia
30 Making a Lemmings game with Scratch 3.0 (Highlights)
Making a Lemmings game with Scratch 3.0 (Highlights)
Creator Academy Australia
31 Space Navigation Game in Scratch (Highlights)
Space Navigation Game in Scratch (Highlights)
Creator Academy Australia
32 Scratch Supercat Game (Full Lesson)
Scratch Supercat Game (Full Lesson)
Creator Academy Australia
33 Introduction to Robots with LEGO Wedo 2.0 (Full Lesson)
Introduction to Robots with LEGO Wedo 2.0 (Full Lesson)
Creator Academy Australia
34 Getting Started With LEGO Spike Prime (Full Lesson)
Getting Started With LEGO Spike Prime (Full Lesson)
Creator Academy Australia
35 Scratch Walk Cycle Animation Tutorial (Full Lesson)
Scratch Walk Cycle Animation Tutorial (Full Lesson)
Creator Academy Australia
36 Building a Scissor Lift with LEGO Simple Machines (Highlights)
Building a Scissor Lift with LEGO Simple Machines (Highlights)
Creator Academy Australia
37 EV3 datalogging RPM challenge (highlights)
EV3 datalogging RPM challenge (highlights)
Creator Academy Australia
38 Learning about buses with LEGO (Full Lesson)
Learning about buses with LEGO (Full Lesson)
Creator Academy Australia
Make "Flappy Bird" in Scratch 3.0 (Highlights)
Make "Flappy Bird" in Scratch 3.0 (Highlights)
Creator Academy Australia
40 "Memory Arrows" game with Scratch 3.0 Lists (Highlights)
"Memory Arrows" game with Scratch 3.0 Lists (Highlights)
Creator Academy Australia
41 Learning about Gear Ratios with LEGO Simple Machines (Highlights)
Learning about Gear Ratios with LEGO Simple Machines (Highlights)
Creator Academy Australia
42 Scratch 3.0 Bouncing Ball with Stretch, Speed and Acceleration (Full Lesson)
Scratch 3.0 Bouncing Ball with Stretch, Speed and Acceleration (Full Lesson)
Creator Academy Australia
43 LEGO SPIKE Prime Order Tracking Robot (Highlights)
LEGO SPIKE Prime Order Tracking Robot (Highlights)
Creator Academy Australia
44 Scratch 3.0 Race Guesser (Full Lesson)
Scratch 3.0 Race Guesser (Full Lesson)
Creator Academy Australia
45 How Banks Work - a quick explanation for kids
How Banks Work - a quick explanation for kids
Creator Academy Australia
46 SPIKE Prime Safe + importance of passwords (Highlights)
SPIKE Prime Safe + importance of passwords (Highlights)
Creator Academy Australia
47 Combination Safe Coding Guide with LEGO SPIKE Prime
Combination Safe Coding Guide with LEGO SPIKE Prime
Creator Academy Australia
48 LEGO SPIKE Prime Parcel Scanning Robot
LEGO SPIKE Prime Parcel Scanning Robot
Creator Academy Australia
49 Building "Addy" the Addition Chatbot
Building "Addy" the Addition Chatbot
Creator Academy Australia
50 SPIKE 2.x PID Balancer with Scratch for SPIKE Prime / 51515: Gyro Girl
SPIKE 2.x PID Balancer with Scratch for SPIKE Prime / 51515: Gyro Girl
Creator Academy Australia
51 What is Procedural Programming
What is Procedural Programming
Creator Academy Australia
52 Zombie game in SCRATCH (plus horrifying zombie facts!)
Zombie game in SCRATCH (plus horrifying zombie facts!)
Creator Academy Australia
53 Swarming Bugs Scratch Game
Swarming Bugs Scratch Game
Creator Academy Australia
54 LEGO Mindstorms/SPIKE Prime Scanner and Printer
LEGO Mindstorms/SPIKE Prime Scanner and Printer
Creator Academy Australia
55 Fishing Game with SCRATCH (For Fathers Day!)
Fishing Game with SCRATCH (For Fathers Day!)
Creator Academy Australia
56 Measuring Paper Plane Speed with SPIKE Prime Line Graphs
Measuring Paper Plane Speed with SPIKE Prime Line Graphs
Creator Academy Australia
57 Comparing Mindstorms Robot Inventor and SPIKE Prime
Comparing Mindstorms Robot Inventor and SPIKE Prime
Creator Academy Australia
58 Code a 'Knock Knock Joke' game in Scratch 3.0
Code a 'Knock Knock Joke' game in Scratch 3.0
Creator Academy Australia
59 Creator Academy Australia Live Stream
Creator Academy Australia Live Stream
Creator Academy Australia
60 Discovering LEGO Mindstorms/SPIKE Gyro Pitch Deadzone
Discovering LEGO Mindstorms/SPIKE Gyro Pitch Deadzone
Creator Academy Australia

Build Flappy Bird in Scratch 3.0, covering game design, physics, and coding basics. Learn to create obstacles, implement game logic, and apply physics to game objects.

Key Takeaways
  1. Create a new project in Scratch 3.0
  2. Design the game layout and obstacles
  3. Implement game logic using code
  4. Apply physics to game objects
  5. Test and debug the game
💡 Game development involves balancing game design, physics, and coding basics to create an engaging and challenging experience.

Related Reads

Up next
Robotics Workshop at IST Hyderabad | Coding to Real-World Applications | Intellipaat School
Intellipaat
Watch →