A. creating clones. Skills Training 5

Size: px
Start display at page:

Download "A. creating clones. Skills Training 5"

Transcription

1 A. creating clones 1. clone Bubbles In many projects you see multiple copies of a single sprite: bubbles in a fish tank, clouds of smoke, rockets, bullets, flocks of birds or of sheep, players on a soccer team, etc. In Scratch 2 you can create a single sprite and then generate many clones of the sprite. You might have a very busy stage but when you stop the script, all you see is your single sprite. 5_01 clone_bubbles The image made by the stamp block cannot move or be moved. It doesn't have a unique identity or name and cannot respond to a message or to user interaction the way a sprite can. The stamp block instructs the sprite to create a picture of itself at the current location of the sprite. A clone is a copy of a parent sprite. It inherits the parent's scripts, costumes, sounds, and properties, and it can be moved, modified and made to behave in a different manner from the original. However it is not a sprite and can't respond to user interaction as it doesn't have a unique identity or name. All clones share the same scripts. The three clone blocks are used to create and programme clones of a sprite. fish sprite fish script 1 of 2 To do: Create an underwater animation. One fish sprite creates a clone of itself so that two fish are seen swimming about. The fish sprite also creates a clone of another sprite (a bubble). The clones just keep bubbling up from the mouth of the fish. The blocks are in the Control palette. the only hat block not in the Events palette. I am the Fish - the little green guy is only my clone the clone of this fish forever loop creates a clone of the bubble in each pass of the loop. animates this sprite (the fish) moves this sprite... or of another sprite It s important to delete the clone inside a forever loop otherwise too many clones will be generated and the programme will crash. Bubble scripts changes the y-position of this sprite fish script 2 of 2 The clone does not have a script Hide parent bubble so that it s not visible on the stage. Use the show block to make the clones visible. changes clone s direction, position, colour and size defines the animation and movement characteristics of my clone Question: When the programme is stopped the small fish and the bubbles disappear. Why is this? 80 When each bubble clone starts it goes to the stage position of the Fish. To help make this happen, in the Paint Editor set costume centre of the fish over its mouth.

2 2. clone Bullets (a) scripts on alien sprite 5_02 shootaliens 3 costumes on each alien alienship1 alienship1a shellblast (1) To do: This Spacewars game works well but it is incomplete. There is only one alien ship. There is no Score script and it needs a Timing script also. Can you make it more exciting and perhaps add sound and other features? NOTES: (2) (3) (1) The repeat until loop makes the animated Alien ship move down the stage until it either touches the bottom edge or else it collides with a laser bullet. (2) If touching the bottom of the stage, it makes the alien ship disappear for up to 2 seconds, after which it appears again at the top of the stage. (3) if touching the laser bullet it sends out the broadcast 'hit', switches to shellblast costume, fades away due to the ghost effect in the repeat 10 loop and it returns to the top of the stage to fight again. (4) The laser bullet sprite responds to the space key which creates a clone of itself each time it's pressed. The bullet takes up position under the barrel of the gun and points in the same direction as the barrel. The repeat until (touching edge) loop makes it move at 20 steps until it is deleted at the edge of the stage. The delete this clone block removes it if it hits the alien ship. (5) Player controls the gun barrel with keyboard. Initially it points upwards and the go to front block ensures that the barrel is to the front with the bullet hidden beneath it. (c) script on gun sprite (b) Laser sprite scripts (yellow) (4) (d) scripts on rotating barrell sprite (5) 81

3 B. new blocks: how to Define a procedure Introduced page 48 This procedure clears previous drawings and it initialises the pen state and settings. It also set the initial direction and position of the sprite. 3. draw Flowers 5_03 flowerdraw x2 Draws flower Draw the full shape 5 times with a 72º turn in each pass of the loop. (5 x 72º = 360º) This procedure draws the curve of an arc which is a quarter of the circumference of a circle. To get this precise curve the repeat value x degrees must equal 90º. (repeat 15x6º = 90º). The value of the move steps only affects the size of the shape. The point in direction combination initialises the direction of the pen before drawing the second curve in the shape (shown with the dashed line). To do: Draw a 5-petal flower using procedures to initialise the pen and draw the flower components. To try: Define a procedure called flower and script a design that draws many flowers. 4. draw Trees 5_04 drawtrees To do: Draw a tree using the technique for drawing a circle from centre on page 31. To try: Adapt this to draw flowers using the same technique. main script Note: The tree has 18 radial branches. 18 x 20º = 360 The line thickness (pen size) makes a 20º turn adequate. Experiment with pen size and amount of turning. the random numbers create the tree effect, by varying the length of each branch. 82

4 5. Jumps and Cartwheels 5_05 jumpcartwheel In the More Blocks palette click Make a Block, give it a name and click OK. You have a new block in the palette and a special definition block in the Scripts area. The script under the definition block defines what the new block does. This project has two new blocks, one will make the ballerina sprite do a cartwheel, the other will make her do a triple jump. There is an option to add various types of inputs (or parameters). The Jump block definition has two number parameters, the height (number of steps ) and the wait (number of seconds). Finally, to run the procedures, create a main script which contains the new blocks. To do: Make the Ballerina do gymnastics. See page 25 for previous use of ballerina sprite graphic. (c) cartwheel definition simple definition block (a) the main script my cartwheel new block with parameters (b) jump definition my triple jump NOTE 1: The ballerina sprite comes with 4 costumes but you can edit it to add your own extra costumes. down1 NOTE 2: A block definition cannot be deleted until all instances of its defined block are first deleted from the scripts area. NOTE 3: Notice how parameter blocks e.g. wait and height can be added to operators. 83

