Year 11 DTG 2012 - Intermediate Using MIT Scratch for Programming and Control Exercise 2 Controlling movement with the keyboard Year 11 DTG 2012 - Intermediate.

Slides:



Advertisements
Similar presentations
Instruction: Use mouses left button. Use mouses left button. If mouse buttons dont work, use arrow keys of keyboard for slide show. If mouse buttons dont.
Advertisements

Instruction: Use mouses left button. Use mouses left button. If mouse buttons dont work, use arrow keys of keyboard for slide show. If mouse buttons dont.
Learn… Create… Program. Manipulation of Multiple Media Connects with youth culture Scratch is a new graphical programming language designed to support.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech Oct 2010.
Code Club Session 2 Dance Party. What will we learn ?  How to change the background  How to create animations  How to make objects talk to each other.
Using MIT Scratch for Programming and Control Exercise 3 Ball Game Year 9 ICT Autumn Term 2007.
How to make a Shooting Target game in Scratch!. WE ARE GOING TO MAKE A TARGET GAME. This game will have: A Target that will move when clicked. A Timer.
Using MIT Scratch for Programming and Control Extension work – clock project Year 9 ICT Autumn Term 2007.
Section 1 Introduction National 4/5 Scratch Course.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech May 2011.
Introduction to Scratch. What is Scratch? Scratch is a control program that enables you to create your own interactive stories, animations, games, music,
Image #1 Getting Started
Making a Sprite Dance Barb Ericson Georgia Tech June 2011.
Using MIT Scratch for Programming and Control Exercise 1 Creating movement Year 11 DTG 2012.
First Project: Dance Dance Sprite  Write a dance with your sprite (You pick or create the sprite)  Incorporate as many of the Motion Commands as you.
1 After completing this lesson, you will be able to: Open a file. Navigate through a document. Scroll through a document. Insert text in a document. Select.
How to create a sprite Delete a sprite (e.g. the cat) by right clicking on it and choosing delete. Go to the bottom right hand corner and choose a new.
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
Welcome to Scratch By Miss Key. The Main Screen Viewing screen with choice of views.
 SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
How to create a basic game in Scratch. The Scratch Stage The Scratch stage is 480 pixels wide and 360 pixels high x increasesx decreases.
Computer Programming with Scratch JAOIT 8. Scratch Scratch is a programming language that makes it easy to create your own interactive stories, animations,
FILE MANAGEMENT NOTES. ACCESSING FLASH DRIVE  Put Flash Drive in the Computer  Start – Computer– Select it.
Index Background Costumes Making object walk smoothly Controlling an object with the keyboard Control an object with the mouse Changing costume when hit.
Intro CS – Keyboard and mouse input Lesson Plan 7.
Using MIT Scratch for Programming and Control Programming 9.
THE MOUSE Left Click THE MOUSE Right Click.
1.5 File Management.
Scratch Programming Cards
Movement Game Design (Scratch).
Create a Halloween Computer Game in Scratch
Scratch for Interactivity
Exploring Mathematical Relationships Module 5: Investigation 3
Step-by-Step: Check Spelling and Grammar
Co-ordinates And Geometry Module 6: Investigation 2
What is it?! •Scratch is a programming language that allows you to create interactive stories, music, animations, art, games, and more!
Scratch Unit Overview We are going to look at computer programming and how to create your very own computer game The piece of software we will be using.
© A+ Computer Science -
Creating a Word Document – Part 1
Opening an Existing File
Unit 2 Getting Started With
Loopy Motion Control.
CREATING, PRINTING, AND EDITING DOCUMENTS
Getting Started with Scratch
Microsoft Word Text Basics.
File Management.
Key Applications Module Lesson 12 — Word Essentials
Areas of the SCRATCH 2 Screen
Meditation Class 1. Meditation Class 2. Meditation Class 3
Creating a Word Document – Part 1
Lesson Objectives To understand how to make sprites interact
Go to =>
Instructions on printing multiple slides on one sheet
Moving the Insertion Point
Page Counter Printing Instructions for printing the monthly counter readings from your Ricoh device. Click your mouse or press your “Down Arrow” key (if.
How To “Capture” An Image
Getting Started with Scratch
Unit 5 Basic Motion Skills
Microsoft Excel 2007 – Level 1
Image #1 Getting Started
File Management.
File Management.
Getting Started with Scratch
A function that is initiated using an icon, drop-down menu, or mouse
Key Applications Module Lesson 12 — Word Essentials
Explain what touch develop is to your students:
Creating a Simple Game in Scratch
Introducing Scratch and Creating Sprite
“Captured screen” appears.
Using MIT Scratch for Programming and Control Exercise 5 – Drawing with Scratch Year 9 ICT Autumn Term 2007.
Presentation transcript:

Year 11 DTG 2012 - Intermediate Using MIT Scratch for Programming and Control Exercise 2 Controlling movement with the keyboard Year 11 DTG 2012 - Intermediate

What you will learn In this exercise we will learn: how to control the movement of the sprite with the keyboard arrows using x and y co-ordinates We can combine this with the previous exercise to make the sprite walk around the screen

Keyboard control It is possible to control your sprite using the keyboard arrow keys. There is a small pointer next to the Sprite symbol at the top of the screen which can be set to any angle thereby determining the natural direction of movement of the sprite. In this exercise we want the Sprite to move exactly up and down vertically or side to side horizontally so we will use the change x by and change y by instructions to order to ensure that the Sprite moves exactly horizontally or vertically

Keyboard control Before completing this exercise dump your existing script into the left had side of the screen (this will delete it)

Keyboard control Now copy the main part of the script then edit the sub script for each movement of the mouse determined by each of the respective four arrow keys

Keyboard control Drop the three new copied sets of instructions inside the forever instruction (not inside the existing If condition instruction) Click the green flag button. It should now be possible to drive your cat sprite around the screen using the up, down, left and right arrow keys

Keyboard control

Cat walking with keyboard control Looking back over the previous exercises it should be possible to make a script combining what you have already learned that allows the Cat sprite to walk around the screen.

Save your work Save this exercise with the file name catwalk2