SlideShare a Scribd company logo
1 of 77
Flappy Bird Video Game Design in Scratch
Welcome!! If you are here early,
please do the following steps:
1. Make sure you are logged in to
Scratch by going to
https://scratch.mit.edu.
2. Type in the chat box here what
city you are joining us from!
3. Tell us in the chat what level of
experience you have with
Scratch. Are you a newbie? Have
you been using it for years? Are
you a bit familiar with it but
would like to know more?
Flappy Bird Video Game
Design in Scratch
AnnMarie Kolakowski
Pasadena Public Library
Summer 2020
What IS Flappy Bird?
•It’s a side-scroller mobile app game made in
2013, in which the player has to guide the
bird protagonist in between obstacles by
flapping its wings to fight the pull of gravity.
•There are a lot of parodies that have been
made of this game. Play one now! Go to:
https://flappycreator.com/random.php
To Make a Side-Scroller like
Flappy Bird, we’re gonna need…
MATH!
Positive x values
+
Negative x values
-
Positive y values
+
Negative y values
-
(8,8)
Coordinates:
(x,y)
(-8,8)
Coordinates:
(x,y)
(-8,-8)
Coordinates:
(x,y)
(8,-8)
Coordinates:
(x,y)
What quadrant
would this be in?
(4,4)
Type your answer
in the chat!
Quadrant I!
What quadrant
would this be in?
(-4,4)
Type your answer
in the chat!
Quadrant II!
Why all this
stuff about math
and graphing
and quadrants?
Because we use
numbers to tell
the computer
where to place
our sprites along
the x-y axis.
And once our sprites
are placed where we
want them, we will use
numbers to tell the
computer what
direction and speed to
move them.
Get to Know the Scratch Interface!
Get to Know Your Blocks!
v
v
v
v
v
v
v
Now we’re going to fix some
broken games.
You can learn a lot about how something works
when it DOESN’T.
What’s wrong with this game?
Alright, coding detectives…
Try this one on your own!
What’s wrong with this game?
Go to
https://scratch.mit.edu/projects/399371220/
What’s wrong with this game?
Go to
https://scratch.mit.edu/projects/399371220/
If you added a forever loop to keep the pipe’s X
position constantly changing, you were right!
What’s wrong with this game?
What’s wrong with this game?
Would one of these blocks help to end the
game if the bird hits the ground?
Yes! You could set your game to end if the
bird sprite touches anything green or brown!
Alright, coding detectives…
Try this one on your own!
What’s wrong with this game?
Go to:
https://scratch.mit.edu/projects/399365404/
Hint:
Remember your
X-Y Axis!!
Hint:
Remember your
X-Y Axis!!
If you changed the bird’s gravity variable from a
positive number to a negative number, you were right!
What’s wrong with this game?
What’s wrong with this game?
What’s wrong with this game?
Would one of these blocks make the bird look like
its wings are flapping up or down each time I hit
the spacebar?
Yes! Simply add a change of costume whenever the
spacebar is pressed.
Alright, coding detectives…
Try this one on your own!
What’s wrong with this game?
Go to:
https://scratch.mit.edu/projects/399399665/
What’s wrong with this game?
Go to:
https://scratch.mit.edu/projects/399399665/
If you set the score to add 1 every time the pipe gets
to a certain point along the negative end of the X axis,
you were right!
Now, make sure you’re logged in…
You’re going to remix a project and share it!
Let’s try putting this project together from
nothing but bits and pieces.
Can you tell where the pieces should go?
Go to:
https://scratch.mit.edu/projects/399402120/
Your Bird sprite’s code
should look like this!
Your pipe
sprite’s code
should look
like this!
Your pipe 2
sprite’s code
should look like
this!
Your stage code
should look like
this!
Now, wanna have some fun with it?
Choose a
new animal
sprite! Who
says your
Flappy Bird
has to be a
bird?
Try a different
backdrop!
I recommend
the Patterns
because they
won’t have too
many of the
colors you have
to avoid.
You could make some new pipes!
https://www.
youtube.com
/watch?v=Y4y
nhKndAew by
Hackingtons
Code School
for Kids
When you’re done, don’t forget to share!
Note, you have
to verify your
email account
to get sharing
permissions.
Give your project a unique name and make
sure you tell the user how to play.
Questions?
Feel free to send me an email if you need help!
akolakowski@cityofpasadena.net
I’ll be emailing everyone a link to the recording
and a link to the slides within the next few days.
Happy Flapping!

More Related Content

What's hot

What's hot (20)

Kids coding
Kids codingKids coding
Kids coding
 
c_programming
c_programmingc_programming
c_programming
 
