Boat Race. Introduction. Scratch

Similar documents
Boat Race. Introduction. Scratch. You are going to learn how to make a game, in which you ll use the mouse to navigate a boat to a desert island.

You are going to learn how to make a game, in which you ll use the mouse to navigate a boat to a desert island.

SCRATCH CHALLENGE #3

1. First start a new scratch project and remove the default sprite.

Start a new Scratch project. Delete the cat by right-clicking it and selecting Delete.

Scratch Hands-on Assignments CS4HS - Summer 2017

Step 1. CoderDojo Milltown Exercise 1 Pong Page 1 of 13

Table Football. Introduction. Scratch. Let s make a world cup football game in Scratch! Activity Checklist. Test your Project.

In this project you ll learn how to create a football game in which you have to score as many goals as you can in 30 seconds.

3. Select a colour and then use the Rectangle drawing tool to draw a rectangle like the one below.

Felix and Herbert. Level

Felix and Herbert. Level. Introduction:

Get it here. Page 1 of 7 Date:Jan 8, 2014

Start - All Programs - Class Software - Scratch - Scratch move move move Sound play drum move move move play drum Control forever forever forever

The Final Fight STAGE. * Download file Scratch Stage 9. Chapter Objective. The Game

Activity 8: Cave Surfing Game

Penalty Kick in Ipanema

First Edition. Teaching Scratch. at primary school. Thomas Arts

Start the Polars program and load this file by using the explorer tab on the left side. You will get following picture:

Golden Spiral. A Chaparral grafix tutorial

Page 1 GM-FAQ Club Profile FAQs. Page

Group walks & events manager: Getting Started for Editors

EVENT INFO. Charity Stand Up Paddle and Beach Obstacle race. Sunday 25 May. Competitor Briefing: 10am 10.15am-11.15am

EXPLOSIVE STORAGE CAPACITY CALCULATING TOOL USER MANUAL

Group walks & events manager: Getting Started for Contributors

Table of Contents. Chapter: Waves. Section 1: The Nature of Waves. Section 2: Wave Properties. Section 3: The Behavior of Waves

Using the Sailwave Results Programme April 2016

Soft Systems. Log Flume - 1. Enter Specification. Activity One ACTIVITIES. Help. for Logicator

Sail Chart Drafter for Deckman v.2

Prerequisites: Layout:

Write Your Own Twine Adventure!

GAME STICK IT ON THE BODY PART ABOUT THE GAME WHAT YOU WILL NEED INSTRUCTIONS. Copyright 2016 kidscoachjason.

When Carrying out this maneuver always remember to select a SAFE, CONVIENIENT LEGAL place in which to do the maneuver.

Website User Guide for Walk Organisers

User Guide. Two-Wheeled Add-on. Created By: A-Lab Software Limited. Date Created: Feb Date Modified: Feb Revision: 1.

Race Area Analyzer Solent

Walking for Health: Scheme page guide Contents

WASHINGTON STATE MIDDLE SCHOOL COMPUTER SCIENCE COMPETITION

All songs can be purchased from Itunes and these are only sugges8ons, not essen8al.

Heart Foundation Walking Website user guide for Walk Organisers

Dive Planet. Manual. Rev Basic User Interface. 2 How to organize your dives. 3 Statistics. 4 Location Service and Map View.

Podcast 32 - Surf Life Saving in Australia

Animate: Adding Sounds

Spin to Win HERE S WHAT YOU LL NEED:

Division Data Coordinator Tasks

#6 Lesson Emergency Rescue Vehicles Engineering Design Assessment

HARDCORE EPISODES HARDCORE EPISODES. Mike V. s Epic Episode GO BIG WITH SPINES! Mike V s Epic Episode. Hardcore Episode Completion Rewards SCENE LIST

PROGRAMMING LINX LEARNING GAME

Muizenberg Accessibility: Removing barriers to public spaces.

BVIS Beach Volleyball Information System

v2.3 USER MANUAL

OpenTrack Competition Management System

