Scratch Primary Lesson 4

Similar documents
How to Build a Simple Pac-Man Game

REFERENCE GUIDE 1. INTRODUCTION

Whack-a-Witch. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code

Fish Chomp. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code

1.0-Scratch Interface 1.1. Valuable Information

Fruit Machine. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code

Computer Science Education Week Teacher/Volunteer Guide

Use fireworks and Bonfire night as a stimulus for programming

SCRATCH PROGRAMMING AND NUMERACY IN SENIOR PRIMARY CLASSES

Make your own Temple Run game

Computer Science Concepts in Scratch

MADISON PUBLIC SCHOOL DISTRICT. Grade 8 Cycle Class. Scratch

The Richard Pate School. Draft Year 4 Scheme of Work for Scratch

Ten easy steps to creating great MicroWorlds EX projects. Steve Robson

Tagxedo. Tagxedo is based on a Microsoft application called SilverLight. If you don t have it, don t worry. Tagxedo will prompt you to download it

1. Get to know the SCRATCH Work Space:

CREATE A 3D MOVIE IN DIRECTOR

The first step is to upload the Helicopter images from a strip. 1) Click on Resources > Create Sprite 2) Name it spr_helicopter 3) Click Edit Sprite

SMART Boards. If the board is connected to a different computer - Orientation is needed whenever you connect it to a new or different computer.

Triggers & Actions 10

Create a new file/canvas to work with by going to the file menu and selecting new.

Introduction to Google SketchUp (Mac Version)

Match Branch Services to Enterprise Services in Kitomba One

m ac romed ia Fl a s h Curriculum Guide

Communicate: In Print

Introduction to Microsoft Word

WebEx Sharing Resources

Lesson 7 - Creating Animation II

Graphic Objects and Loading Them into TGF2/MMF2

Getting Started in Tinkercad

Flash MX Image Animation

Batch and Import Guide

Basic Cutout Animation Tutorial

Recipes4Success. Animate a Rocket Ship. Frames 6 - Drawing Tools

Tutorial: Biped Character in 3D Studio Max 7, Easy Animation

WELCOME TO THE WORLD OF TELL ME MORE KIDS!... 3 TEACHER TOOLS... 4 IDENTIFICATION SCREEN... 5 HOMEPAGE... 6

Crop and Frame Your Photos

How To Create Aweber List & Follow Up s

Beginning PowerPoint: Hands-On Exercise (Windows XP) Regent University

Jump-Start Tutorial For ProcessModel

Introduction to Computers: Session 3 Files, Folders and Windows

Making Visio Diagrams Come Alive with Data

SolidWorks Building Blocks Tutorial. Toy-car

Sage Accountants Business Cloud EasyEditor Quick Start Guide

Mapping with CMap Software Jamie Armstrong

Windows: File Management. Lesson Notes Author: Pamela Schmidt

MailChimp Instruction Manual

Creating Your Own 3D Models

Macintosh System OSX #1

How to Upload and Caption Videos on YouTube

To Begin Customize Office

Flash MX 2004 Animation Lesson

Task Card #2 SMART Board: Notebook

Longman English Interactive

How to create a Flash banner advert in DrawPlus X2

Lesson 4. Temporal Management of Layers

Advanced Layer Popup Manual DMXzone Advanced Layer Popup Manual

So you want to create an a Friend action

FROM MOONSCAPE TO GREENSCAPE MULTIMEDIA PRESENTATION. How do I do it?

MAKE YOUR FIRST A-MAZE-ING GAME IN GAME MAKER 7

Using Kid Pix Deluxe 3 (Windows)

Creating and Using Links and Bookmarks in PDF Documents

2. More Use of the Mouse in Windows 7

Microsoft Office Publisher 2010

I ntroduction. Accessing Microsoft PowerPoint. Anatomy of a PowerPoint Window

Jefferson County EMA and City of Birmingham Alert System

What is Microsoft PowerPoint?

Notes: The Raspberry Pi Education Manual. Introduction

Solar-Generation Data Visualization Software Festa Operation Manual

Calendar: Advanced Features Set up reminders, sharing, secondary calendars, and more!

Getting Started with Excel Table of Contents

Excel Using Pivot Tables

Using Your Polyvision Digital Whiteboard and Walk-and-Talk

Click on various options: Publications by Wizard Publications by Design Blank Publication

Blender Notes. Introduction to Digital Modelling and Animation in Design Blender Tutorial - week 9 The Game Engine

Smart Board Notebook Software A guide for new Smart Board users

Quick Start Guide. Microsoft Publisher 2013 looks different from previous versions, so we created this guide to help you minimize the learning curve.

Making a Simple Plasticine Animation Using Digital Blue Movie Creator Duncan Whitehurst ICT Advisory Teacher Pembrokeshire County Council

Module 1. 4 Login-Send Message to Teacher

Inspiration can help you to structure your essays. It can be useful for brainstorming or revising a topic

4 Gravity: A Force of Attraction

Course Project Lab 3 - Creating a Logo (Illustrator)