5 6. fireworks Display 5_06 Fireworks (a) Only 1 sprite is necessary but you can make two duplicates as pictured. sprite 1 exploding Each sprite has 3 costumes. costume 2 flash 1 costume 1 rocket sprite 2 exploding sprite 3 taking off as rocket To do: Create a simulation of a fireworks display. costume 3 flash 2 Create the sprite and its costumes in the Paint Editor of Scratch 2.0. Alternatively, you could use external software such as DrawPlus - see page 41 for hints and ideas. (b) the main script hides sprite at start NOTE: Randomise other sprites to have different wait intervals e.g. 1 to 4 secs, 2 to 5 secs etc. clicking the stage starts the firework show it s a continuous show hides firework after completing previous loop returns sprite to normal size after previous loop clears graphic effects from previous loop randomises number of seconds before ignition (See note above) sets y at bottom of stage randomises x script (c) script (d) runs new ignite block (see definition block below) runs new explode block (see definition block on opposite page) changes backdrop to starry night sky (c) ignition block definition makes and defines ignite block firework starts as a rocket sets random colour of rocket and explosion makes the rocket visible loop makes rocket rise into sky reaching random heights of between 10x10, 11x10, 12x10 etc to 25x10 pixels (100 to 250 px) 84

6 (d) explode block definition makes and defines explode block switches rocket costume to flash1 to simulate explosion step 1 grows between 50% and 150% sound of firework (imported from free sound effects web site) switches to explosion step 2 (extra flashes) makes explosion expand brightens sky gives increasing sparkle effect to explosion makes explosion gradually disappear (vanishing at 100%) Click the stage to start the animation 7. clone Swarm 5_07 cloneswarm (a) Create two variables score and I'm a Clone. The point in direction (pick random 1 to 360) combination is an alternative to x, y coordinates to use the whole stage. (b) The mod operator was used already on pages 76,77. Here it's used to create a new clone at every 10th score. (c).. If I'm not a Clone create a clone of myself (d) Change Boolean value to true. Change colour so that the parent sprite stands out from the crowd. To do: Script a single sprite ( a larget dot) to create a clone of itself each time the score increments to a multiple of 10. All the scripts are on the one sprite. A Boolean value can only be true or false. In (d) I'm a (a) Clone is set to true because when I start as a clone the variable's value is true... In (a) I'm a Clone is not a clone yet, so it's false. (b) (c) (d) This animation illustrates how clones don't have individuality in the way a sprite does. The clones all take the same instruction and all behave in the same way. They can act differently from the parent but all will act diffently together. When the programme is stopped all you see is the parent sprite.... See a similar use of 0 and 1 as Boolean values on pages 76,

7 8. hop Rabbit 5_08 hoprabbit Hop Rabbit Hop A rabbit sits on the near side of an 8-lane motorway. Cars are approaching from 4 lanes on the right and from 4 lanes on the left. The rabbit wants to cross the motorway to collect carrots from the field opposite. In the game, the player must make the rabbit hop across the motorway without getting run over by a car. The rabbit must collect a carrot and bring it back to the near side. Every hop is worth a score of 1 and every carrot he collects gives him a 10 points bonus. The rabbit returns to his starting position when he is run over by a car. If he is in possession of a carrot, when he is run over, the carrot is returned to its starting position also. The game ends after 2 minutes is reached or if the rabbit loses all his five lives. To do: Create a game in which a rabbit has to cross a busy motorway to collect carrots. 1. Background: Draw a background consisting of 10 rectangles 480 x 36 pixels. Colour the rectangles as shown, the top rectangle should resemble a field for the carrots and the bottom rectangle represents a green grassy verge. 2. Variables: for Number, Position offset, Score, Lives, Timer. Variable scripts are not shown here. Go online and click See inside. Create the variable scripts on the stage. Click the Stage icon on the left of the sprite thumbnails. 3. the Cars: Car 1 of 4 and its clone Draw the top-view of a car in the Scratch Paint Editor or in an external drawing environment. Although it appears that there are eight cars, there are only four cars and each has one clone. See (c). a. When you set color to 0, you set it to its default colour. In this case, red. b. Car 1 of 4 starts off the stage in the top lane moving right to left. See (g) c. Each car appears as two cars on the stage, the original car and a clone of itself. d. This is a custom made block which has a definition block below. e. The red car, car 1 creates a clone of itself (block c). The clone appears as the green car in the lane just below the red car. Set color to 80 to change the clone into a green car. f. The cloned car starts in on the stage and in the lane below its origin sprite. same as (d). Custom block definition: g. Each time the custom block Move car is used, the sprite follows this script. The block can be used in other sprites, but it must be redefined. This allows for variations. See i. h. Always start with show, when hide block is used in a script. i. When the Move car block is redefined for Cars 2, 3 and 4 you can set a different speed for each. j. The If loop runs the wrapping and pausing feature that make the re-appearance of the cars less predictable. The wait algorithm produces values 0, 0.2, , secs To do: Create and script the cars 2, 3 and 4 and their vlones 86