Introduction to A-Frame
Introduction to A-FrameIntroduction to A-Frame
Introduction to A-Frame
 
Introduction-to-Unity.ppt
Introduction-to-Unity.pptIntroduction-to-Unity.ppt
Introduction-to-Unity.ppt
 
Advanced Python Tutorial | Learn Advanced Python Concepts | Python Programmin...
Advanced Python Tutorial | Learn Advanced Python Concepts | Python Programmin...Advanced Python Tutorial | Learn Advanced Python Concepts | Python Programmin...
Advanced Python Tutorial | Learn Advanced Python Concepts | Python Programmin...
 
HTML and CSS.pptx
HTML and CSS.pptxHTML and CSS.pptx
HTML and CSS.pptx
 
Introduction to Unity
Introduction to UnityIntroduction to Unity
Introduction to Unity
 
Android Development Workshop
Android Development WorkshopAndroid Development Workshop
Android Development Workshop
 
Css selectors
Css selectorsCss selectors
Css selectors
 
React event
React eventReact event
React event
 
Angular js PPT
Angular js PPTAngular js PPT
Angular js PPT
 
COMP 4010 - Lecture 7: Introduction to Augmented Reality
COMP 4010 - Lecture 7: Introduction to Augmented RealityCOMP 4010 - Lecture 7: Introduction to Augmented Reality
COMP 4010 - Lecture 7: Introduction to Augmented Reality
 
JavaScript - Chapter 5 - Operators
 JavaScript - Chapter 5 - Operators JavaScript - Chapter 5 - Operators
JavaScript - Chapter 5 - Operators
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
 
Introduction to figma
Introduction to figmaIntroduction to figma
Introduction to figma
 
Javascript Basic
Javascript BasicJavascript Basic
Javascript Basic
 
Unity Introduction
Unity IntroductionUnity Introduction
Unity Introduction
 
AUGMENTED REALITY
AUGMENTED REALITYAUGMENTED REALITY
AUGMENTED REALITY
 
20160331_Automate the boring stuff with python
20160331_Automate the boring stuff with python20160331_Automate the boring stuff with python
20160331_Automate the boring stuff with python
 
Novel Interfaces for AR Systems
Novel Interfaces for AR SystemsNovel Interfaces for AR Systems
Novel Interfaces for AR Systems
 

Similar to Hour (and a half) of Code: Flappy Bird Games in Scratch

Similar to Hour (and a half) of Code: Flappy Bird Games in Scratch (20)

Game apps for tablets usable in education
Game apps  for tablets usable in educationGame apps  for tablets usable in education
Game apps for tablets usable in education
 
Introduction to Game-Making Tools
Introduction to Game-Making ToolsIntroduction to Game-Making Tools
Introduction to Game-Making Tools
 
7 Growth Hacks Angry Birds Did Not Use
7 Growth Hacks Angry Birds Did Not Use7 Growth Hacks Angry Birds Did Not Use
7 Growth Hacks Angry Birds Did Not Use
 
A mazing Game
A mazing GameA mazing Game
A mazing Game
 
From Scratch to Snap! , what visual programming brings to my students.
From Scratch to Snap! , what visual programming brings to my students.From Scratch to Snap! , what visual programming brings to my students.
From Scratch to Snap! , what visual programming brings to my students.
 
Lesson-7-Flappy-Bird.pptx
Lesson-7-Flappy-Bird.pptxLesson-7-Flappy-Bird.pptx
Lesson-7-Flappy-Bird.pptx
 
Dodo does-math
Dodo does-mathDodo does-math
Dodo does-math
 
Bica Studios Game Design Document and the Importance of Testing
Bica Studios Game Design Document and the Importance of TestingBica Studios Game Design Document and the Importance of Testing
Bica Studios Game Design Document and the Importance of Testing
 
Smart Strategies Fuel Geometry Dash's Slow Jog To Success
Smart Strategies Fuel Geometry Dash's Slow Jog To Success
Smart Strategies Fuel Geometry Dash's Slow Jog To Success
Smart Strategies Fuel Geometry Dash's Slow Jog To Success
 
4. proposal
4. proposal4. proposal
4. proposal
 
Playful design workshop ferrara - uxlx 2014
Playful design workshop   ferrara - uxlx 2014Playful design workshop   ferrara - uxlx 2014
Playful design workshop ferrara - uxlx 2014
 
Scratch Parrot Game
Scratch Parrot GameScratch Parrot Game
Scratch Parrot Game
 
FGS 2011: Keeping Yourself Honest in Game Design (SteamBirds)
FGS 2011: Keeping Yourself Honest in Game Design (SteamBirds)FGS 2011: Keeping Yourself Honest in Game Design (SteamBirds)
FGS 2011: Keeping Yourself Honest in Game Design (SteamBirds)
 
