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.

Slides:



Advertisements
Similar presentations
Create a Simple Game in Scratch
Advertisements

Create a Simple Game in Scratch
Scratch is a Visual Programming Language
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
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 Understanding some programming techniques using Scratch Resetting, Parallelism and Events.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech Oct 2010.
What is Scratch? Scratch as Logo Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
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!
Game Maker Day 2 Making a Maze Game.
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.
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.
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.
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,
Image #1 Getting Started
WHAT IN THE WORLD IS SCRATCH??? AN INTRODUCTION TO COMPUTER PROGRAMMING By MD Showman.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
1 Project designed and created by M. Shajith Kumar.
Using MIT Scratch for Programming and Control Exercise 1 Creating movement Year 11 DTG 2012.
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.
Introduction to Computer Programming - Project 2 Intro to Digital Technology.
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
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.
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
Madlib-Input, Strings, and Lists in Scratch Barb Ericson Georgia Tech.
Teaching Kids Programming with Chromebook Digital Convergence Lab, NIU.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Introducing Scratch Learning resources for the implementation of the scenario
School of Computer Science Space School 2015 Programming a Lunar Lander Game.
Scratch Programming Cards
Create a Halloween Computer Game in Scratch
Customise & Explain your game
Scratch for Interactivity
Co-ordinates And Geometry Module 6: Investigation 2
Year 11 DTG Intermediate Using MIT Scratch for Programming and Control Exercise 2 Controlling movement with the keyboard Year 11 DTG Intermediate.
Games Programming in Scratch
Unit 2 Getting Started With
Scratch – Simple Programming
Loopy Motion Control.
Introduction to Object-Oriented Programming
Learn… Create… Program
Getting Started with Scratch
Scratch – Simple Programming
Motion and Looks.
Go to =>
Welcome to SCRATCH.
Hour of Code.
Go to =>
Go to =>
Go to =>
Image #1 Getting Started
Getting Started with Scratch
Learn… Create… Program
Creating a Simple Game in Scratch
Lesson One Movement.
Scratch – Simple Programming
Presentation transcript:

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 is called Scratch, it is completely free and available to download from: http://scratch.mit.edu/ You’ll complete week by week tutorials before finally designing, creating and evaluating your own game

Scratching The Surface Lesson 1 Simple Sprites

Objectives Objectives Learn how to write simple scripts to make Sprites move in Scratch

Scratch In computer graphics, a sprite is a two-dimensional image or animation that is used in a Computer Game Each sprite has a set of rules that define how it moves and how it behaves

Scripts Games are made by giving sprites a sequence of rules to follow. These are called scripts These scripts are often dependent upon other variables or events taking place first Scripts often need to be told to repeat or loop over and over again, until something instructs it to stop!

Open Scratch

This is sprite1, it comes already loaded in the SPRITE LIST and has already been placed on the STAGE Task: Right Click and delete sprite1 from the SPRITE LIST

Task: Click on the insert new sprite button.

Task: Select the sprite called cat2 from the animals folder.

Task: Rename the sprite and call it cat Task: Rename the sprite and call it cat. Remember to always call new sprites sensible names!

Task: From the control menu, drag and drop this rule into the SCRIPTS AREA

Task: From the motion menu, drag and drop the point towards rule into the SCRIPTS AREA and join it inside the forever rule Task: choose mouse pointer from the drop down list.

Compatible rules can be joined together in the SCRIPTS AREA Task: From the control menu, drag and drop the forever rule into the SCRIPTS AREA and join it together.

Task: From the motion menu, drag and drop the move 10 steps rule into the SCRIPTS AREA and join it underneath the point towards rule. Task: change number of steps to 3.

Task: run your program by pressing the green flag.

Notice how the co-ordinates change as you move the mouse and sprite.

Save your work as cat and mouse in your new Scratching The Surface Folder and open up a new blank Scratch screen

Task: Click on the insert new sprite button.

Task: Select the sprite called crab1-a from the animals folder.

Task: click the only face left-right button. Task: Rename the sprite and call it crab

Task: Build and test the following script for the crab sprite. Task: Add a further 3 scripts to make the crab move in all four directions.

Task: click the can rotate button. What happens now when your crab moves? Can you explain why?

Directions – Up; Down; Left; Right

Task: Save your work as in your Scratch Folder

Plenary You should be familiar with most of this code Find and fix the deliberate faults Can you explain how it all works?