8 4. Carrots This is carrot script 2 of 2: Collision script Logic: The Carrot go Back message is received by the carrot when the rabbit collides with a car. If the Y position of this carrot is the same as the rabbit s Y position and it s not at the green grassy verge it means the rabbit is in possession of the carrot. Then it should go back to start resetting number of carrots to The Rabbit carrot script 1 of 2 3 costumes: 5 scripts Draw a rabbit sprite or import sprite from internet images or from this project. Create 3 costumes, rabbit1, rabbit2 and rabbit3. At start up, go to front ensures the rabbit is not hidden behind a car or carrot. Costumes 2 and 3 are used when the rabbit is run over by a car. When that happens, the rabbit broadcasts a message to the carrot sprites and returns to its starting position. x5 Programme the Rabbit to carry a carrot Logic: If the number of carrots = 5 and the rabbit touches this carrot then they should both have same x, y until they reach the green grassy verge. Then the number of carrots is reduced by 1. Bonus points are scored. The carrot x,y is set to green verge. Loop ensures the rabbit doesn t go above top of stage. Loop ensures the rabbit doesn t go below bottom of stage. Resets rabbit to start position. The broadcast instructs the carrot to go back to its start position when the rabbit is run over while in possession of a carrot. (See carrot script 2) Scripts to move the rabbit using arrow keys on keyboard x2 To do: Make changes for down arrow with score for each hop. x2 Make changes for right arrow. No score for sideways hops. 87

9 C. create a list 9. Ten Questions (a) 5_09 tenquestions (c) (b) (d) (e) (f) (g) (h) (j) If you like the book If you want to add ten questions to questions click To do: Create two list (i) 10 questions (ii) 10 answers and would like the + ten times and you will get ten empty input boxes. As you fill in the items, a scroll bar appears on the right of the monitor. to continue beyond Variables and Lists are in the same palette, because lists are like variables. A variable can hold only one value at a time. A list can hold several values, all at the same time. When you click the Make a List button the next thing you do is to give your list a name and click OK. Make a List this point OR: Alternatively, you can add things to the list with the add to block. Type into the small input window and click the block to add each item. please buy the book OR: There is a third, and very easy method to add or contact atcreate your list in Word or Notepad itemsme to a list. New List List name: You must have a sprite, but when creating a list, it may suit better to hide it. questions For all sprites OK For this sprite only Click BUY A BOOK in main menu Resize the list monitor by dragging from bottom right Immediately all the List blocks (a) to (j) appear and a list monitor pops up on the stage. You can type directly into the list monitor. Let s suppose you have given the list the name questions. You have not added any items to questions yet so the list is empty, with length 0. To add items to questions, click the plus + button in the bottom left of the list monitor. 88 the list directly, using the list monitor. 1. Now, create two lists: One is a list of words that will form the questions. The other list of words will form the answers. It is important that both lists be the exact same length and that the index number of each should correspond. Cancel fox empty list monitor and save as a plain.txt file. When creating your list, right-click on the list monitor and import the txt file seamus@weandus.ie. list you have already prepared. Here, we will fill in fox hare cub leveret hen cow sheep chicken calf lamb pig horse goose piglet foal gosling cat kitten dog pup A list of adult anmals and another list of their young. The number in front of each item is known as its index number. Each list has a length of 10. Both lists must be the same length.

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.

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. Catch the Dots Introduction 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. Step 1: Creating a controller Let s start

More information

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.

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. Brain Game Introduction 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. Step 1: Creating questions Let s start

More information

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 we ll make our own version of the highly popular mobile game Flappy Bird. This project requires Scratch 2.0. Flappy Parrot Introduction In this project we ll make our own version of the highly popular mobile game Flappy Bird. This project requires Scratch 2.0. Press the space bar to flap and try to navigate through

More information

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

Create a game in which you have to guide a parrot through scrolling pipes to score points. Raspberry Pi Projects Flappy Parrot Introduction Create a game in which you have to guide a parrot through scrolling pipes to score points. What you will make Click the green ag to start the game. Press

More information

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

In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours! Memory Introduction In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours! Step 1: Random colours First, let s create a character that can change

More information

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

In this project you ll learn how to create a game in which you have to save the Earth from space monsters. Clone Wars Introduction In this project you ll learn how to create a game in which you have to save the Earth from space monsters. Step 1: Making a Spaceship Let s make a spaceship that will defend the

More information

a. the costumes tab and costumes panel

a. the costumes tab and costumes panel Skills Training a. the costumes tab and costumes panel File This is the Costumes tab Costume Clear Import This is the Costumes panel costume 93x0 This is the Paint Editor area backdrop Sprite Give yourself

More information

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

Add in a new ghost sprite, and a suitable stage backdrop. Ghostbusters Introduction You are going to make a ghost-catching game! Step 1: Animating a ghost Activity Checklist Start a new Scratch project, and delete the cat sprite so that your project is empty.