Scratch parrot shoot game
Scratch   parrot shoot gameScratch   parrot shoot game
Scratch parrot shoot game
 
LAFS SVI Level 1 - Introduction
LAFS SVI Level 1 - IntroductionLAFS SVI Level 1 - Introduction
LAFS SVI Level 1 - Introduction
 
Sutd Game Lab's prototyping tips
Sutd Game Lab's prototyping tipsSutd Game Lab's prototyping tips
Sutd Game Lab's prototyping tips
 
maze runner game.pptx
maze runner game.pptxmaze runner game.pptx
maze runner game.pptx
 
Lesson 2 The Maze Runner.pptx
Lesson 2 The Maze Runner.pptxLesson 2 The Maze Runner.pptx
Lesson 2 The Maze Runner.pptx
 
Proposal - video game project
Proposal - video game projectProposal - video game project
Proposal - video game project
 
Jake Hyatt 2D Game Workflow
Jake Hyatt 2D Game WorkflowJake Hyatt 2D Game Workflow
Jake Hyatt 2D Game Workflow
 

More from AnnMarie Ppl

More from AnnMarie Ppl (20)

Manu discussion.pptx
Manu discussion.pptxManu discussion.pptx
Manu discussion.pptx
 
Coding & Art, ArtNight Presentation
Coding & Art, ArtNight PresentationCoding & Art, ArtNight Presentation
Coding & Art, ArtNight Presentation
 
A Good Kind of Trouble discussion questions
A Good Kind of Trouble discussion questionsA Good Kind of Trouble discussion questions
A Good Kind of Trouble discussion questions
 
The Turtle of Oman Discussion for Read Around the World Book Club
The Turtle of Oman Discussion for Read Around the World Book ClubThe Turtle of Oman Discussion for Read Around the World Book Club
The Turtle of Oman Discussion for Read Around the World Book Club
 
Week four of NaNoWriMo Young Writers Program
Week four of NaNoWriMo Young Writers ProgramWeek four of NaNoWriMo Young Writers Program
Week four of NaNoWriMo Young Writers Program
 
Week three of NaNoWriMo Young Writers Program
Week three of NaNoWriMo Young Writers ProgramWeek three of NaNoWriMo Young Writers Program
Week three of NaNoWriMo Young Writers Program
 
Week two of NaNoWriMo Young Writers Program
Week two of NaNoWriMo Young Writers ProgramWeek two of NaNoWriMo Young Writers Program
Week two of NaNoWriMo Young Writers Program
 
Week one of NaNoWriMo Young Writers Program
Week one of NaNoWriMo Young Writers ProgramWeek one of NaNoWriMo Young Writers Program
Week one of NaNoWriMo Young Writers Program
 
Lucha Libros Basic Information
Lucha Libros Basic InformationLucha Libros Basic Information
Lucha Libros Basic Information
 
Tua and the Elephant discussion questions
Tua and the Elephant discussion questionsTua and the Elephant discussion questions
Tua and the Elephant discussion questions
 
Emil and the detectives
Emil and the detectivesEmil and the detectives
Emil and the detectives
 
Kids' Writing Workshop: Summer Reading Inspirations
Kids' Writing Workshop: Summer Reading InspirationsKids' Writing Workshop: Summer Reading Inspirations
Kids' Writing Workshop: Summer Reading Inspirations
 
Citizen Science Kids Can Do at Home
Citizen Science Kids Can Do at HomeCitizen Science Kids Can Do at Home
Citizen Science Kids Can Do at Home
 
Measuring Light in the Night
Measuring Light in the NightMeasuring Light in the Night
Measuring Light in the Night
 
Educator Night 2020 presentation
Educator Night 2020 presentationEducator Night 2020 presentation
Educator Night 2020 presentation
 
Make a Lego Movie
Make a Lego MovieMake a Lego Movie
Make a Lego Movie
 
Make Believe Science Presentation
Make Believe Science PresentationMake Believe Science Presentation
Make Believe Science Presentation
 
Writing a Choose Your Own Adventure Story in Twine
Writing a Choose Your Own Adventure Story in TwineWriting a Choose Your Own Adventure Story in Twine
Writing a Choose Your Own Adventure Story in Twine
 
Roller coaster ski jumps
Roller coaster ski jumpsRoller coaster ski jumps
Roller coaster ski jumps
 
Propeller powered balloon helicopter 2018
Propeller powered balloon helicopter 2018Propeller powered balloon helicopter 2018
Propeller powered balloon helicopter 2018
 

Recently uploaded

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 

Hour (and a half) of Code: Flappy Bird Games in Scratch