INTRODUCTION TO SCRATCH. About Me Resources Scratch Website Learn Scratch Washington-Lee Computer.

Slides:



Advertisements
Similar presentations
Create a Simple Game in Scratch
Advertisements

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)
Mission Technology Introduction to Scratch! June 2007.
Microsoft® Small Basic Advanced Games Estimated time to complete this lesson: 1 hour.
Harry Potter Scratch Game
A Christmas Scratch game
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.
Mrs. Chapman. Tabs (Block Categories) Commands Available to use Script Area where you type your code Sprite Stage All sprites in this project.
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.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech Oct 2010.
Adventures in Animation Introduction to Scratch! Michelle Venable-Foster June 2006.
SCRATCH This Design Notebook belongs to:. 3 What are the different ways you interact with computers? List your answers here: 5.
Mr. Wortzman. Tabs (Block Categories) Available Blocks Script Area Sprite Stage All sprites in this project.
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.
INTRODUCTION TO THE SCRATCH PROGRAMMING ENVIRONMENT.
CATCH SCRATCH! Programming from Scratch. Remember Scratch?
In.  This presentation will only make sense if you view it in presentation mode (hit F5). If you don’t do that there will be multiple slides that are.
Introduction to Scratch!
Using MIT Scratch for Programming and Control Exercise 3 Ball Game Year 9 ICT Autumn Term 2007.
Programming & Scratch. Programming Learning to program is ultimately about learning to think logically and to approach problems methodically. The building.
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.
©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 1 ©Robomatter – Distribution or copying without permission.
Exploring Computer Science 2/16/15
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.
2015 CSE/EGR Summer Camps 1 Computer Science Concepts 1. What is an algorithm? 2. Binary information coding 3. Programming concepts via Scratch Designed.
Game Maker Terminology
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.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
WHAT IN THE WORLD IS SCRATCH??? AN INTRODUCTION TO COMPUTER PROGRAMMING By MD Showman.
Scratch Another computer programming language Developed by MIT in 2003
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
Computer Programming Modeling a Passive Solar Home.
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
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.
Today's Ninja Challenge: Write Your First Computer Game!
1 CSC 221: Computer Programming I Fall 2009 Introduction to programming in Scratch  animation sprites  motion, control & sensing  costume changes 
Intro CS – Costumes and Variables Lesson Plan 6. Goals  Understanding Costumes, Ordering, Naming  Switching Costumes with Switch and Next  Using Variables.
Intro CS – Loops, making animations & films Lesson Plan 3.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Drawing in Scratch We will be using the Scratch Environment today, so please log in to the Scratch website (scratch.mit.edu)
Introducing Scratch Learning resources for the implementation of the scenario
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
© 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.
Introduction to Scratch
Intro CS – Costumes and Variables
Scratch Helicopter Game
Create a Halloween Computer Game in Scratch
Intro CS – Screens and Variables
Scratch for Interactivity
Diamond Hunt Mock Programming Project.
Scratch I - Overview.
Scratch for Interactivity
Scratch Programming Intro
Learn… Create… Program
Go to =>
Learn… Create… Program
Learn… Create… Program
Learn… Create… Program
Creating a Simple Game in Scratch
CSC 221: Introduction to Programming Fall 2018
Presentation transcript:

INTRODUCTION TO SCRATCH

About Me

Resources Scratch Website Learn Scratch Washington-Lee Computer Science

Scratch Setup Download & Installation Mac OS X, Windows, Linux Configuration  None Account creation on Share Save projects on-line Play & download other projects

Traditional Intro CS Problems Math-oriented  need to have algebra to understand variables Syntax-centric  (), {}, ;, ||, && ! Not enough emphasis on logic Boring Current generation needs instant gratification A picture is worth 1000 words Which of the two would you rather have?

Hello, world! 1. Make the cat move 2. Make the cat move with directions 3. Make the cat move with directions and use the pen Assignment:

Sprites A programmable entity on the screen Comprised of 3 things: Scripts – the logic of what it does Costumes – what it looks like Sounds – any sounds that you want to play Costume editing Importing costumes Multiple sprites on the screen Sprites can act independently Sprites can interact

Motion & Pen Blocks Demo motion and pen blocks to students Moving and Drawing Assignment

Sounds & Keyboard Import your own sounds Record your own sounds “When _____ key pressed” block Sound Board Assignment

Sprite Looks & Background Background image Changing costumes Saying and Thinking Graphics and Size effects “Wait” block Sprite Look Practice Create an animation that retells a movie/story in simplified terms. In your animation, you must employ the following: Background image Sprites that move around Sprites that change costume Sprites and say/think A graphic or size effect being applied to sprites

Control Blocks - Iteration “Repeat” block Iteration Practice Assignment Create a Scratch program that uses the repeat block to draw a staircase Create a Scratch program that draws a circle (HINT: Repeat 360 times turning and moving) Create a Scratch program that repeatedly draws squares across the screen

Basic Game Programming 1. Start game 2. Run forever (game loop w/ “forever” block) 3. Include rules in your game loop 4. Do the above for every sprite

Control Blocks – Conditionals Booleans - things that are True or False if statement blocks if-else statement blocks Forever Block Practice Move sprite If on edge, bounce Forever Block Practice 2 If ___ key pressed Point in ____ direction Move Forever Block Practice 2 If ___ key pressed Change ____ coordinate

Avoidance Game Example Walk students through building a typical game Player sprite movement Enemy sprites to avoid Goal sprite to try and reach Timer How do we keep track of lives? Introduce Variables Creating variable Setting variables Increasing/Decreasing variables

Basic Frogger Game Give your game a simple background You will need several sprites. 1 player sprite will be the player and it will cross the screen by using the keyboard. 3-5 enemy sprites will be used to move back and forth vertically across the screen (the number depends on how big you make them) When you play your game, you want to cross the entire screen without hitting the enemy sprites. Start the player off with 3 lives (HINT: use a variable) If you hit any of the enemy sprites: Subtract one life away Say "Ouch!" Move the player back to its starting location If lives hits 0, then say "Game Over" and end the game If the player reaches the other side of the screen, then say "You win!" Hint: You can use all sorts of different ways to detect how you hit the other side of the screen Create a long sprite that you detect hitting OR... Check the y-coordinate of the sprite and if it is greater than the upper bound of the screen

Differentiating with Advanced Features If you are done with Basic Frogger, then try implementing the following advanced features: Background music Sounds when you move the frog The enemy sprites constantly change costume back and forth (makes it look like they're moving) Health/Lives power-up (when picked up, you get a new life) Increasingly difficult levels

Item Collection Game Player moves around Player can pickup items Player avoids "mines" Player wins when all items are picked up Player loses when he/she hits a mine

Robot Game Use Item Collection Game Add a robot that follows the Player around Use if-statements “point towards” block Robot Game Requirements

Whac-A-Mole Game Mouse down events Whac-A-Mole Examples Whac-A-Mole Game Requirements

Dodge Game Using if-statements to trigger other events If sprite’s y-coordinate reaches bottom, set it to the top Dodge Game

Tron Light Cycles ron.shtml ron.shtml Tron Light Cycles Game

National STEM Video Game Challenge