Download presentation
Presentation is loading. Please wait.
Published byMaximilian Neal Modified over 9 years ago
1
Making a Flappy Birds Game A INTRODUCTION TO MAKING A FLAPPY BIRDS TYPE GAME
2
Creator Dong Nguyen
3
You could create your own flappy birds type game – but for your school! First, think of a main character. If you’re really advanced, you can create this using photoshop or Fireworks, but for the sake of time, you could also just make it in scratch itself (or Power Point). Suggestions: Get a stick man and your school’s logo. See Next slide Step 1
4
Make your Own Character Step 1 Get a Picture of a Stickman from the Internet or Clipart Locate your School’s logo and paste it in too
5
Make your Own Character Step 1 Right Click (selecting both images) and click SAVE as Picture Save your Image (as a.jpeg file) in your Documents. Arrange your pictures on top of each other (or however you want)
6
Import Sprite into Scratch Step 2 Click on “Import” Click on “Computer” then the “N” Drive to find your image. Click on Paint New Sprite
7
Import Sprite into Scratch Step 2 contd You now have your own character in Scratch. You can delete the Cat!
8
Time to start coding
9
The Mechanics of Flappy Bird Flappy Bird is based around a simple interaction: press screen to flap wings. But it is clear that Nguyen has spent time working out the exact vertical lift achieved by this single input; just as he has got the gap between pipes exactly right.
10
Creating Flappy Birds in Scratch A good way to introduce yourself to Programming is to use SCRATCH. Scratch was created by MIIT to get young people (as young as five years old!) interested in the concept of programming and how logic sequences can get sprites to do clever things. Can Flappy Birds be created in Scratch ? Yes! Have a look at the next slide for a website that shows a screenshot of how it has already been made!
11
To start with, make a sprite and create the following code blocks: This simply makes your sprite go up (Y by +10) when you press space.
12
Challenge #1 Flappy Birds works like this. 1.The moment you press START (or the green flag) the Bird KEEPS FALLING TO THE GROUND 2.When you Press Space (or any other key you choose) the Bird then goes up On the previous slide, you have done Part 2. Can you now add the code blocks to make Part 1 work
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.