More information

Create a Simple Game in Scratch

Create a Simple Game in Scratch Create a Simple Game in Scratch Based on a presentation by Barb Ericson Georgia Tech June 2009 Learn about Goals event handling simple sequential execution loops variables conditionals parallel execution

More information

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.

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. Scratch 2 Clone Wars All Code Clubs must be registered. Registered clubs appear on the map at codeclubworld.org - if your club is not on the map then visit jumpto.cc/ccwreg to register your club. Introduction

More information

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

AIM OF THE GAME GLACIER RACE. Glacier Race. Ben Gems: 20. Laura Gems: 13 Glacier Race 166 GLACIER RACE How to build Glacier Race Glacier Race is a two-player game in which you race up the screen, swerving around obstacles and collecting gems as you go. There s no finish line

More information

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.

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. Dodgeball Introduction 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. Step 1: Character movement Let s start by

More information

Introduction to Turtle Art

Introduction to Turtle Art Introduction to Turtle Art The Turtle Art interface has three basic menu options: New: Creates a new Turtle Art project Open: Allows you to open a Turtle Art project which has been saved onto the computer

More information

Create Your Own World

Create Your Own World Create Your Own World Introduction In this project you ll learn how to create your own open world adventure game. Step 1: Coding your player Let s start by creating a player that can move around your world.

More information

Creating Computer Games

Creating Computer Games By the end of this task I should know how to... 1) import graphics (background and sprites) into Scratch 2) make sprites move around the stage 3) create a scoring system using a variable. Creating Computer

More information

Brain Game. Introduction. Scratch

Brain Game. Introduction. Scratch Scratch 2 Brain Game All Code Clubs must be registered. Registered clubs appear on the map at codeclubworld.org - if your club is not on the map then visit jumpto.cc/ccwreg to register your club. Introduction

More information

Pong Game. Intermediate. LPo v1

Pong Game. Intermediate. LPo v1 Pong Game Intermediate LPo v1 Programming a Computer Game This tutorial will show you how to make a simple computer game using Scratch. You will use the up and down arrows to control a gun. The space bar

More information

Scratch for Beginners Workbook

Scratch for Beginners Workbook for Beginners Workbook In this workshop you will be using a software called, a drag-anddrop style software you can use to build your own games. You can learn fundamental programming principles without

More information

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

Memory. Introduction. Scratch. In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours! Scratch 2 Memory All Code Clubs must be registered. Registered clubs appear on the map at codeclubworld.org - if your club is not on the map then visit jumpto.cc/ccwreg to register your club. Introduction

More information

Ghostbusters. Level. Introduction:

Ghostbusters. Level. Introduction: Introduction: This project is like the game Whack-a-Mole. You get points for hitting the ghosts that appear on the screen. The aim is to get as many points as possible in 30 seconds! Save Your Project

More information

Flappy Parrot Level 2

Flappy Parrot Level 2 Flappy Parrot Level 2 These projects are for use outside the UK only. More information is available on our website at http://www.codeclub.org.uk/. This coursework is developed in the open on GitHub, https://github.com/codeclub/

More information

COMPUTING CURRICULUM TOOLKIT

COMPUTING CURRICULUM TOOLKIT COMPUTING CURRICULUM TOOLKIT Pong Tutorial Beginners Guide to Fusion 2.5 Learn the basics of Logic and Loops Use Graphics Library to add existing Objects to a game Add Scores and Lives to a game Use Collisions

More information

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

Fireworks. Level. Introduction: In this project, we ll create a fireworks display over a city. Activity Checklist Follow these INSTRUCTIONS one by one Introduction: In this project, we ll create a fireworks display over a city. Activity Checklist Follow these INSTRUCTIONS one by one Test Your Code Click on the green flag to TEST your code Save Your Project

More information

Star Defender. Section 1

Star Defender. Section 1 Star Defender Section 1 For the first full Construct 2 game, you're going to create a space shooter game called Star Defender. In this game, you'll create a space ship that will be able to destroy the

More information

Programming with Scratch

Programming with Scratch Programming with Scratch A step-by-step guide, linked to the English National Curriculum, for primary school teachers Revision 3.0 (Summer 2018) Revised for release of Scratch 3.0, including: - updated

More information

The Beauty and Joy of Computing Lab Exercise 10: Shall we play a game? Objectives. Background (Pre-Lab Reading)

