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.

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

Create Your Own World

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

Memory. Introduction. Scratch. 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 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 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 platform game, in which you have to dodge the moving balls and reach the end of the level.

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.

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

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

Ghostbusters. Level. Introduction:

Brain Game. Introduction. Scratch

Scratch for Beginners Workbook

Create Your Own World

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

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

Where's the Treasure?

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

Create a Simple Game in Scratch

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

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

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

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

Introduction to Turtle Art

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

Pong! The oldest commercially available game in history

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.

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

A. creating clones. Skills Training 5

Creating Computer Games

Pong Game. Intermediate. LPo v1

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

Game Making Workshop on Scratch

Ada Lovelace Computing Level 3 Scratch Project ROAD RACER

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

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

CISC 1600, Lab 2.2: More games in Scratch

Step 1 : Earth and Mars Orbit the Sun

Pong! The oldest commercially available game in history

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

Lesson 2 Game Basics

More Actions: A Galaxy of Possibilities

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

Explore and Challenge:

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

a. the costumes tab and costumes panel

Programming with Scratch

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

SAMPLE CHAPTER

KEEPING SCORE: HOW TO USE SCORES, LIVES AND HEALTH

Flappy Parrot Level 2

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

Creating a Maze Game in Tynker

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

Overview. The Game Idea

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

D - Robot break time - make a game!

Programming I (mblock)

INTERACTING SPRITES MODULE 3: INVESTIGATION 1. Anima9ng Sprites

Computer with Scratch program.

10 Steps To a Faster PC

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Kinect2Scratch Workbook

Unit 5: What s in a List

How to use Photo Story 3

Tinker Tuesday Project - Fabric Engraving

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

Math 1310: Intermediate Algebra Computer Enhanced and Self-Paced

Project 1: Game of Bricks

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

SAVING, LOADING AND REUSING LAYER STYLES

5.0 Events and Actions

Module 4 Build a Game

Defend Hong Kong s Technocore

Space Invadersesque 2D shooter

Scratch Programming Lesson 13. Mini Mario Game Part 4 Platforms

CONCEPTS EXPLAINED CONCEPTS (IN ORDER)

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

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

Welcome to the Word Puzzles Help File.

The Kapman Handbook. Thomas Gallinari

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!

COMPUTING CURRICULUM TOOLKIT

GIMP Simple Animation Tutorial

Teaching Kids to Program. Lesson Plan: Interactive Holiday Card

Unit 1 - Surveying the Landscape

MIRROR IMAGING. Author: San Jewry LET S GET STARTED. Level: Beginner+ Download: None Version: 1.5

Kodu Game Programming

1. Click the Create a Tournament Button (see Challonge Screen 01)

Tinker Tuesday Project - Drinking Glasses

Instructions for using Object Collection and Trigger mechanics in Unity

Pass-Words Help Doc. Note: PowerPoint macros must be enabled before playing for more see help information below

04. Two Player Pong. 04.Two Player Pong

Laser Cutting at CAP Fab Lab

Tinker Tuesday Project - Wood Book Covers

2. Now you need to create permissions for all of your reviewers. You need to be in the Administration Tab to do so. Your screen should look like this:

An Introduction to Programming using the NXT Robot:

QUICK-START FOR UNIVERSAL VLS 4.6 LASER!

Introduction.

Rock, Paper, Scissors

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

Transcription:

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 by creating a controller, that will be used to collect dots. Activity Checklist Open the Catch the Dots Scratch project online at jumpto.cc/dots-go or download from jumpto.cc/dots-get and then open if you are using the offline editor. You should see a controller sprite: 1

Turn your controller to the right when the right arrow key is pressed: when forever clicked if key right arrow pressed? then turn 3 degrees Test out your controller it should spin to the right. Challenge: Spinning left Can you make your controller spin to the left when the left arrow key is pressed? 2

Step 2: Collecting dots Let s add some dots for the player to collect with their controller. Activity Checklist Create a new sprite called red. This sprite should be a small red dot. Add this script to your red dot sprite, to create a new dot clone every few seconds: when clicked hide wait 2 secs forever create clone of myself wait pick random 5 to 10 secs When each clone is created, you want it to appear in one of the 4 corners of the stage. 3

To do this, first create a new list called start positions and click the (+) to add in the values -180 and 180. You can use these 2 list items to pick a random corner of the stage. Add this code to the dot sprite, so that each new clone moves to a random corner and then slowly moves towards the controller. 4

when I start as a clon e go to x: item random of start positions item random of start positions y: point towards controller show repeat until touching controller? move 1 steps The code above chooses either -180 or 180 for the x and y positions, meaning that each clone starts in one corner of the stage. Test your project. You should see lots of red dots appear in each corner of the screen, and move slowly towards the controller. Create 2 new variables called lives and score. Add code to your stage to set the lives to 3 and the score to 0 at the start of the game. You need to add code to the end of your red dot s when I start as a clone code, so that either 1 is added to the player s score if the colours match, 5

or 1 is taken from the player s lives if the colours don t match. move 5 steps if touching color? then change score by 1 else play sound pop change lives by -1 play sound laser1 delete this clon e Add this code to the end of your stage s script, so that the game ends when the player loses all of their lives: wait until lives < 1 stop all Test your game to make sure this code works as expected. Challenge: More dots Duplicate your red dot sprite twice, and name the two new sprites yellow and blue. 6

Edit these sprites (including their code), so that each coloured dot has to match the correct colour on the controller. Remember to test your project, making sure you gain points and lose lives at the right times, and that your game isn t too easy or too hard! Step 3: Increasing the difficulty Let s make the game get more difficult the longer the player survives, by slowly reducing the delay between dots appearing. Activity Checklist Create a new variable called delay. On your stage, create a new script that sets the delay to a high number, and then slowly reduces the delay time. 7

when clicked set delay to 8 repeat until delay = 2 wait 10 secs change delay by -0.5 Notice that this is very similar to how a game timer works! Finally, you can use this delay variable in your red, yellow and blue dots scripts. Remove the code that waits a random number of seconds between creating clones, and replace it with your new delay variable: wait delay secs Test your new delay variable, and see whether the delay between dots reduces slowly. Does this work for all 3 coloured dots? Can you see the value of the delay variable reducing? Challenge: Faster moving dots Can you improve your game by adding a speed variable, so that the dots start off moving 1 step at a time, and steadily get faster and faster? This will work in a very similar way to the delay variable used above, and you can use this code to help you. 8

Step 4: High score Let s save the high score, so that players can see how well they re doing. Activity Checklist Create a new variable called high score. Click on your stage, and create a new custom block called check high score. Just before the end of the game, add in your new custom block. Add code to your custom block to store the current score as the high score if it s the highest score so far: 9

define check high scor e if score > high scor e then set high score to score Test the code you ve added. Play your game to check whether the high score is updated correctly. Challenge: Improve your game! Can you think of ways to improve your game? For example, you could create special dots that: double your score; slow down the dots; hide all the other dots on the screen! Challenge: Game menu Can you add a menu (with buttons) to your game? You could add an instructions screen, or a separate screen for showing 10

the high score. If you need help with this, the Brain Game project will help you. 11