Introduction to.

Slides:



Advertisements
Similar presentations
Scratch is a Visual Programming Language
Advertisements

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.
Mrs. Chapman. Tabs (Block Categories) Commands Available to use Script Area where you type your code Sprite Stage All sprites in this project.
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.
#nsta14 Using graphing / data visualization as a Playground for Literacy and Mathematics.
Adventures in Animation Introduction to Scratch! Michelle Venable-Foster June 2006.
What is Scratch? Scratch as Logo Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
Mr. Wortzman. Tabs (Block Categories) Available Blocks Script Area Sprite Stage All sprites in this project.
INTRODUCTION TO THE SCRATCH PROGRAMMING ENVIRONMENT.
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.
The 4 th grade Nutley TALENT cohort shares: SCRATCH.
Using MIT Scratch for Programming and Control Exercise 3 Ball Game Year 9 ICT Autumn Term 2007.
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.
Partners Comp# Partner APartner B 1 Ancona, SamanthaManternach, Hailey 2 Black, RyanMcNeil, Maddie 3 Conger, KevinOhland, Rebecca 4 Day, MerciOtterbein,
Introduction to Scratch Scratch as Logo Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
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.
Section 1 Introduction National 4/5 Scratch Course.
Introduction to Programming G50PRO University of Nottingham Unit 2 : Introduction To Scratch Paul Tennent
Summer Computing Workshop.  This workshop is designed to introduce basic programming concepts through the use of the highly intuitive programming environments.
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
Scratch Another computer programming language Developed by MIT in 2003
Making a Sprite Dance Barb Ericson Georgia Tech June 2011.
Computer Programming Modeling a Passive Solar Home.
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.
Introduction to Computer Programming - Project 2 Intro to Digital Technology.
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.
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 of the stage and.
 SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
1 CSC 221: Computer Programming I Fall 2009 Introduction to programming in Scratch  animation sprites  motion, control & sensing  costume changes 
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.
Computer Programming Modeling a Passive Solar Home.
Computer Programming with Scratch JAOIT 8. Scratch Scratch is a programming language that makes it easy to create your own interactive stories, animations,
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.
Introducing Scratch Learning resources for the implementation of the scenario
School of Computer Science Space School 2015 Programming a Lunar Lander Game.
Using MIT Scratch for Programming and Control Programming 9.
Functions / Blocks.
Review for Final June 13, 2016.
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.
Unit 2 Getting Started With
Learn… Create… Program
Getting Started with Scratch
Lesson 1 Introduction to Scratch Basic blocks
Learn… Create… Program
Recap the basics Lesson 1.
Welcome to SCRATCH.
Hour of Code.
Getting Started with Scratch
Image #1 Getting Started
Introduction to Snap Programming
Getting Started with Scratch
Recap the basics Lesson 1.
Learn… Create… Program
Learn… Create… Program
Creating a Simple Game in Scratch
CSC 221: Introduction to Programming Fall 2018
Lesson One Movement.
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.
Scratch Dance Routine.
Presentation transcript:

Introduction to

What is Scratch? Scratch is a visual programming language Scratch was developed by the Massachusetts Institute of Technology’s Media Group Scratch is currently maintained and developed by MIT’s Media Group in collaboration with the UCLA Graduate School of Education and Information Studies. Scratch is often used as an introductory programming language Scratch builds on Logo Some of the skills learned in Scratch can be applied to other programming languages like JAVA and Python.

Think of Scratch as a Theater Production Think of the Scratch screen as a theater production with the following areas and characters. The Stage is where the action or scenes play out A Sprite is a character or actor. A cat is the default sprite.  You will learn to change sprites and create custom sprites as we move forward The toolbox contains color coded blocks that control sprites and what occurs on stage. There are three tabs, Scripts, Costumes and Sounds. Programs that control the scenes are created by dragging blocks into the script area.

Stage Script Sprites Toolbox with blocks

Programming blocks grouped and color coded by what functions they control.

Pen Blocks (Green) Commands are similar to Logo Pen up and pen down blocks work just like the Logo commands Clear removes prior pen marks There are also blocks that allow you to change pen color and size just like Logo

Event Blocks Event blocks control when actions begin for particular sprites Clicking on the green flag is how most scenes begin As we gain a better understanding of Scratch, we will use other Event Blocks

Motion Blocks Motion blocks move or turn Sprites on the stage Many of the motion blocks will move sprites based on their location on the stage (relative motion) Use negative numbers to move the Sprites backwards

Shows x and y coordinates of the curser position over the Stage Absolute Motion The Stage is set up on a coordinate plane (480 by 360, can’t change) Every point on the Stage has a x and y coordinate that appear in the lower right of the stage The coordinates of the center point on the Stage are (0,0) Motion blocks that move Sprites to a specific position on the stage (x and y coordinate) regardless of the current position use absolute motion Shows x and y coordinates of the curser position over the Stage

Writing a Program with Scratch Writing programs in Scratch involves dragging specific blocks from the toolbox to the script area for each sprite Connected blocks work together to control Sprites Blocks that are NOT connected, won’t run when the green flag is clicked Program Script Area

Duplicating Commands There are occasions when we want a command to occur again. By right clicking, we can duplicate command blocks. Duplicating command blocks is fairly simple when we only want a command to repeat once or twice. Duplicating command blocks is not effective for repeating commands multiple times.

Creating Opening Comments in Scratch You can create opening comments or comments that explain a section of code. To create opening comments, right click on an empty spot at the top of the script area and choose “Add Comment” from the pop up menu. Replace the words “add comment here” with comments required for this class. Change the size of the comment box by “dragging” the bottom right corner of the comment.

Creating Comments To Explain Your Code To create comments to explain a section of code, right click on the line of code at the top of the code section that you wish to explain, and choose “Add Comment” from the pop up context menu. Replace the words “add comment here” with comments to explain your section of code. You can “collapse” or expand the comment by clicking on the triangle in the top left corner of the comment box.