CoderDojo Roscommon. Today's Ninja Challenge: Create a GhostBuster Game Like This.

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
Harry Potter Scratch Game
Adventures in Animation Harry Potter Game Pranali Choubal Kunal Shaw Barb Ericson Dec 2007.
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.
CoderDojo Roscommon Code and notes by Eamonn Hannon and Michael Madden, 2012.
Scratch Programming Session 9 of 10 Review elements to use in stories, games, etc.
Racing Car Game Using the keys to control a sprite.
Extending the Pong Example Barb Ericson Georgia Tech June 2011.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech Oct 2010.
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.
Every week: Sign in at the door If you are new: Fill in Registration Form Ask a Mentor how to get started Make sure you are on the Athenry Parents/Kids.
CATCH SCRATCH! Programming from Scratch. Remember Scratch?
VIDEO GAME PROGRAMMING Video Game Programming Junior – DigiPutt INSTRUCTOR TEACHER’S ASSISTANT.
Every week: Sign in at the door If you are new: Fill in Registration Form Ask a Mentor how to get started Make sure you are on the Athenry Parents/Kids.
Using MIT Scratch for Programming and Control Exercise 6 – Creating a Scratch Packman Year 9 ICT Autumn Term 2007.
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.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech May 2011.
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.
Games Programming in Scratch
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
Scratch for Interactivity Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
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.
UTILIZING SCRATCH FOR LESSONS. EngagementExplorationExplanation ElaborationEvaluation.
Today's Ninja Challenge: Write Your First Computer Game!
1 CSC 221: Computer Programming I Fall 2009 Introduction to programming in Scratch  animation sprites  motion, control & sensing  costume changes 
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
CoderDojo Sligo "Above all, be cool" Code and notes by Michael Madden, 2012.
Computer Programming with Scratch JAOIT 8. Scratch Scratch is a programming language that makes it easy to create your own interactive stories, animations,
Intro CS – Costumes and Variables Lesson Plan 6. Goals  Understanding Costumes, Ordering, Naming  Switching Costumes with Switch and Next  Using Variables.
Introduction to Scratch We will be using the Scratch Environment today, so please log in to the Scratch website (scratch.mit.edu)
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.
© it’sLearning 365 Limited | Screen 1 FLASH enabled How to use me : Teachers Notes Useful Web Link Ne xt Pa ge Ne xt Pa ge Navigate.
School of Computer Science Space School 2015 Programming a Lunar Lander Game.
Using MIT Scratch for Programming and Control Programming 9.
Intro CS – Costumes and Variables
Scratch Animated Greeting Cards.
Create a Halloween Computer Game in Scratch
Commands in Scratch.mit.edu
Broadcasting (Adding a new level)
Games Programming in Scratch
Scratch for Interactivity
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.
Today's Challenge: More Animation Storytelling and Scrolling!
How to work with your sprite
Creating a Tank Game in Scratch
Today's Ninja Challenge: Make Better GhostBuster Game
Code and notes by Martha Fahy, 2017
Scratch for Interactivity
The One Where You Scratch
Objectives To understand how the pen tool works
Introduction to scratch animation
Go to =>
Game development using Scratch
Creating a Simple Game in Scratch
CSC 221: Introduction to Programming Fall 2018
Catch Game Cards Catch Game Cards Make a Card Go to the Top Fall Down
Animate a Sprite. By M, M and C P6
Presentation transcript:

CoderDojo Roscommon

Today's Ninja Challenge: Create a GhostBuster Game Like This

Today's Big Ideas Designing your game Loops & Decisions Variables Ideas from last time …

How to Get Started Think first! Start simple: add more later Plan the Design Design it: appearance & behaviours Write script (Code) to control its behaviours Create First Character Any bugs? (Not working as expected) Debug and Improve Test It More Characters, More Behaviours, More Testing! Extend It Reminder from Week 1

Steps To Make This Game Create your Ghost Catcher: appearance? Code to control it with mouse Change the Stage: Plain coloured background? Create first Ghost: appearance & code Duplicate it when it is working Make things happen when a Ghost is caught Add variable for Score Optional: New level when all caught

Paint Editor in Scratch Paintbrush Eraser Fill tool Rectangle Ellipse Line Text Stamp Select Eyedropper

Design PacMan and a Ghost Circles: head & eyes Lines for mouth Fill with "blank" TIP: Use distinctive colour (e.g. yellow) at front/mouth: will use this when detecting if ghost is eaten Circles, Rectangle & Paintbrush

Make PacMan Follow the Mouse Buttons: Rotate any direction Face left/right Don't rotate

Make Ghost Move Around TIP: Get one ghost working fully – you can duplicate it later. Right-click on a sprite to duplicate it. What is significance of 1-360?

Loops and Decisions Key programming concepts Loop: Repeat code multiple times Decision: Decide whether or not to do something

When PacMan Gets Ghost … How we detect PacMan: colour of its mouth Show at start. Hide when eaten. Wait & show again. Switch to Sounds tab & import sound

Duplicate Ghost, Make Each One Look Different

Variables To keep score, need a Variable: A key programming concept Stores a Value (number/text data): this can vary Has a Name – this is fixed: use this in the code to compare/change values

Variable to Keep Score Variables can be: Global (for all sprites): what we will use Local (one sprite only) To do: 1.Make variable 2.Set it to 0 at start 3.Add 1 each time a ghost is killed 1 2 Add this to every ghost 3

If You Want to Do More … Add Levels: When you have caught 6 ghosts, make the ghosts go faster You will need: Variable for Speed, initially 2 Variable for GhostsCaught Code: when GhostsCaught = 6, set it back to 0 and increase Speed by 2

If You Want to Do More … Make a variable Speed Set it to 2 at start Change ghosts to move at that speed Make variable GhostsCaught When ghost is caught, Change by GhostsCaught by 1 (beside where you change Score by 1) Add code to PacMan: Set GhostsCaught to 0 at start If GhostsCaught is 6 – Change back to 0 – Increase Speed by 2

Steps to Make the Game Make the Bat sprite, write & test code to control it Make the Ball sprite, write code to make it move & animate Add an End Line and a Lives variable; Lose a live when ball hits line Make a Brick sprite, write its code; Test it works then duplicate it Your game will have slightly different steps. Get one part working before moving on!