Pong! The oldest commercially available game in history

Similar documents
Pong! The oldest commercially available game in history

Lesson 2 Game Basics

Create a Simple Game in Scratch

04. Two Player Pong. 04.Two Player Pong

Let s start by making a pencil, that can be used to draw on the stage.

In this project you ll learn how to create a game, in which you have to match up coloured dots with the correct part of the controller.

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Kinect2Scratch Workbook

Creating Computer Games

Scratch for Beginners Workbook

In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours!

Add in a new ghost sprite, and a suitable stage backdrop.

Overview. The Game Idea

Introduction to Turtle Art

Let s start by making a pencil that can be used to draw on the stage.

Pong Game. Intermediate. LPo v1

Create Your Own World

Ghostbusters. Level. Introduction:

In this project we ll make our own version of the highly popular mobile game Flappy Bird. This project requires Scratch 2.0.

In this project you ll learn how to create a game in which you have to save the Earth from space monsters.

Game Design Curriculum Multimedia Fusion 2. Created by Rahul Khurana. Copyright, VisionTech Camps & Classes

COMPUTING CURRICULUM TOOLKIT

Whack-a-Witch. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code

Create a game in which you have to guide a parrot through scrolling pipes to score points.

In this project you ll learn how to create a times table quiz, in which you have to get as many answers correct as you can in 30 seconds.

Memory. Introduction. Scratch. In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours!

Before displaying an image, the game should wait for a random amount of time.

Scratching the Surface of Pong: Enriching Linear Equations with Computer Programming

In this project you ll learn how to create a platform game, in which you have to dodge the moving balls and reach the end of the level.

Lost in Space. Introduction. Scratch. You are going to learn how to program your own animation! Activity Checklist.

In this project you ll learn how to code your own musical instruments!

Flappy Parrot Level 2

CONCEPTS EXPLAINED CONCEPTS (IN ORDER)

Lesson 8 Tic-Tac-Toe (Noughts and Crosses)

GAME PROGRAMMING & DESIGN LAB 1 Egg Catcher - a simple SCRATCH game

Module. Introduction to Scratch

Rock Band. Introduction. Scratch. In this project you ll learn how to code your own musical instruments! Activity Checklist.

a. the costumes tab and costumes panel

Parallax Scrolling Tutorial Created in Drogheda by Seamus Minogue and updated for Clonakilty CoderDojo 15/06/2012 PARALLAX SCROLLING

Fish Chomp. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code

Programming I (mblock)

THE TECHNOLOGY AND CRAFT OF COMPUTER GAME DESIGN An introductory course in computer game design

Project 1: Game of Bricks

How to do automatic horizontal background scrolling in Scratch

Alright! I can feel my limbs again! Magic star web! The Dark Wizard? Who are you again? Nice work! You ve broken the Dark Wizard s spell!

Starting from LEARNER NOTES edited version. An Introduction to Computing Science by Jeremy Scott

CISC 1600, Lab 2.2: More games in Scratch

Clone Wars. Introduction. Scratch. In this project you ll learn how to create a game in which you have to save the Earth from space monsters.

Programming with Scratch

Create Your Own World

Defend Hong Kong s Technocore

Part II: Number Guessing Game Part 2. Lab Guessing Game version 2.0

Kaltura CaptureSpace Lite Desktop Recorder: Editing, Saving, and Uploading a Recording

The VG-Clip Player. This section is required for anyone that DOESN T own the FULL COLLECTIONS of their card sets And have Cards On-Stage

Brain Game. Introduction. Scratch

Open the Tech Toys Scratch project. Your club leader will give you a copy of this project, or you can open it online at jumpto.cc/toys-go.

Computer with Scratch program.

Rendering a perspective drawing using Adobe Photoshop

Fireworks. Level. Introduction: In this project, we ll create a fireworks display over a city. Activity Checklist Follow these INSTRUCTIONS one by one

BE SURE TO COMPLETE HYPOTHESIS STATEMENTS FOR EACH STAGE. ( ) DO NOT USE THE TEST BUTTON IN THIS ACTIVITY UNTIL THE END!

Unit 5: What s in a List

Explore and Challenge:

Development Outcome 2

STEP-BY-STEP THINGS TO TRY FINISHED? START HERE NEW TO SCRATCH? CREATE YOUR FIRST SCRATCH PROJECT!

Assessment. Self Assessment. Teacher Assessment. Date Learning Objective(s) Achievement or. NC Level: Game Control Student Booklet P a g e 1

Copyright 2017 MakeUseOf. All Rights Reserved.

Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game

Module 4 Build a Game

Create Fractions in Google Sketch up

PING. Table of Contents. PING GameMaker Studio Assignment CIS 125G 1. Lane Community College 2015

Project: Copter VH-ZGA Flight Test Difficulty: Level 2

KEEPING SCORE: HOW TO USE SCORES, LIVES AND HEALTH

Ada Lovelace Computing Level 3 Scratch Project ROAD RACER

Game Making Workshop on Scratch

Write algorithms with variables. Phil Bagge code-it

Using Game Maker. Getting Game Maker for Free. What is Game Maker? Non-event-based Programming: Polling. Getting Game Maker for Free

AIM OF THE GAME GLACIER RACE. Glacier Race. Ben Gems: 20. Laura Gems: 13

Introduction. Basic Image Formatting. Word 2010 Formatting Pictures. To Crop an Image: Page 1

Arcade Game Maker Product Line Requirements Model

PowerPoint 2016: Formatting Pictures. Introduction

GAME:IT Bouncing Ball

Scratch Programming Lesson 13. Mini Mario Game Part 4 Platforms

