Presentation is loading. Please wait.

Presentation is loading. Please wait.

Game development using Scratch

Similar presentations


Presentation on theme: "Game development using Scratch"— Presentation transcript:

1 Game development using Scratch
Computing Game development using Scratch

2 What is Scratch? Programming language
Using blocks of code to make programming more visual instead of all text based. All about sequencing instructions (algorithms)

3 What are you going to do today?
Create a game called duck shooter!! Follow instructions given by the teacher and on the help guide First things first open scratch. Start > all programs > Scratch (NOT Scratch 2)

4 3: Open the outdoors folder and select the background you want to use
3: Open the outdoors folder and select the background you want to use. Click OK when ready 1: Click stage 2: Click background Then import

5 Click the ‘paint new sprite’ button
Use the drawing tools to make a target / cross hairs Click the ‘new sprite from file’ button From the animals folder select the animal you want to shoot. NOTE: If you want your animal to be animated you need to select one with at least 2 costumes Go to ‘costumes’ and then import the second costume so your sprite can be animated. Rename the sprites

6 Click the Variables tabs
Create 2 new variables called “time” and “score”

7 Click the bat sprite. Make sure you are on the script section.
Enter the script as shown on the left. IT IS ALL COLOUR COORDINATED!! Make sure it is identical to this. NOTE: Be care which loop you are using.

8 Click the target/cross hairs sprite
Click the target/cross hairs sprite. Make sure you are on the script section. Enter the script as shown on the left. IT IS ALL COLOUR COORDINATED!! Make sure it is identical to this. NOTE: Be careful they are EXACTLY the same.

9 Import sounds Click the Sounds tab Click Import
Find a sound you want to use for your weapon Repeat this process and find a sound for your animal. I used ‘Pop’ and ‘Duck’

10 Click back to the script section.
Enter the script as shown on the left. IT IS ALL COLOUR COORDINATED!! Make sure it is identical to this. NOTE: This is in addition to the other script You need to make the ‘broadcast’. Call it “hit”

11 Click the bat sprite. Make sure you are on the script section.
Enter the script as shown on the left. IT IS ALL COLOUR COORDINATED!! Make sure it is identical to this. NOTE: Be care which loop you are using.

12 Click the stage. Enter the script as shown on the left.
IT IS ALL COLOUR COORDINATED!! Make sure it is identical to this. NOTE: Be care which loop you are using.


Download ppt "Game development using Scratch"

Similar presentations


Ads by Google