WASHINGTON STATE MIDDLE SCHOOL COMPUTER SCIENCE COMPETITION

Laybotpro Automated Betfair Bot. LayBotPro User Manual

Shooting Target Game. The user will be able to input a player s name and destroy a predefined number of dartboards before the game ends.

WONDERLAB: THE EQUINOR GALLERY. The science and maths behind the exhibits 30 MIN INFORMATION. Topic FORCES. Age

Semi Freddo Snow kite [Ram Air]

Horse Farm Management s Report Writer. User Guide Version 1.1.xx

INSTRUCTIONS FOR USING HMS 2016 Scoring (v1)

CS Problem Solving and Object-Oriented Programming Lab 2 - Methods, Variables and Functions in Alice Due: September 23/24

Technology. In the My Files [My Files] submenu you can store all the programs that you have made on the NXT or downloaded from your computer.

HOW TO CREATE PHOTO TWIRLS

USER GUIDE. approved ntents

TrackMan Operator Training

Welcome to Step Outside with Togo & Nogo a road safety training resource for year 2 children

The grade 5 English science unit, Speed, meets the academic content standards set in the Korean curriculum, which state students should:

Hard Ice Dividers Set Up and Take Down Instructions

Games and Activities. This resouces provides many games and activities that will help in the delivery of the Paddle Oz

Flag Marshal s Briefing Notes

How To Use My Tennis Page On TennisLink

ISS MMS Artistic Swimming

Missouri Hockey Youth Division Scheduling Web Site Club Coach & Manager Manual Updated - 9/5/2013

HORSEMANSHIP PATTERN #1

Water Safety at the Beach

MIDDLE HARBOUR 16ft SKIFF CLUB

Race Day Information Sheet Saturday, September 12, 2015

MOOLOOLABA YACHT CLUB YOUTH SAILING PROGRAM DRILL BOOK 1

WORLD SAILING PACKAGE OF TEST RULES FOR MATCH RACING UPDATED DECEMBER 2015 BRIEFING DOCUMENT

Vision Drills and Games

3 Global Winds and Local Winds

3 Global Winds and Local Winds

Point High. A Winning Strategy

Technical Service and Warranty Manual

Chapter 17 Mechanical Waves

Questions and Answers

ELIMINATOR COMPETITION DRAG RACE Program Manual Firm Ver 4.11

How to run a club night

MULTITUBE BUBBLE TUBE BY ROMPA (U)

OZCHASE RACING - ONLINE NOMINATIONS USER GUIDE - Ozchase Online Nominations User Guide Page 1 of 28

Lets Play Catch! Keeping Score in Alice. Overview. Set Up. Position the ball 20 feet away: Orienting the ball 7/19/2010

Below are the instructions to build a roller-furling unit for under $10. Read the entire process before beginning the project.

Managing Timecard Exceptions

ALGE DIVE! ALGE. ALGE-TIMING GmbH & Co

SPORTS ABILITY. Sitting Volleyball Sitting Volleyball. Skill Focus. Learning Intention. What you need. What to do

2017 BELGIAN GRAND PRIX

Select the forms you want to complete by clicking in the check boxes. You may choose one or more forms to complete

Air is Everywhere. Grade Level: K-2. Lesson Overview Objectives: Students will be able to Conceptualize what air is.

LEGO Engineering Conferences ROBOLAB and MINDSTORMS Education Version 4.5 March 2008

30 th Pan-Ram Invitational April 14, 2018 Invitation Letter

Basketball Ball-Handling Fundamentals and Drills

Transcription:

Scratch 1 Boat Race All Code Clubs must be registered. Registered clubs appear on the map at codeclub.org.uk - if your club is not on the map then visit jumpto.cc/18cplpy to find out what to do. Introduction You are going to learn how to make a game, in which you ll use the mouse to control a boat. You must try to get to the desert island, avoiding the wooden barriers. The white arrows boost your boat and make it go faster. Activity Checklist Test your Project Save your Project Follow these INSTRUCTIONS one by one Click on the green flag to TEST your code Make sure to SAVE your work now 1

