Creating pong in scratch Learning objectives: To learn how to program Sensing via colour and sprite proximity O:\ICT\ks3\scratch\scratch Exercises\Creating.

Slides:



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

Create a Simple Game in Scratch
In this tutorial, we are going to create: A race car that the user can control with the arrow keys for direction and speed. A simulated road with a striped.
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
Creating a Basic Pacman game
A Christmas Scratch game
Pivot Animation Tutorial. Tutorial links: Startup Moving your figure Adding new frames Playback Adding a figure Edit figure Load new figures Creating.
Justus Nyagwencha Game Maker. Getting started -> Resources The icons across the top are very important All the things you add to the game are called “Resources”.
Scratch Programming Session 6 of 10 If-then-else statements interactions Final projects specifications.
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.
Extending the Pong Example Barb Ericson Georgia Tech June 2011.
Scratch Understanding some programming techniques using Scratch Resetting, Parallelism and Events.
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.
Game Design Creating a game called PING Phase 3: Steps for building basic game.
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.
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.
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.
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.
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.
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.
Today we are learning to: Understand how actions and events control our game. Completing the catch the clown game – making a room – adding music Gather.
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
Welcome to Scratch By Miss Key. The Main Screen Viewing screen with choice of views.
Scratch Part 3 – Creating a level. What you will be doing.  You will make the first level to your game.  You need to think about the following when.
Game Maker Evil Clutches.
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.
Scratch Programming Lesson 1 Moving objects with sound and changing colours.
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.
Computer Programming with Scratch JAOIT 8. Scratch Scratch is a programming language that makes it easy to create your own interactive stories, animations,
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Introducing Scratch Learning resources for the implementation of the scenario
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
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 7B IT1.
Year 11 DTG Intermediate Using MIT Scratch for Programming and Control Exercise 2 Controlling movement with the keyboard Year 11 DTG Intermediate.
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
Areas of the SCRATCH 2 Screen
Go to =>
Objectives To understand how the pen tool works
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.
Go to =>
The game is played by moving the cursor along the red arteries and clicking on the various pieces of your patient’s anatomy that are ailing him to remove.
Game development using Scratch
Predicting Chance Outcomes
Creating a Simple Game in Scratch
Scratch Racing.
The game is played by moving the cursor along the red arteries and clicking on the various pieces of your patient’s anatomy that are ailing him to remove.
Scratch 7B IT 1.
Presentation transcript:

Creating pong in scratch Learning objectives: To learn how to program Sensing via colour and sprite proximity O:\ICT\ks3\scratch\scratch Exercises\Creating a Pong game

First Create the stage

Edit the background to create the out area

Now draw your two sprites

On sprite to grab the instructions needed. Connect them up.

Begin start and stop command (make sure co-ordinates are right for top of your screen)

Click the colour in touching colour and then click red band at bottom Change the direction by pulling point straight down

To prevent ball going off side if screen set the if on edge bounce function

At this point your ball should move from left to right and your paddle (sprite 2) should move with your mouse

Now we set the ball to bounce off paddle

These are commands that are needed

This will get ball to bounce off the paddle

Pick random will make ball move in random directions

Make sure values on screen is same as mine

PLAY PONG Extension activity 1)Try to make it a two player game by: – Editing background (red stripe at top) – Adding third sprit that moves using arrow buttons – Make sure ball sprite responds to paddle two

2 nd activity Try to use the same principle to develop pacman the game.