A Scratch tutorial. Description: You have 6 bullets to shoot at 2 targets. Every time you hit any of them you get two extra bullets but the targets get.

Slides:



Advertisements
Similar presentations
Create a Simple Game in Scratch
Advertisements

Create a Simple Game in Scratch
Scratch is a Visual Programming Language
Lets Play Catch! Keeping Score in Alice By Francine Wolfe Duke University Professor Susan Rodger May 2010.
Asteroids! Michael Marion under Prof. Susan Rodger Duke University July2012.
Harry Potter Scratch Game
Adventures in Animation Harry Potter Game Pranali Choubal Kunal Shaw Barb Ericson Dec 2007.
Helicopter Game Tutorial
A Christmas Scratch game
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
This game is loosely based on the Whack-A- Mole arcade game.  Each game starts with 45 seconds of play.  Moles randomly pop out of holes on the landscape.
Write Your First Computer Game!. Coding: Programming Languages Just like you can speak Chinese to someone who understands Chinese to tell them what to.
LO: Learn how to develop your game further to include interactions with the device.
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.
How to make a Kung-Fu game
How to make Space Invaders
We will be creating a spaceship that simulates real movements in space. The spaceship will fire a laser beam that can destroy targets. The spaceship will.
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.
2015 CSE/EGR Summer Camps 1 Computer Science Concepts 1. What is an algorithm? 2. Binary information coding 3. Programming concepts via Scratch Designed.
AD 305 Electronic Visualization I : School of Art and Design : University of Illinois at Chicago : Spring 2007 Intro to Action Script 9 "The games of a.
Shooters in GameMaker J Parker.
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.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
AD 206 Intermediate CG : School of Art and Design : University of Illinois at Chicago : Spring 2009 Intro to Action Script 9 "The games of a people reveal.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
The If Block. IF The “if” block can be found in the control tab. The if block means, “IF this happens, THEN do this.” You can put blocks ON the if block.
Variables and Random Numbers Computer App Session 4.
By Mr. Putnam. In Catfall, the goal of the game is to touch the falling cats with the mouse. Every time you touch a cat, your score goes up by one point.
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.
Games Programming in Scratch
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.
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.
Lives and Scoring Games Programming in Scratch. Games Programming in Scratch L2 Lives and Scoring Learning Objectives Define a variable Understand the.
Making a Flappy Birds Game PART 2 – MAKING THE BIRD FLAP AND FALL – AND DEVELOPING THE GAME FURTHER (ADDING ADDITIONAL CHARACTERS, GOODIES, ENEMIES AND.
ICT/COMPUTING RULES Only use software allowed by the teacher
Intro CS – Broadcasting Messages Lesson Plan 8. Goals  Using broadcasting to track events across sprites and act on them.
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 Programming Cards
Create a Halloween Computer Game in Scratch
Games Programming in Scratch
How to work with your sprite
Scratch – Simple Programming
Scratch I - Overview.
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Scratch Programming Intro
Creating Variables Output Logic flow Operators (More) Basic blocks
Scratch – Simple Programming
Go to =>
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Lesson Objectives To understand how to make sprites interact
Intro to Programming Mod 5 Lesson 2 10/19/2010.
Flappy bird Demo: Lesson 5 Flappy bird Demo:
Game Over Module 4 Lesson 2.
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Creating a Simple Game in Scratch
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Technical Drill: First Touch and Passing
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Scratch – Simple Programming
Presentation transcript:

A Scratch tutorial

Description: You have 6 bullets to shoot at 2 targets. Every time you hit any of them you get two extra bullets but the targets get 10% smaller every time you hit them. Once both of them become less than 10% of their original size – you win, otherwise – game over!

Variables Bullets – start with 6 Score – starts with 0

Sprites Aim Flash Target1 Target2 gameover

Aim is controlled by the mouse The “forever” block controls the rest of the program Aim follows the mouse When the mouse button is pressed a signal is sent to Targets, if they are touching Aim they are “shot” When all bullets are gone – Game over! When both targets become tiny – you win!

Target1 runs around and gets shot at Try different initial sizes to make the game interesting That starts the game and initialises all settings Randomly glides around the screen If less than 10% in size – goes to lower corner, out of the way and stops its movement by halting its script When receive a signal that a shot has been fired, checks if was touching the Aim in the moment of the shot.

Flash follows the Aim and appears only for short moments of the shots fired. Two blocks in the Flash area The first one initialises the size to 100% and makes the flash normally invisible It also turns on the “forever” block to follow wherever the Aim is The second one makes the Flash appear and Shrink 10 time.

Gameover message Invisible at the start of the game (Ghost=100% is invisible) Then made visible at the end. (Ghost=0% is visible)

Extension activities: Put more targets Put Trees and other objects behind which the Targets can hide (how can you program that?) Also, you will notice that it is very easy to lose all bullets in one go, can we fix that?