Introduction to Scratch

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.
Create a Simple Game in Scratch
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)
Scratch for Storytelling Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
Video Game Design Lesson 1. Game Designer Person involved in the development of a video game Person involved in the development of a video game Usually.
Harry Potter Scratch Game
1 An intro to programming concepts with Scratch Session 3 of 10 sessions Repetition and variations.
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
Scratch Programming Session 6 of 10 If-then-else statements interactions Final projects specifications.
1 Starting to Program From Scratch scratch is a new programming language that lets you create your own interactive stories, animations, games, music, and.
Introduction to Scratch UC Santa Cruz CMPS 10 – Introduction to Computer Science 13 May 2011.
1 An introduction to programming concepts with Scratch.
ITEC Winter An intro to programming concepts with Scratch Quick intro for college citizens. George Stockman MSU CSE.
Racing Car Game Using the keys to control a sprite.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech Oct 2010.
Scratch Workshop Thursday, August 26, 2010.
What is Scratch? Scratch as Logo Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
INTRODUCTION TO SCRATCH. About Me Resources Scratch Website Learn Scratch Washington-Lee Computer.
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.
INTRODUCTION TO THE SCRATCH PROGRAMMING ENVIRONMENT.
Introduction to.
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!
Exploring Computer Science 2/23/15 2/23 Develop a Scratch story project -Brainstorming 2/24 Develop a Scratch story project –Developing 2/25 Develop a.
Exploring Computer Science 2/16/15
Partners Comp# Partner APartner B 1 Ancona, SamanthaManternach, Hailey 2 Black, RyanMcNeil, Maddie 3 Conger, KevinOhland, Rebecca 4 Day, MerciOtterbein,
Exploring Computer Science 2/9/15 2/9Moving Scratch 2/10Moving Scratch worksheet 2/11 Scratch Baseball Game 2/12Scratch Alphabet Learning Game 2/13Game.
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.
Introduction to Programming G50PRO University of Nottingham Unit 2 : Introduction To Scratch Paul Tennent
Digital Art in Scratch part 1 Barb Ericson Georgia Tech May 2011.
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.
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.
Computer Programming Modeling a Passive Solar Home.
Introduction to Computer Programming - Project 2 Intro to Digital Technology.
 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.
1 CSC 221: Computer Programming I Fall 2009 Introduction to programming in Scratch  animation sprites  motion, control & sensing  costume changes 
ICT/COMPUTING RULES Only use software allowed by the teacher
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Introducing Scratch Learning resources for the implementation of the scenario
© it’sLearning 365 Limited | Screen 1 FLASH enabled How to use me : Teachers Notes Useful Web Link Ne xt Pa ge Ne xt Pa ge Navigate.
Functions / Blocks.
Scratch Programming Cards
Scratch Helicopter Game
Create a Halloween Computer Game in Scratch
Scratch for Interactivity
What is it?! •Scratch is a programming language that allows you to create interactive stories, music, animations, art, games, and more!
Spanish Mad libs with Scratch
Introduction to Object-Oriented Programming
The One Where You Scratch
Learn… Create… Program
Getting Started with Scratch
Learn… Create… Program
Scratch for Storytelling
ICT Gaming Lesson 3.
Introduction to Snap Programming
Getting Started with Scratch
Learn… Create… Program
Learn… Create… Program
Game development using Scratch
Creating a Simple Game in Scratch
CSC 221: Introduction to Programming Fall 2018
Problem Solving and Computer Programming
Presentation transcript:

Introduction to Scratch Intro to visual programming environment Intro to programming with multimedia Story-telling, music-making, game-making Intro to programming concepts: objects, attributes, sequence, repetition, conditions, events, I/O

What is Scratch Scratch is a free programmable toolkit that enables users to create their own games, animated stories, and interactive art and share their creations with one another over the Internet. Use of scratch allows you to: Create solutions to problems using computers Study information Invent algorithms Write programs to implement the algorithms Reuse a lot of existing program and machine parts

Start Scratch Open web browser Navigate to: http://scratch.mit.edu

