Defend Hong Kong s Technocore

Similar documents
Defend Hong Kong s Technocore

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!

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

Ghostbusters. Level. Introduction:

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

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 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.

CISC 1600, Lab 2.2: More games in Scratch

Scratch for Beginners Workbook

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

Introduction to Turtle Art

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

Pong Game. Intermediate. LPo v1

Scratch Programming Lesson 13. Mini Mario Game Part 4 Platforms

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

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.

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

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

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

Project 1: Game of Bricks

2D Platform. Table of Contents

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

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.

Creating Computer Games

SAMPLE CHAPTER

Flappy Parrot Level 2

COMPUTING CURRICULUM TOOLKIT

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

Create Your Own World

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

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

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

Step 1 : Earth and Mars Orbit the Sun

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

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.

G54GAM Lab Session 1

Where's the Treasure?

More Actions: A Galaxy of Possibilities

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

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

This is an excerpt of

Create a Simple Game in Scratch

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

Star Defender. Section 1

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

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

Brain Game. Introduction. Scratch

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

04. Two Player Pong. 04.Two Player Pong

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

Programming with Scratch

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

THE BACKGROUND ERASER TOOL

Pong! The oldest commercially available game in history

Controlling a Sprite with Ultrasound

INTERACTING SPRITES MODULE 3: INVESTIGATION 1. Anima9ng Sprites

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

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

SAVING, LOADING AND REUSING LAYER STYLES

Copyright 2017 MakeUseOf. All Rights Reserved.

This Photoshop Tutorial 2012 Steve Patterson, Photoshop Essentials.com. Not To Be Reproduced Or Redistributed Without Permission.

Kodu Game Programming

GAME:IT Bouncing Ball

Balloons Touch. 1-4 players, all ages. Balloons Touch by. Bring your family back together!

Scrolling Shooter 1945

GAME:IT Junior Bouncing Ball

VACUUM MARAUDERS V1.0

Space Invadersesque 2D shooter

Airship! Airship Creation

Ada Lovelace Computing Level 3 Scratch Project ROAD RACER

Module 4 Build a Game

Clipping Masks And Type Placing An Image In Text With Photoshop

Your First Game: Devilishly Easy

I ROBOT. The Alan Parsons Project. All lyrics by Eric Woolfson & Alan Parsons Woolfsongs Ltd / Careers Music, Inc. I ROBOT (Instrumental)

KEEPING SCORE: HOW TO USE SCORES, LIVES AND HEALTH

Introduction Installation Switch Skills 1 Windows Auto-run CDs My Computer Setup.exe Apple Macintosh Switch Skills 1

Survive Blood Island Interactive Game

Instruction Manual. Pangea Software, Inc. All Rights Reserved Enigmo is a trademark of Pangea Software, Inc.

Pong! The oldest commercially available game in history

HIGH KEY GLOW EFFECT IN PHOTOSHOP

Explore and Challenge:

Before you start, you must go into Advanced Mode. Go to: File > Advanced Mode. You know you are in Advanced Mode when the checkmark appears.

DESIGN A SHOOTING STYLE GAME IN FLASH 8

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

Rock, Paper, Scissors

Instructional Document

Dungeon Cards. The Catacombs by Jamie Woodhead

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

The original image. As I said, we ll be looking at a few different variations on the effect. Here s the first one we ll be working towards:

Welcome to the Brain Games Chess Help File.

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

A. creating clones. Skills Training 5

MathScore EduFighter. How to Play

Game Making Workshop on Scratch

UNDERSTANDING LAYER MASKS IN PHOTOSHOP

DIGITAL ECLIPSE. Eclipse photos courtesy of Fred Espanak 1998

For 2 to 6 players / Ages 10 to adult

Module. Introduction to Scratch

HARRIS WORLD Control Cool Real UP Jump Walk DOWN Duck Walk LEFT Walk Walk RIGHT Walk Walk ACTION Fire Fire

Stone Creek Textiles. Layers! part 1

Transcription:

Defend Hong Kong s Technocore

