The One Where You Scratch

Slides:



Advertisements
Similar presentations
Sprite-visual object (actor on the stage) Scripts- Tells actors (sprites) what to do.
Advertisements

GAME:IT Junior Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a.
GAME:IT Junior Ping Pong Objectives: Review skills from previous lessons Create a 2-player game Create a scoring display system Using old and new skills,
Create a Simple Game in Scratch
Create a Simple Game in Scratch
Scratch is a Visual Programming Language
Pong! “The oldest commercially available game in history” Resources created from the video tutorials provided by David Phillips on
Recap Ball Movement How does ball start its movement initially What happens when it hits the top and bottom What happens when it hits the paddle If you.
A Christmas Scratch game
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 6 of 10 If-then-else statements interactions Final projects specifications.
Extending the Pong Example Barb Ericson Georgia Tech June 2011.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech Oct 2010.
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.
Using MIT Scratch for Programming and Control Exercise 3 Ball Game Year 9 ICT Autumn Term 2007.
©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 1 ©Robomatter – Distribution or copying without permission.
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.
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.
Scratch pong challenge Pong is a classic 1970s video game  Open the pongv1.sb2 file in Scratch  Click the.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
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.
By Mr. Putnam. In Catfall, the goal of the game is to touch the falling cats with the mouse. Every time you touch a cat, your score goes up by one point.
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
Unit 6 Motion – Air Hockey Evangel College S.2 ICT.
Scratch for Interactivity Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
MATLAB Lab Simulating Billiard Game Modify hitball.m and myball.m to simulate 3-cushion billiard game. Rules: –two players –three balls.
GAME:IT Junior Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a.
GAME:IT Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a simple.
ICT/COMPUTING RULES Only use software allowed by the teacher
Scratch Part 2 – Character Commands. What does a command do?  Commands in programming allow an object whatever it is to do something. In the case of.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Index Background Costumes Making object walk smoothly Controlling an object with the keyboard Control an object with the mouse Changing costume when hit.
LEARNING SCRATCH: PRESENTATION 1 PRESENTATION 1: GETTING STARTED 1 Getting Started Today, we'll learn how to use Scratch to make a puppet show.
Scratch Programming Cards
Introduction to Scratch
Scratch Helicopter Game
Create a Halloween Computer Game in Scratch
Commands in Scratch.mit.edu
Broadcasting (Adding a new level)
Dancing on Green Light.
Games Programming in Scratch
Scratch for Interactivity
Stage 1 Before you start to script the game you need to create the assets. Stage 1 will help you to create your background image, score zones, paddles.
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.
Understanding the Geometric Shape Code
Scratch – Simple Programming
Cosmic Chorus Green Book, Ch 5.
Scratch I - Overview.
Scratch for Interactivity
Scratch Programming Intro
Scratch – Simple Programming
Cosmic Chorus.
Lesson 1 Introduction to Scratch Basic blocks
Objectives To understand how the pen tool works
Lesson Objectives To understand how to make sprites interact
Move in Two’s From the card Pass between two’s. T T
Hour of Code.
Motion in Scratch 1.
Short Passing Technique Practice 1.2 teams of 5
Creating a Simple Game in Scratch
Scratch Racing.
CSC 221: Introduction to Programming Fall 2018
Catch Game Cards Catch Game Cards Make a Card Go to the Top Fall Down
Scratch Dance Routine.
Scratch – Simple Programming
Presentation transcript:

The One Where You Scratch One Player Pong

Create A Backdrop Create a backdrop Bottom of stage should have a “kill” zone Rename backdrop, “Stage”

Draw Sprites Create a minimum of two Sprites (a ball and a paddle) Rename Sprites, “Ball” and “Paddle” Sprite is a two dimensional graphic

Program Ball Events Script - Begins the script for the “Ball” sprite Motion Script - Tells ball where it will begin and in which direction to travel Control Script - Forever loop - Actions within here will repeat forever Motion Script Tells ball to bounce when it hits edge Tells ball speed at which to move

Program Ball If/Then Script If ”Ball” touches ”Paddle” then: Play a sound to identify Turn Clockwise between 160 and 200 degrees Maintain speed If/Then Script if ball touches the color, RED then: Play a sound to identify Stop game

Program Paddle When program begins: Forever Loop Paddle to follow mouse on x-axis

Make it Your Own You have successfully made Pong Add to your program and make it your own Make a different stage Make the ball speed up each time it hits paddle Add a counter and try to beat your high score HAVE FUN!