Events The brown events block in Scratch starts script's when certain things happen. For example, when the user presses a key, clicks sprites, or uses.

Slides:



Advertisements
Similar presentations
Sprite-visual object (actor on the stage) Scripts- Tells actors (sprites) what to do.
Advertisements

Michael Parkes Dudley LA What can Scratch do? Make simple games, animations, presentations and stories.
Mission Technology Introduction to Scratch! June 2007.
Pong! “The oldest commercially available game in history” Resources created from the video tutorials provided by David Phillips on
Y A S O O B A L I b o r n o n 1 9 t h F e b r u a r y i n K a n p u r d i s t r i c t o f U t t a r P r a d e s h. H e s t a r t e d s i n g i.
 First you have to think up a what kind of game are you going to have it can be any thing from a brick breaker to an role playing game.
Scratch Programming Session 6 of 10 If-then-else statements interactions Final projects specifications.
An intro to programming concepts with Scratch Session 7 of 10 sessions Working with sounds and sprite communication.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech Oct 2010.
Scratch the Cat. Object Oriented Programing Writing computer programs Based on Objects Instead of Actions Based on Data Instead of Logic.
CATCH SCRATCH! Programming from Scratch. Remember Scratch?
Introduction to Scratch!
We will be creating a spaceship that simulates real movements in space. The spaceship will fire a laser beam that can destroy targets. The spaceship will.
Summer Computing Workshop. Session 2 Input in Scratch  Multi-Character input - This is used when the user is prompted to enter a number or word.  Problems.
Objects and Methods in Scratch 1. 2 Scratch environment Stage is at upper right (where actors act and information is displayed) Sprite is another name.
Standard Grade Presentations & Multimedia. Presentation & Multimedia Software Allows the user to set up exciting and attractive documents which helps.
2015 CSE/EGR Summer Camps 1 Computer Science Concepts 1. What is an algorithm? 2. Binary information coding 3. Programming concepts via Scratch Designed.
1 Understand how to use Scratch to: – Animate a sprite – Add sound to your script – Use the forever command to create a loop Lesson 2: Learning Objectives.
Getting Started with Scratch Version 1.4 Visit
Introduction to Programming G50PRO University of Nottingham Unit 2 : Introduction To Scratch Paul Tennent
Activity 3.1: The rise of Hitler and the Nazis 1919 November: Hitler joins the German Workers Party January: Spartacist Uprising.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech May 2011.
Scratch pong challenge Pong is a classic 1970s video game  Open the pongv1.sb2 file in Scratch  Click the.
Unit 3 Music and Sound Evangel College S.2 ICT.
COMPUTER GAMES. Learning objectives Evaluate a computer game and suggest how it can be improved Create a design for a computer game Create a computer.
Introduction to Scratch. What is Scratch? Scratch is a control program that enables you to create your own interactive stories, animations, games, music,
Scratch Another computer programming language Developed by MIT in 2003
The If Block. IF The “if” block can be found in the control tab. The if block means, “IF this happens, THEN do this.” You can put blocks ON the if block.
Double click here to add event title Double click here to add event date Double click here to add event time Double click here to add event location.
Today we are learning to: Understand how actions and events control our game. Completing the catch the clown game – making a room – adding music Gather.
Today we are learning to: Understand how flow charts are used to design games Add events to our objects to control stuff in our game – (Using the user.
Using MIT Scratch for Programming and Control Exercise 1 Creating movement Year 11 DTG 2012.
From last time… Explore the blue commands from the motion menu Find at least three ways to get the sprite to move to the UPPER LEFT corner.
Cloning in Scratch Computer App Session 6. Cloning in Scratch Learning Objectives: I will clone sprites in Scratch to create copies of an existing sprite.
 SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
Scratch Lesson 1. Creating an account Open the internet browser : Safari or Internet Explorer Type in the URL scratch.mit.edu Using your school computer.
Sprites & Backdrops. Sprites Sprites are the actors that perform the commands in your script. The cat is the default Sprite. Scratch has many other Sprites.
Teaching Kids Programming with Chromebook Digital Convergence Lab, NIU.
Introducing Scratch Learning resources for the implementation of the scenario
Event Driven Programs Exploring Computer Science – Lesson 4-5.
Using MIT Scratch for Programming and Control Programming 9.
Customise & Explain your game
Commands in Scratch.mit.edu
Scratch for Interactivity
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.
What is SCRATCH? Learning Objectives: to explore the Scratch website
Exploring Computer Science – Lesson 4-5
Unit 2 Getting Started With
Cosmic Chorus Green Book, Ch 5.
Computing Year 7 - Unit 2 Programming Basics Scratch Basics.
Introduction to Object-Oriented Programming
Introduction to.
The One Where You Scratch
Learn… Create… Program
Cosmic Chorus.
Lesson 1 Introduction to Scratch Basic blocks
Learn… Create… Program
Step by step guide to: Smart Search
(More) Basic blocks Broadcasting messages
Learning Objectives Explain how selection is used to change a program output Decompose a problem with inputs to help design a program Describe the use.
Unit 5 Basic Motion Skills
Introduction to Snap Programming
YOUR text YOUR text YOUR text YOUR text
Learn… Create… Program
Learn… Create… Program
What is SCRATCH? Learning Objectives: to explore the Scratch website
Introducing Scratch and Creating Sprite
Catch Game Cards Catch Game Cards Make a Card Go to the Top Fall Down
Using MIT Scratch for Programming and Control Exercise 5 – Drawing with Scratch Year 9 ICT Autumn Term 2007.
Presentation transcript:

Events The brown events block in Scratch starts script's when certain things happen. For example, when the user presses a key, clicks sprites, or uses a webcam or microphone.

What are Clicking Events?

What are Key Press Events?

Sound Events Using a microphone, sprite can detect how loud sounds in a room are on a scale of 0 (very quite) to 100 (very loud). “when loudness >10” block to make a script start when the sound is loud enough.

Sound Event Start a new project, and add the “room 3” backdrop image from the backdrop library. Drag the cat sprite on to the chair and add the script shown here:

Sound Continued Shout into the microphone – the cat should jump out of its seat with a fright and meow.

What are Webcam Motion Detectors? Webcams can be used in Scratch 2.0. Add this script to the cat, and when you wave at the webcam the cat will meow back. Use the “when loudness >10” block,. Click the menu to change “loudness” to “video motion”. The script will start when you’re moving around.