Mission completed! Fabu s free again! *sniff* foiled again Aww don t be upset! I just think that art s meant to be shared! Do you think the Cosmic Defenders would take me back... or just forgive me... if I apologized? Probably! But be careful now. News has it that the Dark Wizard is planning to launch a virus attack on Hong Kong! Oh no! But if that happens, the whole digital world could be destroyed! Fabu s right! We have to destroy the virus right away! Hong kong Stand back. I know kung Fu! Here it comes! 62

Hack Attack Chapter Focus Learn to control sprites with the mouse, program objects to bounce back, and start a game by pressing the spacebar. The Game Help Scratchy attack flying viruses and stop them from touching the server at the bottom of the screen. If you successfully block 30 viruses, you win the game! Let s start by opening the blank project 04 - Hack Attack!.sb2 (File4Upload from your computer). I used a sparkly photo of Hong Kong s skyline as my Stage. You can use whatever you like! Did you know you can add programs to the Stage, too? We can add this program to make our city glow! 63

Now let s take a look at the Instructions sprite. It tells the player how the game works. We ll write two programs to control it. ❶ Program ❶ makes the sprite show up at the start of the game and disappear when the player presses space, the spacebar on their keyboard. Program ❷ makes the Instructions sprite broadcast start when it receives the space broadcast from program ❶. This will start the game! ❷ 64

Next, let s write some programs for Scratchy. Notice that he has two costumes already: one where he s just standing and another where he s jumping. So let s add some programs to control how Scratchy looks. In program ❶, we hide him before the start broadcast is received. In program ❷, we control how Scratchy switches costumes. Whenever the player s mouse is clicked that is, whenever mouse down? Scratchy looks like he s jumping. ❶ ❷ 65

❸ But how does the player control Scratchy? Program ❸ lets you control Scratchy with the mouse, showing him only when the start broadcast is received. Program ❹ makes a speech bubble saying OH NO!! appear whenever the Scratchy sprite receives the Oh signal. We ll broadcast Oh whenever a virus manages to hit the server. ❹ Tip: By using the mouse instead of the keyboard, the player has a lot of control over Scratchy, who will move very quickly for this game. But remember every game is different! Sometimes the keyboard works well, too. Time to program a new sprite! Switch to the Server. It should look like the image below, but we want it centered and at the bottom of the screen. Add this simple program so that the Server appears in the correct place. 66

Next, we ll program our computer opponent! The sprite called Virus has a set of costumes of letters spelling V-I-R-U-S. Program ❶ hides the Virus until the game starts. Program ❷ makes the Virus switch costumes as it flies around. ❶ ❷ Program ❸ for the Virus makes it fly around. It bounces whenever it bumps into Scratchy or the edges of the screen. ❸ 67

❹ Now we ll add more programs to the Virus to keep score. These programs use blocks from the Control, Events, and Data palettes to record and signal the conditions for winning and losing. Program ❹ creates a new variable called score and the conditions we need to meet for the script to broadcast win. Your score will now appear on the Stage. ❺ Program ❺ creates a variable called chance, which keeps track of how many times the Virus is allowed to touch the Server sprite before the player loses. We ll give Scratchy five chances to start. When you re out of chances, the program broadcasts lose. Just like the player s score, the number of tries the player has left is displayed on the Stage as chance. Tip: When setting the rules for winning and losing in your games, use the greater-than symbol (>) or the less-than symbol (<) instead of the equal sign (=), as we do in programs ❹ and ❺. This will prevent the game from breaking when a variable changes too quickly! Why might the variable change too fast in this game? Scratchy might touch the Virus a few times in quick succession, and the program won t realize that you ve won the game. 68

Now let s look at the sprite for the winning screen. Programs ❶ and ❷ keep it hidden. Then program ❸ makes it appear when the win broadcast is received from the Virus sprite. ❶ ❷ ❸ The losing screen is pretty similar to the winning screen. To save time, we can select the Duplicate tool and click the winning screen to copy both the image and the programming! All we need to do now is change the costume and the last program a bit. 69

We re finished! After you save the file, hurry and help Scratchy the hacker defend the network from the virus attack! Scratchy s Challenge!! How would you make this game harder for the player? How about adding different kinds of viruses? What about turning this game into a two-player Ping-Pong match? Give it a try! 70