Sort of Duck (Not) shooting Game

This guide has been designED to help you create a more complicated game. Follow these step-by-step guidelines to create an interesting set of effects.

Use the left and right keys as well as the mouse to keep your duck safe. The notes for this game rely on you being able to use Scratch quite well. If you are unsure about how something is done then refer to the previous projects or better still look in your notes.

Stage 1 - Adding flying creatures

The object of this game is to shoot at the parrots while missing the duck. If you shoot the duck, you lose the game.

First find the duck sprite and add it to your project and remove the cat sprite.

Add a parrot to your game. The parrot has two costumes so make sure that you add them both.

Add a thread to make the parrot flap its wings.

Make both sprites smaller.

Add another thread to make the parrot fly constantly back and forth across the screen. Take care to make sure that the parrot does not fly on its back. (It is not a haggis.)

Change the thread slightly so that the starting position and direction of the parrot is chosen at random.

Duplicate the parrots so that there are five of them.

Add a suitable background.

2. Screenshot your project so far and describe how you added all of the flying creatures.

 

Stage 2 - The gun sight

Add a gun sight in the same way that you did for the tank game. make sure that you add the thread that makes the gun sight sprite follow the mouse pointer.

Add a thread to the first parrot that will make the parrot vanish (hide) when the gun sight is on it and the space bar is pressed. Copy this new thread to each of the other parrots.

Next add a sprite that is the gun itself; perspective dictates that both barrels will be appear smaller at the end. You need to draw this quite long as it will rotate to face the gun sight as the game progresses. Make sure that you draw the gun barrels facing to the left and this is the way that the sprite points. The gun is to point at the gun sight all the time.

2. Screenshot the project so far and explain how you added the gun sight and the gun barrels.

 

Stage 3 - projectiles

Create a projectile and use the costumes from the tank game to make the explosion.

Additionally, use the script thread from the tank game projectile to show the path of the projectile on its way to the position of the gun sight.

This is the gun barrel in action.

 

3. Screenshot the project so far and explain how you included the explosions.

 

Stage 4 - Shooting parrots not ducks

Now change the script for the parrot and the projectile so that when the projectile explodes it "broadcasts" "Hit" and when the parrot receives "Hit" it checks to see if it is in contact with the projectile; if it is it vanishes.

Add a variable called "Score". Improve the script for each parrot so that the score increases by 1 every time the parrots are shot, but decreases by 5 when the duck is shot.

Now make the game a little harder for the hunter by changing the score every time there is a shot. Edit the script for the projectile so that 0.2 is deducted every time the parrot hunter pulls the trigger.

4. Screenshot the project so far and explain how it keeps score.

 

Stage 5 - Adding a timer to the game

Next add a timer to the game that limits the game to 20 seconds.

Get the background to change to include the words "Game over" when the 20 seconds are up.

Make the duck say the score when the game is over.

5. Screenshot the project so far and explain how it keeps score.

 

Stage 6 - Extension

Limit the ammunition to 10 shots.

6. Screenshot the project so far and explain how you limited the ammunition.

 

Year 8 Extension

Create a harder level to be shown when all 5 parrots have been shot in the time allowed. This time there are more parrots but a second duck and the parrots move at different speeds.

7. Screenshot the project so far and explain how you made the next level.

 

Recent Posts

May 24

Repairing a hyperspace window

You may have noticed the time shift in the Blue coridor, there is a redshift at certain times of the day; this has caused the bells to malfunction and the PCs are runing slow as the server room is also moving ever so slowly into the 5th dimension. The Lightspeed engineers are working hard to fix the hyperspace window being generated by the tidal effects of big data and the weaknesses in the walls caused by excessive data mining. Cambridge Analytica's data scraping has also contributred to the weakness in the space time continuum. There is no need to be afraid as everything is should be resolved in the near future; nevertheless steps are being taken, mostly from the gold staircase.

Any further information will be included here when and if we get it.

July 18

Adventuring with A GDPR SUrveyor

The GDPR surveyors will be in the College in the near future checking that you understand your obligations under GDPR. Are you aware of the consequences? Do you know who knows about you? Do you know what the people you don't know about, know about you? Have you checked your own settings? Are you privacy minded? The GDPR surveyors will check. They know you, possibly better than you do but maybe not as well as the Internet knows you.

July 14

Games for Free

There are a number of games that you can get for free that are really good. They are really good at collecting all of your data and passing it on to someone else. You don't know who they are and you don't know why they are collecting your data. They have your data and access to your friends. In minutes they have your friends' data and are collecting the data from their friends. If its a good game you will even tell your friends about it so you do their sneakiness for them and still tell your friends. It will never happen to you but hey that game...

Spotlight

Neural Implants

The pros and cons. Mostly cons.

Be permanently connected to Google and you can ask Alexa in your head; only you can hear the answer...