DYNAMICS TUTORIAL. The Dynamics Series

SMART Notebook 10 User s Guide. Linux Operating Systems

HOWTO annotate documents in Microsoft Word

Password Protection Application for Verbatim USB Flash Drives

Information Technology Solutions

About XML in InDesign

What s New in QuarkXPress 8

Drip Marketing Campaign Manual

Microsoft PowerPoint 2008

Create an Art Collage

Creating Hyperlinks & Buttons InDesign CS6

Learning Activity Management System TEACHER S GUIDE. October 2006 LAMS V2.0 for The First International LAMS Conference 2006

Business Analytics Enhancements June 2013

Advanced Database Concepts Using Microsoft Access

How to create database in GlycomcsPortal?

COURSE DESCRIPTION. Queries in Microsoft Access. This course is designed for users with a to create queries in Microsoft Access.

Transcription:

Scratch Primary Lesson 4 Motion and Direction creativecomputerlab.com

Motion and Direction In this session we re going to learn how to move a sprite. Go to http://scratch.mit.edu/ and start a new project:

The move Block Go to the palette. Drag the block onto the cat sprite s script area. Click on it and watch the cat move to the right:

Move With The Arrow Keys Go to the palette. Drag the block onto the script area. Choose the right arrow key: Connect the right arrow key to the move block: Press the right arrow key and watch the cat move. creativecomputerlab.com

Move With The Arrow Keys Let s do the same for the left arrow: Here s a cool trick! Right click on the block and select duplicate Change the duplicate to left arrow : We ve easily created another set of scripts Place the left arrow script on the left creativecomputerlab.com

Move With The Arrow Keys Move the cat with the left and right arrow keys: The left arrow key is moving to the cat to the right as well. How can we make the cat go left??

Move With The Arrow Keys We want the left arrow to move in the opposite direction of the right arrow:? What kind of a number do we have to put into the left arrow move block?

Move With The Arrow Keys A negative number moves in the opposite direction as a positive number. Positive numbers move to the right -> Negative numbers move to the left <- Try it and see!

Move Up and Down Create move scripts for the up and down arrow keys. You can duplicate them easily.?? What numbers do we put into the move blocks for the up and down directions?

Direction The reason the cat can move left and right is because it is pointing in a certain direction In Scratch, when sprites are first created, they are set to point towards 90 degrees. Click on the blue i on the cat sprite. It will show information about the sprite. You can see in which direction the sprite points:

See which way it moves with the left and right arrow keys. creativecomputerlab.com Direction Experiment Let s change the direction of the cat, then move left and right with the arrow keys and see what happens: Go to the palette and drag out the block onto the script area. Set the direction to 0 degrees: Double click on the block to make it work. The cat is now facing up, it s direction is 0 degrees:

More Direction Experiments Change the cat s direction to different degree values, then press the arrow keys and see what happens: See what happens when the direction is set to -90 degrees: Which way do the left and right arrow keys move the sprite when it is pointing towards -90 degrees?

The Degrees of the Circle In Scratch, direction is the same as the degrees of the circle: 360-90 or 270 90-180 0 and 360 degrees are at the top. They both point up. 180 degrees is half the circle. It points down. In Scratch, the left half of the circle is expressed in negative numbers. Also -180 and 180 are the same. creativecomputerlab.com

All Four Directions In order to make all four arrow keys make the sprite move in the correct direction, we need to set the direction for each key. Try this: Why don t we need to move with negative numbers anymore? How do we keep the sprite from going upside down when going left? creativecomputerlab.com

Rotation Styles You can control which way the cat is facing when changing direction with blocks or by setting the rotation style for the sprite: The cat rotates all around the circle. It goes upside down when degrees are negative. The cat stays right side up all around the circle. It also stays level. creativecomputerlab.com The cat stays facing the same way around the circle. It doesn t rotate.

Facing the Right Way In order for the sprite to face the way it is moving, the correct rotation style must be chosen for the direction. For left (-90) and right (90) use For up (0) and down (180) use

Do the Walk The cat comes with two animation costumes: Lets make the cat take steps when moving. Add the block to each script:

Animate Other Characters Many Scratch sprites come with several costumes which can make an animation when played in a sequence. For example, the Boy3 Walking sprite has 5 costumes which can animate his walk: Choose the Boy3 Walking sprite and add him to your project:

Copy Scripts to Another Sprite We want to animate the boy like we did with the cat. BUT we don t want to make the same scripts all over again. We can copy the scripts from the cat: 1. Go to the cat s script area 2. Select a script block and drag it over to the Boy3 Walking sprite icon: 3. Let go of the mouse button. The script flies back to its place. 4. Check the Boy s script area. You should see the script copied there. 5. Do the same for the other scripts. Now the boy can walk using the arrow keys. You can hide the cat if you want to. creativecomputerlab.com

Make Games and Stories Now that you can make sprites walk around the stage, think about all the games and stories you can make! Have a look at all the sprites and backgrounds and use your imagination!