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.

Slides:



Advertisements
Similar presentations
Create a Simple Game in Scratch
Advertisements

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
Flappy bird guide for Scratch
A Christmas Scratch game
An intro to programming concepts with Scratch Session 7 of 10 sessions Working with sounds and sprite communication.
Racing Car Game Using the keys to control a sprite.
Lesson 1: Setting up a 2d game 9.5 Lesson Slides.
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.
We will be creating a spaceship that simulates real movements in space. The spaceship will fire a laser beam that can destroy targets. The spaceship will.
Using MIT Scratch for Programming and Control Exercise 6 – Creating a Scratch Packman Year 9 ICT Autumn Term 2007.
How to make a Shooting Target game in Scratch!. WE ARE GOING TO MAKE A TARGET GAME. This game will have: A Target that will move when clicked. A Timer.
Institute for Personal Robots in Education (IPRE)‏ CSC 170 Computing: Science and Creativity.
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.
Variables. Todays Lesson  In todays lesson you are going to:  Learn to use variables  Learn to ask for user input  Learn to save the users response.
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.
TRIGGERS Triggers tell a script to start executing There are four types of triggers: When green flag is clicked When I am clicked When is pressed When.
Image #1 Getting Started
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.
Variables and Random Numbers Computer App Session 4.
Marble Racer. 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 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.
Get Going On ….. Load the word file ‘Glossary’ and complete it. You will have homework today.
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.
Making a Flappy Birds Game PART 2 – MAKING THE BIRD FLAP AND FALL – AND DEVELOPING THE GAME FURTHER (ADDING ADDITIONAL CHARACTERS, GOODIES, ENEMIES AND.
ICT/COMPUTING RULES Only use software allowed by the teacher
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)
Play Road Game to understand the game Click on each sprite to understand its script Think about a different place that a sprite would have to get across.
Index Background Costumes Making object walk smoothly Controlling an object with the keyboard Control an object with the mouse Changing costume when hit.
Scratch Helicopter Game
Create a Halloween Computer Game 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 – Simple Programming
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
The One Where You Scratch
Scratch – Simple Programming
Lesson 1 Introduction to Scratch Basic blocks
Go to =>
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Maze Race. Maze Race Race The first thing you need to do is change the background so click on stage. Then click on background. Now click paint Select.
Lesson Objectives To understand how to make sprites interact
Go to =>
Image #1 Getting Started
Game Over Module 4 Lesson 2.
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Getting Started with Scratch
Mod 5 Lesson 1 Scratch Cards: Easy
Game development using Scratch
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Creating a Simple Game in Scratch
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
CSC 221: Introduction to Programming Fall 2018
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Presentation transcript:

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 stored. The SPRITES are where you store and select the STAGE and COSTUMES SCRIPTS AREA is where you put your instructions The SCRIPT BLOCKS are where the instructions of what your SPRITES can do !

Project 3 – Pong

What will we learn?  How to make a two player game  How to make a ball bounce off a bat  How to create a scoring zone  Use the operator block to create random numbers for the ball movement

Create two paddle sprites  Use sprite paint editor rectangle shape to draw a paddle sprite

Create a ball sprite  Use sprite paint editor circle shape to draw a ball sprite

Make the ball move  Set the ball off in a random direction.

Make the ball move  Set the ball off in a random direction.

Make the blue paddle move  Control the blue sprite with the w and s keys

Make the blue paddle move  Control the blue sprite with the w and s keys

Make the red paddle move  Control the red sprite with the up and down arrow keys

Make the red paddle move  Control the red sprite with the up and down arrow keys

Make the ball bounce off the red paddle  If the ball touches the red paddle pick a random direction away from the red paddle

Make the ball bounce off the red paddle  If the ball touches the red paddle pick a random direction away from the red paddle

Make the ball bounce off the blue paddle  If the ball touches the blue paddle pick a random direction away from the blue paddle

Make the ball bounce off the blue paddle  If the ball touches the blue paddle pick a random direction away from the blue paddle

What next?  We need to make a scoring system  How are the players going to score

Create 2 scoring zones  Draw a thin blue scoring line behind the blue paddle and a thin red scoring line behind the red paddle. Use different colours to the paddles.

Create 2 variables for the scores  Create the variables and move them to sensible positions

Create 2 variables for the scores  Create the variables and move them to sensible positions

Increment the scores  Increase the cores by one when the ball touches the score zone. You also need to move the ball back to the centre to start a new turn.

What next?  Reset the scores to zero at the start of each game.  End the game when a player has reached a certain score

Set the scores to zero at the start of the game  Set the scores to zero when the green flag is clicked.

Set the scores to zero at the start of the game  Set the scores to zero when the green flag is clicked.

End the game when a player has reached a certain score  Use the operator with a variable and a number of your choice to end the game.

End the game when a player has reached a certain score  Use the operator with a variable and a number of your choice to end the game.

Ideas for starters  Look at the game on the board/screens  Identify the things you will need to create to play the game  Identify what each thing needs to do  Find 5 examples of Sprites you could use for your game.  How do you plan to edit these sprites/make different costumes for them?  List 3 features of good game design  Identify an audience for your game

Ideas for plenaries  What alterations have you made already?  How would you make the game child friendly?  How would you make the game appeal more to adults?  What did you find easy about making the game?  What did you find challenging about making the game?  What advice would you give to a student just starting to make the game for the first time?  How could you improve your game?  Look at the scratch cards in the Scratch ideas folder. Create a scratch card for an action in scratch that you have learned today.