Step 1: Controlling a boat Activity Checklist 1. Start a new Scratch project, and delete the cat sprite so that your project is empty. You can find the online Scratch editor at jumpto.cc/scratch-new. 2. For this project, you should have a Project Resources folder, containing all of the images you ll need. Make sure that you can find this folder, and ask your club leader if you can t find it. 3. From this Project Resources folder, import background.png as the stage backdrop and boat.png as a new sprite. If you don t have these images you can draw them yourself! 4. Rename your sprite Player 1, shrink it slightly, and move it to the bottom of the stage. Your project should look like this: 2

5. You are going to control the boat with your mouse. Add this code to your boat: 6. Test out your boat, by clicking the flag and moving the mouse. Does the boat sail towards the mouse? 7. Have a look what happens when the boat reaches the mouse pointer. To stop this happening, you ll need to add an if block to your 3

code, so that the boat only moves if it is more than 5 pixels away from the mouse. 8. Test out your boat again, to check whether the problem has been fixed. 4

Step 2: Crashing! Your boat can sail through the wooden barriers! Let s fix that. Activity Checklist 1. You ll need 2 costumes for your boat, one normal costume, and one for when the boat crashes. Duplicate your boat costume, and name them hit and not hit. 2. Click on your hit costume, and choose the Select tool to grab bits of the boat and move and rotate them around. Make your boat look as if it s crashed. 3. Add this code to your boat, inside the forever loop, so that it crashes when it touches any brown wooden barriers: 5

This code is inside the forever loop, so that your code keeps checking if the boat has crashed. 4. You should also make sure that your boat always starts looking like it s not hit. 5. Now if you try to sail through a wooden barrier, you should see that your boat crashes and moves back to the start. Challenge: Winning! Can you add another if statement to your boat s code, so that the player wins when they get to the desert island? When the boat gets to the yellow sand, it should say YEAH! and then the game should stop. You ll need to use this code: 6

Challenge: Sound effects Can you add sound effects to your game, for when the boat crashes, or reaches the island at the end. You could even add background music (see the previous Rock Band project if you need help with this). Step 3: Time Trial Let s add a timer to the game, so that the player has to get to the desert island as fast as possible. Activity Checklist 1. Add a new variable called time to your stage. You can also change the display of your new variable. If you need help, have a look at the Balloons project. 2. Add this code to your stage, so that the timer counts up until the boat reaches the desert island: 7

3. That s it! Test out your game and see how quickly you can get to the desert island! Step 4: Obstacles and power-ups This game is far too easy - let s add things to make it more interesting. Activity Checklist 1. First let s add some boosts to your game, which will speed up the boat. Edit your stage backdrop and add in some white booster arrows. 8

2. You can now add some code to your boat s forever loop, so that it moves 2 extra steps when touching a white booster. 3. You can also add in a spinning gate, which your boat has to avoid. Add in a new sprite called Gate, which looks like this: 9

4. Make sure that the colour of the gate is the same as the other wooden barriers. 5. Set the center of the gate sprite. 6. Add this code to your gate, to make it spin slowly: 10

7. Test out your game. You should now have a spinning gate that you must avoid. Challenge: More obstacles! Can you add more obstacles to your game? Here are some ideas to help you: You could add more wood to your backdrop, to make your game more difficult. You could add green slime to your backdrop, which slows the player down when they touch it. You can use a 11

the player down when they touch it. You can use a wait block to do this: You could add a moving object, like a log or a shark! These blocks may help you: If your new object isn t brown, you ll need to add to your boat code: Challenge: More boats! Can you turn your game into a race between 2 players? Duplicate the boat, rename it Player 2 and change its 12

colour. Change Player 2 s starting position, by changing this code: Delete the code that uses the mouse to control the boat: and replace it with code to control the boat using the arrow keys. This is the code you ll need to move the boat forward: You ll also need code to turn the boat when the left and right arrow keys are pressed. 13

Challenge: More levels! Can you create additional backdrops, and allow the player to choose between levels? 14