Scratch start window Stage area Scripts area Blocks palette This is where the result of your program execution will be seen Your construct your script here by putting together command blocks from the “Blocks palette”. Sprite list List of existing or created objects which are used in your script.

What Scratch can do Elements of Scratch: objects Can make cartoons Can create stories Can create video games Elements of Scratch: objects Colors Sounds Locations in 2D space Sprites Costumes Variables (to remember the state of things) Events: that are broadcast for communication

Your first script Make sure to have a sprite selected in the “Sprite list” Drag shown blocks into “Script area”. Click the sprite in the “Stage area”

Add new stage

Stage dimensions These are x- and y- coordinates for the stage: y x

Add new sprite

Loop constructs in Scratch Repeat N times Repeat forever Repeat forever if some condition exists

Compose program in Scratch

Compose scripts in Scratch Examples of loops and “IF” operators:

Scratch assignment No. 1 Using Scratch (scratch.mit.edu) design algorithm and script which would perform the following: Draw a car. Draw a smiley face. Draw a house. Draw a sailboat. Draw initials of the team leader. Draw a robot face Draw a 6-leaf flower Draw 5 squares with crosses Save your script on your local computer. Prepare brief printed MS-Word report with problem statement, solution description, working script, and Scratch screen shots. Upload the script and the report to your group file exchange section on the BlackBoard. Each team should be able to present (show on the screen) and explain working scripts to the audience in class. The printed report shall be turned in.

Scratch assignment No. 2 Using Scratch (scratch.mit.edu) design algorithm and script which would display: working digital clock working analog clock stop watch Create your own sprites and your own background if needed. Save your script on your local computer. Prepare brief printed MS-Word report with problem statement, solution description, working script, and Scratch screen shots. Upload the script and the report to your group file exchange section on the BlackBoard. Each team should be able to present (show on the screen) and explain working scripts to the audience in class. The printed report shall be turned in.

Scratch assignment No. 3 Using Scratch (scratch.mit.edu) design algorithm and script which would draw a graph of function: f(x) = A sin(ax + b) where A, a, and b are parameters which can be entered from keyboard. Create your own sprites and your own background if needed. Save your script on your local computer. Prepare brief printed MS-Word report with problem statement, solution description, working script, and Scratch screen shots. Upload the script and the report to your group file exchange section on the BlackBoard. Each team should be able to present (show on the screen) and explain working scripts to the audience in class. The printed report shall be turned in.

Scratch assignment No. 5 Using Scratch (scratch.mit.edu) design algorithm and script which would perform the following functions: Rotate the vehicle with an arm until it finds (touches) the object “Grab” the object Rotate the vehicle with the object 180 degrees Release the object Move the vehicle off the object Create your own sprite and your own background. object vehicle Save your script on your local computer. Prepare brief printed MS-Word report with problem statement, solution description, working script, and Scratch screen shots. Upload the script and the report to your group file exchange section on the BlackBoard. Each team should be able to present (show on the screen) and explain working scripts to the audience in class. The printed report shall be turned in.

Scratch assignment No. 6 Using Scratch (scratch.mit.edu) design an algorithm and a script which would move chosen sprite (a ball) in random direction inside a rectangular box and bouncing off its walls. You may create your own sprites and your own background. Save your script on your local computer. Prepare brief printed MS-Word report with problem statement, solution description, working script, and Scratch screen shots. Upload the script and the report to your group file exchange section on the BlackBoard. Each team should be able to present (show on the screen) and explain working scripts to the audience in class. The printed report shall be turned in.

Scratch assignment No. 7 Using Scratch (scratch.mit.edu) design an algorithm and a script which would animate your team name. Maximum length 30 seconds. Your scene needs to have theme music and a stage that reflects your personality, interests, and essence. Include suitable animation for the letters. You may create your own sprites and your own background. Save your script on your local computer. Prepare brief printed MS-Word report with problem statement, solution description, working script, and Scratch screen shots. Upload the script and the report to your group file exchange section on the BlackBoard. Each team should be able to present (show on the screen) and explain working scripts to the audience in class. The printed report shall be turned in.