How to make an educational Snakes and Ladders game in Scratch

Slides:



Advertisements
Similar presentations
Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
Advertisements

Michael Parkes Dudley LA What can Scratch do? Make simple games, animations, presentations and stories.
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.
Racing Car Game Using the keys to control a sprite.
Mr. Wortzman. Tabs (Block Categories) Available Blocks Script Area Sprite Stage All sprites in this project.
CATCH SCRATCH! Programming from Scratch. Remember Scratch?
How to make Space Invaders
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.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
Image #1 Getting Started
WHAT IN THE WORLD IS SCRATCH??? AN INTRODUCTION TO COMPUTER PROGRAMMING By MD Showman.
1 Use different costumes in Scratch to make an animation effect Synchronise interaction between 2 or more sprites Lesson 3: Learning Objectives.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
Variables and Random Numbers Computer App Session 4.
First Project: Dance Dance Sprite  Write a dance with your sprite (You pick or create the sprite)  Incorporate as many of the Motion Commands as you.
 SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
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.
ICT/COMPUTING RULES Only use software allowed by the teacher
Animating your Sprites to Make Greeting Cards. This lesson will lead you through: Selecting a background Adding letter sprites Using the random function.
Randomness Exploring Computer Science Lesson 4-10 – Part 2.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Objective of the lesson Use Blockly to make a dice for Snakes and Ladders All of you will: – Make an image which displays when you press a button Most.
Index Background Costumes Making object walk smoothly Controlling an object with the keyboard Control an object with the mouse Changing costume when hit.
LEARNING SCRATCH: PRESENTATION 4 PRESENTATION 1: GETTING STARTED 1 Broadcast Messages Today, we'll learn how to get our sprites to act together, and build.
Using MIT Scratch for Programming and Control Programming 9.
Scratch Helicopter Game
Create a Halloween Computer Game in Scratch
Module 1: Investigation 2 Repeating and Alternating Patterns
Dancing on Green Light.
Scratch for Interactivity
Scratch 7B IT1.
Randomising the behaviour of Sprites
Diamond Hunt Mock Programming Project.
Scratch – Simple Programming
Scratch Programming Intro
Dance Cards Dance Cards
Dance Cards Dance Cards
Scratch – Simple Programming
Dance Cards Dance Cards
Dance Cards Dance Cards
Dance Cards Dance Cards
Dance Cards Dance Cards
Areas of the SCRATCH 2 Screen
Objectives To understand how the pen tool works
Lesson Objectives To understand how to make sprites interact
Go to =>
Dance Cards Dance Cards
Go to =>
Dance Cards Dance Cards
Image #1 Getting Started
Game Over Module 4 Lesson 2.
Dance Cards Dance Cards
Dance Cards Dance Cards
Exploring Computer Science Lesson 4-10 – Part 2
Dance Cards Dance Cards
Creating a Simple Game in Scratch
Lesson Nine Variables.
Dance Cards Dance Cards
Using MIT Scratch for Programming and Control Exercise 5 – Drawing with Scratch Year 9 ICT Autumn Term 2007.
Scratch 7B IT 1.
Dance Cards Dance Cards
Scratch – Simple Programming
Presentation transcript:

How to make an educational Snakes and Ladders game in Scratch

Features: Player’s sprite moves through the circular fields depending on the value of the dice “thrown” The current circle “lights up” One “snake” drops the player a few positions back when the player hits a certain circle One “ladder” takes the player up a few positions when at a certain circle Educational questions at certain positions, otherwise, won’t let to continue Have to “throw” a certain number to hit the Finish circle

All the sprites at a glance Notes: The Cat has the longest scripts All Number Circles have the same code, so could just duplicate the first one many times over The Snake is still called Ladder2, because it’s just Ladder1 duplicated and changed... Finish and Start have no other costumes or code

The list of variables Notice the option for the list in Scratch 1.4 but we are not using it in this example (although, you could create much shorter code with lists)

The number circles – costumes, so that it “lights up” when hit

The code for a number circle Sprite 1 is the cat, when the cat touches this circle, it lights up

Costumes for the “dice” Different costumes will come up depending on the value of the dice thrown

The code for the dice Dice value is a random number between 1 and 3, once the dice is throws, it broadcasts a signal to move that many steps to the cat

The Cat – only one costume and lots of code... Many lines in this code are very similar to each other, for example, many if statements – you can right-click and duplicate them and then modify their values At position 6, the educational question is asked

continued

End of the long script

The Cat’s second script, handles snakes and ladders

The last 2 scripts for the Cat, handle the beginning of the program

Play again sprite

Yes sprite (response to Play again)

“No” sprite

The End Extension: Add more circles (copy and paste will really help) Add more snakes and ladders Add more questions Add more players