Flappy bird guide for Scratch

Slides:



Advertisements
Similar presentations
Digital Blue Cameras Inset Tuesday 3 rd June 2008.
Advertisements

Create a Simple Game in Scratch
Create a Simple Game in Scratch
Michael Parkes Dudley LA What can Scratch do? Make simple games, animations, presentations and stories.
Mission Technology Introduction to Scratch! June 2007.
Pong! “The oldest commercially available game in history” Resources created from the video tutorials provided by David Phillips on
Helicopter Game Tutorial
A Christmas Scratch game
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
Learn… Create… Program. Manipulation of Multiple Media Connects with youth culture Scratch is a new graphical programming language designed to support.
Racing Car Game Using the keys to control a sprite.
ESL PowerPoint Demonstration The Effective Use of Presentation Software in the ESL Classroom By Daniel Craig University of Illinois ESL 401 J.
Making a Flappy Birds Game A INTRODUCTION TO MAKING A FLAPPY BIRDS TYPE GAME.
Fish Chomp. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
Working with Numbers in Alice - Converting to integers and to strings - Rounding numbers. - Truncating Numbers Samantha Huerta under the direction of Professor.
Code Club Session 2 Dance Party. What will we learn ?  How to change the background  How to create animations  How to make objects talk to each other.
Introduction to Scratch!
PowerPoint 1 The Basics 1. Save this file to your Apps Folder as YourLastName_PP1 2. Read each slide. 3. Complete each set of numbered directions.
Using MIT Scratch for Programming and Control Exercise 3 Ball Game Year 9 ICT Autumn Term 2007.
ESL PowerPoint Demonstration The Effective Use of Presentation Software in the ESL Classroom By Daniel Craig University of Illinois ESL 401 J.
We will be creating a spaceship that simulates real movements in space. The spaceship will fire a laser beam that can destroy targets. The spaceship will.
How to make a Shooting Target game in Scratch!. WE ARE GOING TO MAKE A TARGET GAME. This game will have: A Target that will move when clicked. A Timer.
Game Design & Flappy Birds FLAPPY BIRDS – THE STORY AND DEVELOPMENT.
2015 CSE/EGR Summer Camps 1 Computer Science Concepts 1. What is an algorithm? 2. Binary information coding 3. Programming concepts via Scratch Designed.
1 Understand how to use Scratch to: – Animate a sprite – Add sound to your script – Use the forever command to create a loop Lesson 2: Learning Objectives.
Geometry. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions are.
Fish Chomp. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
Image #1 Getting Started
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
Marble Racer. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
Using MIT Scratch for Programming and Control Exercise 1 Creating movement Year 11 DTG 2012.
First Project: Dance Dance Sprite  Write a dance with your sprite (You pick or create the sprite)  Incorporate as many of the Motion Commands as you.
Open a new Flash File Action Script 2.0. Create a button like you did last lesson and name it Click to Play.
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
By Susan Fuentes Media Specialist Smiley Elementary.
Get Going On ….. Load the word file ‘Glossary’ and complete it. You will have homework today.
How to create a basic game in Scratch. The Scratch Stage The Scratch stage is 480 pixels wide and 360 pixels high x increasesx decreases.
University Learning in Schools Computing Games Programming Lesson 5.
Pac Man Game To make the pac man game. I created sprites for the pac man character so he could move in all directions. I also created sprites for the wall.
1 CSC 221: Computer Programming I Fall 2009 Introduction to programming in Scratch  animation sprites  motion, control & sensing  costume changes 
Making a Flappy Birds Game PART 2 – MAKING THE BIRD FLAP AND FALL – AND DEVELOPING THE GAME FURTHER (ADDING ADDITIONAL CHARACTERS, GOODIES, ENEMIES AND.
ICT/COMPUTING RULES Only use software allowed by the teacher
Scratch Part 2 – Character Commands. What does a command do?  Commands in programming allow an object whatever it is to do something. In the case of.
Computer Programming with Scratch JAOIT 8. Scratch Scratch is a programming language that makes it easy to create your own interactive stories, animations,
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Play Road Game to understand the game Click on each sprite to understand its script Think about a different place that a sprite would have to get across.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Review for Final June 13, 2016.
Scratch Helicopter Game
Movement Game Design (Scratch).
Create a Halloween Computer Game in Scratch
Customise & Explain your game
© A+ Computer Science -
Games Programming in Scratch
Getting Started with Scratch
Maze Race. Maze Race Race The first thing you need to do is change the background so click on stage. Then click on background. Now click paint Select.
Go to =>
Getting Started with Scratch
Flappy bird Demo: Lesson 5 Flappy bird Demo:
Image #1 Getting Started
Game Over Module 4 Lesson 2.
Introduction to Snap Programming
Getting Started with Scratch
Game development using Scratch
Creating a Simple Game in Scratch
CSC 221: Introduction to Programming Fall 2018
Scratch 7B IT 1.
Presentation transcript:

Flappy bird guide for Scratch

Introduction Flappy bird rose to popularity as an easy to play and addictive game at the end of 2013 It is a game where the user must navigate the bird through a series of pipes. It is stated that the creator (Dong Nguyen) made the game in 3 days, and has made up to $50,000 a day from advertising in the game. He is also sad that the game’s popularity has taken over his otherwise “simple” life Now it is your chance to see how easy it is to construct a game like this

Objectives Apply previous skills to put together basic blocks within Scratch to create an app-style game Extend knowledge about variables and how you can affect the difficulty within a game Outcomes L5 – Get most of the basic game working without help. Most of the parts about how the code is working have been filled out. L6 – Add the high scores table and fill out all the sections about how the code is working accurately. L7 – Add other extensions to the game (see last slides for ideas) L8 - Complete the ‘ultimate extension’ (see last slide)

Sprites for Flappy Bird If you are desperate to get the actual sprites (making your own is more fun!), I have included them here and in the folder. You can use the ‘import’ button to get them into your project from saved image files

Step 1 – Make your bird 1. Click on the ‘New sprite’ button 2. Create your bird, making sure that the costume centre is in the middle 3. On the costumes tab, copy the first costume to make two costumes, one with the wings up and one with the wings down

Step 2 – Make the bird flap 1. We want to make the bird look like it is flapping. Add the code to the right to do this and test it. How is the code above working? Explain below… (Insert your ideas here)

Step 3 – Make the bird ‘fly’ 1. On the variables tab, make a variable called ‘Y’ 2. Then you should be able to construct the code as shown to the right 3. Test your bird. Press the green flag. You should be able to control it with the space key

Explain how the bird code works How is the code working? Explain below… A Part A (Insert comments here) Part B (Insert comments here) B C Part C (Insert comments here) Part D (Insert comments here) D

Step 4 – Edit the background 1. Open up the stage and edit the background 2. The sky should be blue and there should be a green layer of grass at the bottom

Step 5 – Reset the game if the bird crashes 1. If the bird crashes into the ground, then we want to reset the game. Add the code to the right into your bird and test to see if it works How is the code above working? Explain below… (Insert your ideas here)

Step 7 – Make the pipes 1. You now need to make the pipes that flappy must navigate through Create a new sprite, zoom out fully and draw the pipes with a gap in the middle. Set the costume centre to exactly in-between the pipes as shown on the right

Step 8 – Code your pipes 1. For this part you will need to create a new variable called ‘score’ 2. Then, create the code as shown on the right for the pipes Then, test to see if this works

Explain how the pipe code works How is the code working? Explain below… Part A (Insert comments here) A Part B (Insert comments here) B

Step 10 – Create and code the instructions 1. Make a new sprite for the instructions 2. Use the text tool to create something similar to the image on the right 3. Add in the code for the instructions to appear/disappear when you want them to How is the code working? Explain below… (Insert your ideas here)

Step 11 – Adding the high scores logic 1. Make a new variable called high_score 2. Find the code in the bird for ending the game, and then add the code for the high score in How is the code above working? Explain below… (Insert your ideas here)

Step 12 - Extensions Can you make it so the variable ‘Y’ doesn’t show up on the screen? Before the game starts, let the player decide the difficulty level. Adapt difficulty by: Changing variables to do with bird/pipe movement Having different kinds/sizes of birds Have items to collect and a points system for this too Make the game two player Have a shop system so that every time you play, your score gets added to the total amount of coins, and then you can purchase costumes etc.

Step 13 – Ultimate extension Balloon kid was a game on the Game boy and was the sequel to ‘balloon fight’ on the NES. Here is a video http://www.youtube.com/watch?v=sBTBnFBipB0 The difference between this game and flappy bird are: The action is from right-to-left You can control the character’s position on screen to help dodging things There are more objects than pipes The character has 3 lives (balloons) These should keep you going for now. See if you can adapt your game!