The Beauty and Joy of Computing Lab Exercise 10: Shall we play a game? Objectives. Background (Pre-Lab Reading) The Beauty and Joy of Computing Lab Exercise 10: Shall we play a game? [Note: This lab isn t as complete as the others we have done in this class. There are no self-assessment questions and no post-lab

More information

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

Let s start by making a pencil, that can be used to draw on the stage. Paint Box Introduction In this project, you will be making your own paint program! Step 1: Making a pencil Let s start by making a pencil, that can be used to draw on the stage. Activity Checklist Start

More information

More Actions: A Galaxy of Possibilities

More Actions: A Galaxy of Possibilities CHAPTER 3 More Actions: A Galaxy of Possibilities We hope you enjoyed making Evil Clutches and that it gave you a sense of how easy Game Maker is to use. However, you can achieve so much with a bit more

More information

Step 1 : Earth and Mars Orbit the Sun

Step 1 : Earth and Mars Orbit the Sun Introduction In this session you are going to learn how to programme an animation which simulates how and when spaceships are able to fly from Earth to Mars. When we send spaceships to Mars we use a Hohmann

More information

You are going to learn how to create a game in which a helicopter scores points by watering flowers in the city.

You are going to learn how to create a game in which a helicopter scores points by watering flowers in the city. Green Your City Introduction You are going to learn how to create a game in which a helicopter scores points by watering flowers in the city. Step 1: Helicopter Let s code your helicopter to move across

More information

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

Whack-a-Witch. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code Introduction: This project is like the game Whack-a-Mole. You get points for hitting the witches that appear on the screen. The aim is to get as many points as possible in 30 seconds! Activity Checklist

More information

Introduction. Overview

Introduction. Overview Introduction and Overview Introduction This goal of this curriculum is to familiarize students with the ScratchJr programming language. The curriculum consists of eight sessions of 45 minutes each. For

More information

Game Making Workshop on Scratch

Game Making Workshop on Scratch CODING Game Making Workshop on Scratch Learning Outcomes In this project, students create a simple game using Scratch. They key learning outcomes are: Video games are made from pictures and step-by-step

More information

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

Fish Chomp. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code GRADING RUBRIC Introduction: We re going to make a game! Guide the large Hungry Fish and try to eat all the prey that are swimming around. Activity Checklist Follow these INSTRUCTIONS one by one Click

More information

04. Two Player Pong. 04.Two Player Pong

04. Two Player Pong. 04.Two Player Pong 04.Two Player Pong One of the most basic and classic computer games of all time is Pong. Originally released by Atari in 1972 it was a commercial hit and it is also the perfect game for anyone starting

More information

2D Platform. Table of Contents

2D Platform. Table of Contents 2D Platform Table of Contents 1. Making the Main Character 2. Making the Main Character Move 3. Making a Platform 4. Making a Room 5. Making the Main Character Jump 6. Making a Chaser 7. Setting Lives

More information

Create Your Own World

Create Your Own World Scratch 2 Create Your Own World All Code Clubs must be registered. Registered clubs appear on the map at codeclubworld.org - if your club is not on the map then visit jumpto.cc/ccwreg to register your

More information

Space Invadersesque 2D shooter

Space Invadersesque 2D shooter Space Invadersesque 2D shooter So, we re going to create another classic game here, one of space invaders, this assumes some basic 2D knowledge and is one in a beginning 2D game series of shorts. All in

More information

Creating a Maze Game in Tynker

Creating a Maze Game in Tynker Creating a Maze Game in Tynker This activity is based on the Happy Penguin Scratch project by Kristine Kopelke from the Contemporary Learning Hub at Meridan State College. To create this Maze the following

More information

Module 4 Build a Game

Module 4 Build a Game Module 4 Build a Game Game On 2 Game Instructions 3 Exercises 12 Look at Me 13 Exercises 15 I Can t Hear You! 17 Exercise 20 End of Module Quiz 20 2013 Lero Game On Design a Game When you start a programming

More information

CISC 1600, Lab 2.2: More games in Scratch

CISC 1600, Lab 2.2: More games in Scratch CISC 1600, Lab 2.2: More games in Scratch Prof Michael Mandel Introduction Today we will be starting to make a game in Scratch, which ultimately will become your submission for Project 3. This lab contains

More information

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Kinect2Scratch Workbook

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Kinect2Scratch Workbook Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl Workbook Scratch is a drag and drop programming environment created by MIT. It contains colour coordinated code blocks that allow a user to build up instructions

More information

Lesson 2 Game Basics

Lesson 2 Game Basics Lesson What you will learn: how to edit the stage using the Paint Editor facility within Scratch how to make the sprite react to different colours how to import a new sprite from the ones available within

More information

CONCEPTS EXPLAINED CONCEPTS (IN ORDER)

CONCEPTS EXPLAINED CONCEPTS (IN ORDER) CONCEPTS EXPLAINED This reference is a companion to the Tutorials for the purpose of providing deeper explanations of concepts related to game designing and building. This reference will be updated with

More information

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

Let s start by making a pencil that can be used to draw on the stage. Paint Box Introduction In this project, you will be making your own paint program! Step 1: Making a pencil Let s start by making a pencil that can be used to draw on the stage. Activity Checklist Open

More information

Copyright 2017 MakeUseOf. All Rights Reserved.

Copyright 2017 MakeUseOf. All Rights Reserved. Make Your Own Mario Game! Scratch Basics for Kids and Adults Written by Ben Stegner Published April 2017. Read the original article here: http://www.makeuseof.com/tag/make-mario-game-scratchbasics-kids-adults/

More information

VACUUM MARAUDERS V1.0

VACUUM MARAUDERS V1.0 VACUUM MARAUDERS V1.0 2008 PAUL KNICKERBOCKER FOR LANE COMMUNITY COLLEGE In this game we will learn the basics of the Game Maker Interface and implement a very basic action game similar to Space Invaders.

More information

Project 1: Game of Bricks

Project 1: Game of Bricks Project 1: Game of Bricks Game Description This is a game you play with a ball and a flat paddle. A number of bricks are lined up at the top of the screen. As the ball bounces up and down you use the paddle

More information

C# Tutorial Fighter Jet Shooting Game

C# Tutorial Fighter Jet Shooting Game C# Tutorial Fighter Jet Shooting Game Welcome to this exciting game tutorial. In this tutorial we will be using Microsoft Visual Studio with C# to create a simple fighter jet shooting game. We have the

More information

Ada Lovelace Computing Level 3 Scratch Project ROAD RACER

Ada Lovelace Computing Level 3 Scratch Project ROAD RACER Ada Lovelace Computing Level 3 Scratch Project ROAD RACER ANALYSIS (what will your program do) For my project I will create a game in Scratch called Road Racer. The object of the game is to control a car

More information

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

Starting from LEARNER NOTES edited version. An Introduction to Computing Science by Jeremy Scott Starting from 2013 edited version An Introduction to Computing Science by Jeremy Scott LEARNER NOTES 4: Get the picture? 3: A Mazing Game This lesson will cover Game creation Collision detection Introduction

More information

Overview. The Game Idea

Overview. The Game Idea Page 1 of 19 Overview Even though GameMaker:Studio is easy to use, getting the hang of it can be a bit difficult at first, especially if you have had no prior experience of programming. This tutorial is

More information

Scratch Programming Lesson 13. Mini Mario Game Part 4 Platforms

Scratch Programming Lesson 13. Mini Mario Game Part 4 Platforms Scratch Programming Lesson 13 Mini Mario Game Part 4 Platforms If you ve have played one or more platform games (video games characterized by jumping to and from suspended platforms), you should ve seen

More information

Scratch Primary Lesson 5

Scratch Primary Lesson 5 Scratch Primary Lesson 5 The XY Coordinate System The Scratch Stage The scratch stage is 480 pixels wide and 360 pixels high: 480 360 The Pixel The pixel is the smallest single component of a digital image

More information

GAME:IT Junior Bouncing Ball

GAME:IT Junior Bouncing Ball GAME:IT Junior Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game All games need sprites (which are just pictures) that, in of themselves, do nothing.

More information

pla<orm-style game which you can later add your own levels, powers and characters to. Feel free to improve on my art

pla<orm-style game which you can later add your own levels, powers and characters to. Feel free to improve on my art SETTING THINGS UP Card 1 of 8 1 These are the Advanced Scratch Sushi Cards, and in them you ll be making a pla

More information

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

GAME PROGRAMMING & DESIGN LAB 1 Egg Catcher - a simple SCRATCH game I. BACKGROUND 1.Introduction: GAME PROGRAMMING & DESIGN LAB 1 Egg Catcher - a simple SCRATCH game We have talked about the programming languages and discussed popular programming paradigms. We discussed

More information

SAMPLE CHAPTER

SAMPLE CHAPTER SAMPLE CHAPTER Hello Scratch! by Gabriel Ford, Sadie Ford, and Melissa Ford Sample Chapter 7 Copyright 2018 Manning Publications Brief contents PART 1 SETTING UP THE ARCADE 1 1 Getting to know your way

More information

Explore and Challenge:

Explore and Challenge: Explore and Challenge: The Pi-Stop Simon Memory Game SEE ALSO: Setup: Scratch GPIO: For instructions on how to setup Scratch GPIO with Pi-Stop (which is needed for this guide). Explore and Challenge Scratch

More information

Introducing Scratch Game development does not have to be difficult or expensive. The Lifelong Kindergarten Lab at Massachusetts Institute

Introducing Scratch Game development does not have to be difficult or expensive. The Lifelong Kindergarten Lab at Massachusetts Institute Building Games and Animations With Scratch By Andy Harris Computers can be fun no doubt about it, and computer games and animations can be especially appealing. While not all games are good for kids (in

More information

Pong! The oldest commercially available game in history

Pong! The oldest commercially available game in history 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

More information

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

Lesson 8 Tic-Tac-Toe (Noughts and Crosses) Lesson Game requirements: There will need to be nine sprites each with three costumes (blank, cross, circle). There needs to be a sprite to show who has won. There will need to be a variable used for switching

More information

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

In this project you ll learn how to code your own musical instruments! Rock Band Introduction In this project you ll learn how to code your own musical instruments! Step 1: Sprites Before you can start coding, you ll need to add in a thing to code. In Scratch, these things

More information

5.0 Events and Actions

5.0 Events and Actions 5.0 Events and Actions So far, we ve defined the objects that we will be using and allocated movement to particular objects. But we still need to know some more information before we can create an actual

More information

Tutorial: A scrolling shooter

Tutorial: A scrolling shooter Tutorial: A scrolling shooter Copyright 2003-2004, Mark Overmars Last changed: September 2, 2004 Uses: version 6.0, advanced mode Level: Beginner Scrolling shooters are a very popular type of arcade action

More information

1 Shooting Gallery Guide 2 SETUP. Unzip the ShootingGalleryFiles.zip file to a convenient location.

1 Shooting Gallery Guide 2 SETUP. Unzip the ShootingGalleryFiles.zip file to a convenient location. 1 Shooting Gallery Guide 2 SETUP Unzip the ShootingGalleryFiles.zip file to a convenient location. In the file explorer, go to the View tab and check File name extensions. This will show you the three

More information

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

Lost in Space. Introduction. Scratch. You are going to learn how to program your own animation! Activity Checklist. Scratch 1 Lost in Space All Code Clubs must be registered. Registered clubs appear on the map at codeclubworld.org - if your club is not on the map then visit jumpto.cc/ccwreg to register your club. Introduction

More information

How to Create Website Banners

How to Create Website Banners How to Create Website Banners In the following instructions you will be creating banners in Adobe Photoshop Elements 6.0, using different images and fonts. The instructions will consist of finding images,

More information

G54GAM Lab Session 1

G54GAM Lab Session 1 G54GAM Lab Session 1 The aim of this session is to introduce the basic functionality of Game Maker and to create a very simple platform game (think Mario / Donkey Kong etc). This document will walk you

More information

How to Create Animated Vector Icons in Adobe Illustrator and Photoshop

How to Create Animated Vector Icons in Adobe Illustrator and Photoshop How to Create Animated Vector Icons in Adobe Illustrator and Photoshop by Mary Winkler (Illustrator CC) What You'll Be Creating Animating vector icons and designs is made easy with Adobe Illustrator and

More information

ADDING A RAINBOW TO A PHOTOGRAPH

ADDING A RAINBOW TO A PHOTOGRAPH ADDING A RAINBOW TO A PHOTOGRAPH This assignment will cover how to add a simple rainbow (or if you want to go crazy, a double rainbow) to any photograph. This will give us some great work with gradients,

More information

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

BE SURE TO COMPLETE HYPOTHESIS STATEMENTS FOR EACH STAGE. ( ) DO NOT USE THE TEST BUTTON IN THIS ACTIVITY UNTIL THE END! Lazarus: Stages 3 & 4 In the world that we live in, we are a subject to the laws of physics. The law of gravity brings objects down to earth. Actions have equal and opposite reactions. Some objects have

More information

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!

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! Entering Space Magic star web! Alright! I can feel my limbs again! sh WhoO The Dark Wizard? Nice work! You ve broken the Dark Wizard s spell! My name is Gobo. I m a cosmic defender! That solar flare destroyed

More information

Tutorial: Creating maze games

Tutorial: Creating maze games Tutorial: Creating maze games Copyright 2003, Mark Overmars Last changed: March 22, 2003 (finished) Uses: version 5.0, advanced mode Level: Beginner Even though Game Maker is really simple to use and creating

More information

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

Game Design Curriculum Multimedia Fusion 2. Created by Rahul Khurana. Copyright, VisionTech Camps & Classes Game Design Curriculum Multimedia Fusion 2 Before starting the class, introduce the class rules (general behavioral etiquette). Remind students to be careful about walking around the classroom as there

More information

Meteor Game for Multimedia Fusion 1.5

Meteor Game for Multimedia Fusion 1.5 Meteor Game for Multimedia Fusion 1.5 Badly written by Jeff Vance jvance@clickteam.com For Multimedia Fusion 1.5 demo version Based off the class How to make video games. I taught at University Park Community

More information

Where's the Treasure?

Where's the Treasure? Where's the Treasure? Introduction: In this project you will use the joystick and LED Matrix on the Sense HAT to play a memory game. The Sense HAT will show a gold coin and you have to remember where it

More information

Once this function is called, it repeatedly does several things over and over, several times per second:

Once this function is called, it repeatedly does several things over and over, several times per second: Alien Invasion Oh no! Alien pixel spaceships are descending on the Minecraft world! You'll have to pilot a pixel spaceship of your own and fire pixel bullets to stop them! In this project, you will recreate

More information

The Games Factory 2 Step-by-step Tutorial

The Games Factory 2 Step-by-step Tutorial Page 1 of 39 The Games Factory 2 Step-by-step Tutorial Welcome to the step-by-step tutorial! Follow this tutorial, and in less than one hour, you will have created a complete game from scratch. This game

More information

GAME:IT Junior Bouncing Ball

GAME:IT Junior Bouncing Ball GAME:IT Junior Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game All games need sprites (which are just pictures) that, in of themselves, do nothing.

More information

Photoshop Backgrounds: Turn Any Photo Into A Background

Photoshop Backgrounds: Turn Any Photo Into A Background Photoshop Backgrounds: Turn Any Photo Into A Background Step 1: Duplicate The Background Layer As always, we want to avoid doing any work on our original image, so before we do anything else, we need to

More information

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

Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game GAME:IT Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game All games need sprites (which are just pictures) that, in of themselves, do nothing. They are

More information

Annex IV - Stencyl Tutorial

Annex IV - Stencyl Tutorial Annex IV - Stencyl Tutorial This short, hands-on tutorial will walk you through the steps needed to create a simple platformer using premade content, so that you can become familiar with the main parts

More information

Game Maker Tutorial Creating Maze Games Written by Mark Overmars

Game Maker Tutorial Creating Maze Games Written by Mark Overmars Game Maker Tutorial Creating Maze Games Written by Mark Overmars Copyright 2007 YoYo Games Ltd Last changed: February 21, 2007 Uses: Game Maker7.0, Lite or Pro Edition, Advanced Mode Level: Beginner Maze

More information

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.

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. Tech Toys Introduction In this project you ll learn how to code your own tech toys! Click the bow tie to see it spin; Click the sunglasses to see them change colour; Click the laptop to power up the helicopter;

More information

ChatBot. Introduction. Scratch. You are going to learn how to program your own talking robot! Activity Checklist. Test your Project.

ChatBot. Introduction. Scratch. You are going to learn how to program your own talking robot! Activity Checklist. Test your Project. Scratch 1 ChatBot Introduction You are going to learn how to program your own talking robot! Activity Checklist Test your Project Save your Project Follow these INSTRUCTIONS one by one Click on the green

More information

CS 251 Intermediate Programming Space Invaders Project: Part 3 Complete Game

CS 251 Intermediate Programming Space Invaders Project: Part 3 Complete Game CS 251 Intermediate Programming Space Invaders Project: Part 3 Complete Game Brooke Chenoweth Spring 2018 Goals To carry on forward with the Space Invaders program we have been working on, we are going

More information

Exploring Photoshop Tutorial

Exploring Photoshop Tutorial Exploring Photoshop Tutorial Objective: In this tutorial we will create a poster composed of three distinct elements: a Bokeh, an image and title text. The Bokeh is an effect which is sometimes seen in

More information

Scrolling Shooter 1945

Scrolling Shooter 1945 Scrolling Shooter 1945 Let us now look at the game we want to create. Before creating a game we need to write a design document. As the game 1945 that we are going to develop is rather complicated a full

More information

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

STEP-BY-STEP THINGS TO TRY FINISHED? START HERE NEW TO SCRATCH? CREATE YOUR FIRST SCRATCH PROJECT! STEP-BY-STEP NEW TO SCRATCH? CREATE YOUR FIRST SCRATCH PROJECT! In this activity, you will follow the Step-by- Step Intro in the Tips Window to create a dancing cat in Scratch. Once you have completed

More information

Survival Project. Unit 4 Concept Art. PO2: Understand industry tools and techniques for creating concept art

Survival Project. Unit 4 Concept Art. PO2: Understand industry tools and techniques for creating concept art Survival Project Unit 4 Concept Art PO2: Understand industry tools and techniques for creating concept art Unit 4 PO2 - P4 Organising Digital Workspace Window Positioning Create different documents that

More information

Kodu Game Programming

Kodu Game Programming Kodu Game Programming Have you ever played a game on your computer or gaming console and wondered how the game was actually made? And have you ever played a game and then wondered whether you could make

More information

GAME:IT Bouncing Ball

GAME:IT Bouncing Ball GAME:IT Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game All games need sprites (which are just pictures) that, in of themselves, do nothing. They are

More information

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

Assessment. Self Assessment. Teacher Assessment. Date Learning Objective(s) Achievement or. NC Level: Game Control Student Booklet P a g e 1 Name: Class: Assessment Self Assessment Date Learning Objective(s) Achievement or Teacher Assessment NC Level: Game Control Student Booklet P a g e 1 Lesson 1 - Cutouts R.O.B.B.O the Robot is not working

More information

1) How do I create a new program? 2) How do I add a new object? 3) How do I start my program?

