helicopter game tutorial a step by step guide. step 1- open scratch go to: – start – all...

46
Helicopter Game Tutorial A Step By Step Guide

Upload: paul-carter

Post on 15-Jan-2016

246 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Helicopter Game Tutorial

A Step By Step Guide

Page 2: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 1- Open Scratch

• Go to:– START– ALL PROGRAMS– COMPUTING AND BUSINESS– SCRATCH

Page 3: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 2- Do You Have This?

Page 4: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 3- Go To Costumes

Here

Page 5: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 4- Delete Costume 2 So Only Costume 1 Is Left!

See

Page 6: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 5- Edit Costume 1, Clear Cat and Add A Helicopter

Page 7: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 6- Shrink The Helicopter

Here

Page 8: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

The Next Steps Are To Help Make Your Helicopter Look Like It Is Moving Its Rotors.

Buckle Up!

Page 9: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 7- Costume 1- Delete Rotors With Eraser

See

Page 10: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 8- Now Copy Costume 1 TWICE (so you have 3 ‘copter sprites)

See

Page 11: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 9a- Go Back To Costume 1 And Add A Rotor Using Line Tool

Page 12: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 9b- Go Back To Costume 2 And Add A Rotor Using Line Tool

Page 13: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 9c- Go Back To Costume 3 And Add A Rotor Using Line Tool

Page 14: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 10- LOOPING CODE

• CHALLENGE!• Can you create some code blocks that makes

the rotors spin?

• CLUE: “When the green flag is pressed, forever next costume”

IF YOU WORK IT OUT YOU ARE A STAR!

Page 15: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 11- Make Your Copter Move Left and Right!

Get Your Colleague Next To You To Test It

Works!

Page 16: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 12- Make Your Copter Up and Down

Page 17: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 13- Go To Stage Create a Skyline But With A Black Border

Page 18: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 14- Make The Helicopter Start In The Same Position. Code This!

Page 19: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 15- We don’t want the copter going off the screen……here is some code

TRY THE CODE…….GO

RIGHT …DOES IT STOP AT THE

BLACK LINE?

Page 20: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 16- Can You Make The Copter Stop At All Boundaries?

TEST IT

Page 21: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

STEP 17- CHECK YOU HAVE DONE THIS?

• You have an animated helicopter• Your helicopter can move up, down, left and

right• Your helicopter does not go off screen• You have a background that relates to your

game

Page 22: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 18- Make An Object That Could, If It Touches The Copter, Could Make You Lose Points

I created a dragon and shrunk it

Click New Sprite!

Page 23: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 19- So I Have A New Sprite That I Can Add Code To

See ….New Sprite!

Page 24: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 20- Add Code To Make The Dragon Fly Across Your World. Work the code out!

Page 25: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 21- Add A Scoring Variable

Page 26: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 22- Add Scoring Code. When Game Starts Start At 0 Score. Then If Dragon (Sprite 2) Touches Your Copter (Sprite 1) Lose Points

Page 27: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 24- Create An Animated Dragon…Breathing Fire! Costume First!

Page 28: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 25- How Could We Make The Dragon Switch Costumes? What Code Could We Use?

Page 29: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 26- Add Sounds (Grab Headphones!)Let’s make the dragon sprite make a noise!

Page 30: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 27- My Dragon Howls! Weird!

Page 31: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 28- When The Game Starts How Could Make The Dragon “Howl” Every Few Seconds?

Page 32: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 29- Summary Of Code For The Dragon

Page 33: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 30- Lets Make Another Dragon! Duplicate The Dragon Sprite

Page 34: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 31- Now With 2nd Dragon Sprite Change The Code To Make Him Fly Around The Screen!

Page 35: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 32- This Adds A Man That Needs To Be Rescued From The Dragons!

Page 36: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 33- Can You Add More People To The Game?

Page 37: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 34- Scoring- Add Scoring For When A Copter Touches (Rescues) The Person- Sprite 4

JUST ADDED THE SCORING CODE

Page 38: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 35a- Add A Wiltshire Air Ambulance Loading Screen

• Follow these steps:I. Go to GoogleII. Find the logo of Wiltshire Air AmbulanceIII. Right Click Save Image AsIV. Save To Your 7B Folder In Z: Drive

Page 39: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 35b- Create A New Sprite & In The Costume Import The Wiltshire Air Ambulance

Logo

Page 40: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 35c- Add The Code To Make The Logo Appear At Start Then Disappear

Page 41: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 36- Create Game Instructions in Word. Not Too Many!

Page 42: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 37- In Your Logo Sprite Add A New Costume. Click Paint

Added Blue Font and Yellow Background

Page 43: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 38- How Would You Code It So The Logo Appeared, Then Instructions and then

game started?

Page 44: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 39- The Code For The Game Startup

Page 45: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 40- Make A Winning Screen. New Sprite

Page 46: Helicopter Game Tutorial A Step By Step Guide. Step 1- Open Scratch Go to: – START – ALL PROGRAMS – COMPUTING AND BUSINESS – SCRATCH

Step 41- Code For Winner Screen Including Music!

DOES IT WORK?