An intro to programming concepts with Scratch Session 7 of 10 sessions Working with sounds and sprite communication.

Slides:



Advertisements
Similar presentations
Create a Simple Game in Scratch
Advertisements

Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
My Internet Safety Guide I have used scratch to program a guide to internet safety using QR codes.
Create a Simple Game in Scratch
Audacity Lesson One Venette Cook What will we do? 1.Open Audacity on the desktop. 2.Record your voice! 3.Save on your flash drive. Give a title. 4.Export.
30 min Scratch July min intro to Scratch A Quick-and-Dirty approach Leaving lots of exploration for the future. (5 hour lesson plan available)
Michael Parkes Dudley LA What can Scratch do? Make simple games, animations, presentations and stories.
Mission Technology Introduction to Scratch! June 2007.
Scratch for Storytelling Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
Harry Potter Scratch Game
Adventures in Animation Harry Potter Game Pranali Choubal Kunal Shaw Barb Ericson Dec 2007.
Step 4. Click on Import Pictures. Step 5. Go to picture location and select. Step 6. Click next Step 2. Click on Begin a new story Step 1. Start Photo.
This game is loosely based on the Whack-A- Mole arcade game.  Each game starts with 45 seconds of play.  Moles randomly pop out of holes on the landscape.
Write Your First Computer Game!. Coding: Programming Languages Just like you can speak Chinese to someone who understands Chinese to tell them what to.
Scratch Programming Session 9 of 10 Review elements to use in stories, games, etc.
Scratch Programming Session 6 of 10 If-then-else statements interactions Final projects specifications.
1 An introduction to programming concepts with Scratch.
1 An introduction to programming concepts with Scratch (in 5 hours + homework)
ITEC Winter An intro to programming concepts with Scratch Quick intro for college citizens. George Stockman MSU CSE.
Extending the Pong Example Barb Ericson Georgia Tech June 2011.
Scratch Understanding some programming techniques using Scratch Resetting, Parallelism and Events.
This is one of a range of games available from Communication 4 All™ to assist with 2D Shape recognition. You, or the pupils, can click on any textbox.
First create a folder with your pictures/ images needed to create the story Then open Photostory 3. Click on begin a new story and click next.
Creating pong in scratch Learning objectives: To learn how to program Sensing via colour and sprite proximity O:\ICT\ks3\scratch\scratch Exercises\Creating.
Fish Chomp. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
Scratch the Cat. Object Oriented Programing Writing computer programs Based on Objects Instead of Actions Based on Data Instead of Logic.
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.
Introduction to Scratch!
Introducing Scratch the Cat
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.
I put this into my scratch so that when the green flag was clicked to start the game, and wait an amount of seconds before the QR changes.
2015 CSE/EGR Summer Camps 1 Computer Science Concepts 1. What is an algorithm? 2. Binary information coding 3. Programming concepts via Scratch Designed.
Play Road Game to understand the game Click on each sprite to understand its script Think about a different place that a sprite would have to get across.
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.
How to MODIFY a BUTTON and Modify Button Modify Button in the Title Bar Record button Modify button Battery gauge Memory gauge Day, date, and time Setup.
Geometry. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions are.
Fish Chomp. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
Overview of Game Maker. Game Maker Version 7.0 Lite (free version) For MS-Windows platforms
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
Introduction to Scratch. What is Scratch? Scratch is a control program that enables you to create your own interactive stories, animations, games, music,
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
Variables and Random Numbers Computer App Session 4.
Marble Racer. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
Games Programming in Scratch
Algorithms in Scratch How to plan your code. Algorithms Algorithms provide computers with a set of instructions or a set of rules. They are written BEFORE.
 SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
Scratch for Interactivity Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
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.
1 Understand what Scratch is and what it can be used for Lesson 1: Learning Objectives.
I have used Scratch, to program a guide to internet safety. This is done by using QR codes to make it more interactive and interesting for people playing.
1 CSC 221: Computer Programming I Fall 2009 Introduction to programming in Scratch  animation sprites  motion, control & sensing  costume changes 
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Introducing Scratch Learning resources for the implementation of the scenario
Event Driven Programs Exploring Computer Science – Lesson 4-5.
Create a Halloween Computer Game in Scratch
Scratch for Interactivity
Spanish Mad libs with Scratch
Unit 2 Getting Started With
Scratch – Simple Programming
Scratch I - Overview.
Introduction to Object-Oriented Programming
Scratch – Simple Programming
Lesson Objectives To understand how to make sprites interact
Getting Started with Scratch
Creating a Simple Game in Scratch
Scratch – Simple Programming
Presentation transcript:

An intro to programming concepts with Scratch Session 7 of 10 sessions Working with sounds and sprite communication

Session 7 goals Learn how sprites can communicate by sending messages Learn how to play sounds and to input your own voice Free time to work on your own project

Communicating sprites: taking turns by message passing Get cat and dog sprites Suppose cat speaks first When finished, the cat can send a message to the dog to speak When the dog is finished, the dog can send a message to the cat to speak

First behavior for the cat After saying hello, cat sends a message to dog (actually to all sprites)

Dog is activated by hidog1 message Dog send message back to cat (and any other sprites)

Cat’s turn again after hicat2 message from the dog

Dog can have 2 nd touching behavior

Sprites can have many behaviors Activated by clicking green flag Activated by clicking the sprite Activated by a key being pressed Activated by a message from another sprite Activated by touching another sprite

More about using sounds Sound library; Speaking in the mike; Importing music

Composing with drum beats

Jodi jumps on the drum Story teller script Jodi’s script

Recording from a mike (or an iPod or other music player) 1. Plug in microphone 2. Pick the speaker sprite 3. Click “Sounds” 4. Click “Record” 5. Click red button and speak 6. Click square button to stop 7. Click triangle to hear it 8. Click “OK” if it’s OK 9. Use name of sound in a play-sound instruction

The Friends Story (play it)

Variations in stories Have several scenes Scenes change with messages or variables Make characters move Make characters hide or show Behavior can change with variables, touching, mousing. Background music for each scene

Work on your own project! Work on your storyline first, then do your coding. Work on your game idea first, then the coding.