1) How do I create a new program? 2) How do I add a new object? 3) How do I start my program? 1) How do I create a new program? 2) How do I add a new object? 3) How do I start my program? 4) How do I place my object on the stage? Create a new program. In this game you need one new object. This

More information

Module. Introduction to Scratch

Module. Introduction to Scratch EGN-1002 Circuit analysis Module Introduction to Scratch Slide: 1 Intro to visual programming environment Intro to programming with multimedia Story-telling, music-making, game-making Intro to programming

More information

Scratch Coding And Geometry

Scratch Coding And Geometry Scratch Coding And Geometry by Alex Reyes Digitalmaestro.org Digital Maestro Magazine Table of Contents Table of Contents... 2 Basic Geometric Shapes... 3 Moving Sprites... 3 Drawing A Square... 7 Drawing

More information

A quick note: We hope that you will find something from the Tips and Tricks that will add a little pizazz to your yearbook pages!

A quick note: We hope that you will find something from the Tips and Tricks that will add a little pizazz to your yearbook pages! A quick note: The following pages are tips and tricks for Basic Photoshop users. You may notice that some instructions indicate that non-awpc fonts were used, and that some colors were created using the

More information

UNDERSTANDING LAYER MASKS IN PHOTOSHOP

UNDERSTANDING LAYER MASKS IN PHOTOSHOP UNDERSTANDING LAYER MASKS IN PHOTOSHOP In this Adobe Photoshop tutorial, we re going to look at one of the most essential features in all of Photoshop - layer masks. We ll cover exactly what layer masks

More information

Reveal the mystery of the mask

Reveal the mystery of the mask Reveal the mystery of the mask Imagine you're participating in a group brainstorming session to generate new ideas for the design phase of a new project. The facilitator starts the brainstorming session

More information