Index Background Costumes Making object walk smoothly Controlling an object with the keyboard Control an object with the mouse Changing costume when hit.

Slides:



Advertisements
Similar presentations
Create a Simple Game in Scratch
Advertisements

In this tutorial, we are going to create: A race car that the user can control with the arrow keys for direction and speed. A simulated road with a striped.
Create a Simple Game in Scratch
Pong! “The oldest commercially available game in history” Resources created from the video tutorials provided by David Phillips on
Get Going On ….. What is programming ? What programming software does the school have ? Load this PowerPoint.
Helicopter Game Tutorial
A Christmas Scratch game
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
LO: Learn how to develop your game further to include interactions with the device.
Creating pong in scratch Learning objectives: To learn how to program Sensing via colour and sprite proximity O:\ICT\ks3\scratch\scratch Exercises\Creating.
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.
Introduction to TouchDevelop
Game Maker Day 2 Making a Maze Game.
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.
KeyListener and Keyboard Events Just as we can implement listeners to handle mouse events, we can do the same for keyboard events (keypresses) –to implement.
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.
Geometry. 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 are.
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.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
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.
USPSA - PRACTISCORE GUIDE FOR SCORE KEEPERS. HOME SCREEN.
Games Programming in Scratch
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
Get Going On ….. Load the word file ‘Glossary’ and complete it. You will have homework today.
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.
ICT/COMPUTING RULES Only use software allowed by the teacher
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
School of Computer Science Space School 2015 Programming a Lunar Lander Game.
Scratch Programming Cards
Scratch Helicopter Game
Create a Halloween Computer Game in Scratch
Scratch for Interactivity
Game Maker Intro to Programming Game Maker Pop Quiz (Both Groups)
Scratch Unit Overview We are going to look at computer programming and how to create your very own computer game The piece of software we will be using.
How to work with your sprite
Year 11 DTG Intermediate Using MIT Scratch for Programming and Control Exercise 2 Controlling movement with the keyboard Year 11 DTG Intermediate.
Intro CS – Keyboard and mouse input
Exploring Computer Science Lesson 4-14
Creating a Tank Game in Scratch
Scratch – Simple Programming
Loopy Motion Control.
Introduction to Object-Oriented Programming
Stopwatch Cards Stopwatch Cards
The One Where You Scratch
Scratch – Simple Programming
Lesson 1 Introduction to Scratch Basic blocks
Areas of the SCRATCH 2 Screen
Go to =>
Lesson Objectives To understand how to make sprites interact
Stopwatch Cards Stopwatch Cards
Go to =>
Flappy bird Demo: Lesson 5 Flappy bird Demo:
Stopwatch Cards Stopwatch Cards
Game Maker Intro to Programming Game Maker Pop Quiz (Both Groups)
Stopwatch Cards Stopwatch Cards
Game development using Scratch
Exploring Computer Science Lesson 4-14
Creating a Simple Game in Scratch
Scratch Racing.
Stopwatch Cards Stopwatch Cards
Lesson Eleven Moving Backgrounds.
Stopwatch Cards Stopwatch Cards
Scratch – Simple Programming
Presentation transcript:

Index Background Costumes Making object walk smoothly Controlling an object with the keyboard Control an object with the mouse Changing costume when hit by an object Creating Variables Firing An Object Shooting an object with a target Increasing score when object is hit by another object Setting score, background & costume at start of game Changing Level Creating random movements If touching Objects Gravity, Flying, Return To Ground Creating a Scrolling Background Useful Links

Scratch Backgrounds Make you own Image or Modify it Import your image Click here Index

Costumes – Create, Import, Modify Allow the cat to rotate Allow the cat to move left and right only Import your own image Create or modify your own costume Index

Making object walk smoothly Costume ‘walk_1’ represent the fist half of one step and costume ‘walk_2’ represent the second half of one step. By combining them together at the correct speed the object looks like it is walking. Index

Controlling an object with the keyboard You may use this code alongside controlling the object with a mouse to create a two player game. Note that I have included the code that stops the sprite disappearing off screen. Index

Control an object with the mouse Index

Creating Variables Click on “Make a variable” Give it a sensible name All done Index

Firing A Object The code has to be listed under the object which represents the missile/ built. For example the code above is listed under the my missile. Index Missile starting point Missile flight path

Shooting an object with a target This code is used when you want to shoot an object with your target/ weapon. You need to place this code object you want to kill.

Changing costume when hit by an object This code has to be listed under the object which will change. For example the code above is listed under the enemy spaceship which the missile is attempting to blow up. Index

Increasing score when object is hit by another object This code has to be listed under the object which will change. For example the code above is listed under the enemy spaceship which the missile is attempting to blow up. Index

Setting score, background & costume at start of game Index

Changing level can be done in lots of different ways. The simplest ways are to change the background or sprite (object) when the play score reaches a set amount. You must have your backgrounds or sprite and the ‘variable’ score already create. Remember to select the stage or sprite before you start coding. Changing Level Changing level by SpriteChanging level by background Index

Creating random movements This code will make the cat move in random angles between 45 and 120. Index This is my game code for the fire ball.

If Touching Objects There are two ways which you can achieved this a) by colour b) by object By Object By Colour Index

Create a Start Screen You need to create a image which will look like a game welcome page. Then you hide all objects (sprite) and backgrounds (stage). Set the background (stage) colour to it matches your image background. Then you create code that does something when the correct button is pressed. If the key ‘e’ is pressed then the game is stopped. If you want to reset the score you will need to add more code. To exit the game you will need to use this stop code. Index

Gravity, Flying, Return To Ground You will need to have your keyboard code that allows you to control the object. This simply said that it you are not pressing the arrow key return to the bottom of the screen. Index

Creating a Scrolling Background Word versionWord version... PDF versionPDF version Program Code Image width = 700 Index

ew&id=211&Itemid= html Useful Links Index