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