1hr ACTIVITY GUIDE FOR FAMILIES. Hour of Code

Using Game Maker. Oregon State University. Oregon State University Computer Graphics

Space Invadersesque 2D shooter

Creating a Maze Game in Tynker

Clickteam Fusion 2.5 [Fastloops ForEach Loops] - Guide

The Games Factory 2 Step-by-step Tutorial

Start from Scratch Open Photoshop.

Table of Contents. Creating Your First Project 4. Enhancing Your Slides 8. Adding Interactivity 12. Recording a Software Simulation 19

Photo Story Tutorial

ICS 61 Game Systems and Design Midterm Winter, Mean: 66 (82.5%) Median: 68 (85%)

GameMaker. Adrienne Decker School of Interactive Games and Media. RIT Center for Media, Arts, Games, Interaction & Creativity (MAGIC)

GAME:IT Junior Bouncing Ball

Tilt Sensor Maze Game

Tutorial Three: Categorising ideas using the SuperGrouper tool In Kidspiration there are two basic ways to organise ideas in Picture View: links and

Types of Mask. Layer masks

Now we ve had a look at the basics of using layers, I thought we d have a look at a few ways that we can use them.

SAMPLE CHAPTER

ADDING A RAINBOW TO A PHOTOGRAPH

How to use Photo Story 3

Transcription:

Pong! The oldest commercially available game in history Resources created from the video tutorials provided by David Phillips on http://www.teach-ict.com 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 (bats) and ball. 1

Getting Started Open SCRATCH 1. Save As. 2. My Home Drive. 3. SCRATCH PROJECTS. 4. Pong. QUICK QUESTION: Why are you saving your file BEFORE you have changed anything? Creating the background 1. You need to select stage and background. 2. Use the paint bucket to colour in the background. 3. Use the line tool to create the centre line. 4. Use the rectangle toolto create the score zones in two contrasting colours I have used red and blue in the example. 2

Creating the paddles part 1 1. You need to delete the catsprite. 2. Right click and select delete. Creating the paddles part 2 1. Select paint new sprite. 2. Use the rectangle tool to create a suitable paddle. 3. Select OK. 4. Right click to duplicate the paddle for player #2. 3

Creating the ball part 1 1. Select Chose new sprite from file. 2. Select the Things folder. 3. Search for an appropriate ball sprite to use. 4. Press OK. Creating the ball part 2 1. You need to shrink the ball using the shrink spritetool. 2. Hover over the ball sprite and click your mouse to shrink it to an appropriate size for your game. 3. Then, re-arrange the assets to the start position. 4

Stage 2 Getting the paddles to move up and down. Stage 2will help you to make the player 1 and player 2 paddle controls to move them up and down on the Y axis. Making the paddles move Player #1 1. Select the first paddle(sprite1). 2. Create the script shown above. 3. Right click to duplicate the script, then change the key to z and -10 to move the paddle down. 5

Making the paddles move Player #2 1. Select the first paddle (sprite1). 2. Drag the script over Sprite2 to copy the script for player #2. 3. Select the second paddle (sprite 2), right click to duplicate the script, then change the keys to up arrow and down arrow and the values 10 and -10 as per the previous script. Stage 3 Getting the ball to move in a fairly random manner. Stage 3will help you to make the ball bounce off the sides of the game area with a simple script. 6

Making the ball move 1. Select the ball (sprite3). 2. Create the script shown above. 3. Testthe ball uses random directions by starting and stopping the game 2-3 times. Stage 4 Playing the game. Stage 4will help you bounce the ball off the paddles so that the game can be played. 7

Setting up the paddles Use this operator to set up the direction instructions. 1. You need to create an IF statement for the behaviour of each sprite, within the ball sprite. 2. Select the ball (sprite3), create the statements above. 3. Movethem into the correct place in the ball script. 4. Don t forget to testthat they work! Stage 5 The score board(s). Stage 5will help you create scores for your game, using the red and blue score zones that you set up at the very start. Remember blue = player 1 and red = player 2. 8

Setting up the score board part 1 1. You need to create variables for each player. 2. Select the ball (sprite3). 3. Go to the variables options and select make a variable. 4. Name the variable Player1, then repeat for Player2. Setting up the score board part 2 To select the score zone colour click on the coloured square for the dropper to come up, then click the dropper on the score zone. 1. Create the if statements above to define the rules for scoring points. 2. Then drag them into the forever command below the other if statements. 9

Stage 6 Improvements Stage 6will help you refine the scoring system and the starting position for the ball to make the game more accurate Improvement #1 Re-setting the scores 1. Use the set variable command to re-set the scores to zero each time the game is stopped and started again. 2. Don t forget to test it. 10

Improvement #2 Re-positioning the ball 1. After a point has been scored the ball should be returned to the centre of the screen. 2. Use the go to motionscript adjustments above to create this. Improvement #3 Adding a pause 1. Adding a delay gives the players time to re-position their paddles for the next point. 2. Use the wait controlscript adjustments above to create this. 11

Improvement #4 Changing direction Check that you have set the direction for the correct player. 1. Adding a delay gives the players time to re-position their paddles for the next point. 2. Use the point in direction motion script and pick random operator. Summary The scripts that you will use have been summarised here for you to check your work against. 12

Sprite1 Sprite2 13

Sprite3 Why not try... 4 players in the game? Changing the sprites to be more interesting? Making the paddles shorter? Speeding up the ball? Making the score zone smaller, maybe add goal posts? Changing the colours/layout to make it more child friendly? Changing the layout/colours to make it more appealing to an older audience? Writing instructions for the technical user and end users? 14