Spiral Rider PAGE 1. Set Up Scene 1.Add Stage-underwater scene 2.Add crab sprite 3.Add two fish sprites PAGE 2.

Slides:



Advertisements
Similar presentations
Create a Simple Game in Scratch
Advertisements

Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
Create a Simple Game in Scratch
Michael Parkes Dudley LA What can Scratch do? Make simple games, animations, presentations and stories.
Scratch for Storytelling Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
Harry Potter Scratch Game
Adventures in Animation Harry Potter Game Pranali Choubal Kunal Shaw Barb Ericson Dec 2007.
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.
Mrs. Chapman. Tabs (Block Categories) Commands Available to use Script Area where you type your code Sprite Stage All sprites in this project.
Scratch Programming Session 9 of 10 Review elements to use in stories, games, etc.
Scratch Programming Session 6 of 10 If-then-else statements interactions Final projects specifications.
Mr. Wortzman. Tabs (Block Categories) Available Blocks Script Area Sprite Stage All sprites in this project.
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.
Scratch the Cat. Object Oriented Programing Writing computer programs Based on Objects Instead of Actions Based on Data Instead of Logic.
INTRODUCTION TO THE SCRATCH PROGRAMMING ENVIRONMENT.
Code Club Session 2 Dance Party. What will we learn ?  How to change the background  How to create animations  How to make objects talk to each other.
 Make sure you are subscribed to announcements on Moodle.  Activity 4 will be due 48hrs after your lab ends.
Using MIT Scratch for Programming and Control Exercise 6 – Creating a Scratch Packman Year 9 ICT Autumn Term 2007.
Scratch Programming Lesson 2 First glance to programming logic.
Game Maker Terminology
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.
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.
Using MIT Scratch for Programming and Control Exercise 1 Creating movement Year 11 DTG 2012.
Introduction to Computer Programming - Project 2 Intro to Digital Technology.
How to create a sprite Delete a sprite (e.g. the cat) by right clicking on it and choosing delete. Go to the bottom right hand corner and choose a new.
How to create a sprite Delete a sprite (e.g. the cat) by right clicking on it and choosing delete. Go to the bottom right hand corner of the stage and.
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.
Lives and Scoring Games Programming in Scratch. Games Programming in Scratch L2 Lives and Scoring Learning Objectives Define a variable Understand the.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Introducing Scratch Learning resources for the implementation of the scenario
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.
Using MIT Scratch for Programming and Control Programming 9.
Scratch Helicopter Game
Create a Halloween Computer Game in Scratch
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.
Cosmic Chorus Green Book, Ch 5.
Scratch for Interactivity
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
Introduction to.
Scratch – Simple Programming
Cosmic Chorus.
Sensing and Variables.
Areas of the SCRATCH 2 Screen
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
Go to =>
Game Over Module 4 Lesson 2.
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Sensing and Variables.
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
Lesson Nine Variables.
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Using MIT Scratch for Programming and Control Exercise 5 – Drawing with Scratch Year 9 ICT Autumn Term 2007.
Presentation transcript:

Spiral Rider PAGE 1

Set Up Scene 1.Add Stage-underwater scene 2.Add crab sprite 3.Add two fish sprites PAGE 2

Code the Stage 1.Add ghost effect to make the stage appear The higher the number the more transparent. PAGE 3

Coding the Cat: changing Pen Color 1.Hide the cat 2.Set the location for the pen to begin drawing in the upper left quadrant. (refer back to lesson on stage layout…not all students know what quadrant means.) 3.Set the pen to move to the right. 4.Clear the screen of previously run graphics. 5.Set Pen color…see directions to far right PAGE 4

Coding the cat- Adding Variables In order to set the move steps, create a integer data variable: “lineLength”. Once the variable is created, methods available to the lineLength will appear. Deselect the √ to hide the variable count. 1.Add “set (lineLength) to [x]” block 2.Demonstrate what would happen if lineLength remains the same the entire time. 1. (add the outer repeat only) 2. (Note it will create a box). 3.Discuss how the Top side and Right side initially are the same length, but the line mathematically gets shorter the complete the spiral. 4.Add the inner loop & “change(lineLength) by [-x]” PAGE 5

Coding the Crab PAGE 6 1.Crab should begin on desired position & size. 2.The crab is protecting the treasure, have him move back and forth in front of the opening. If the fish wins, the crab gets frustrated. 1.Receives a broadcast to indicate game has been won. 2.Make a comment. 3.Add an effect, set amount I test the effect on a when click to see how much to apply before adding to the broadcast. 4.Wait 5.Hide

Coding the Fish- Buttons PAGE 7

Coding the Fish- 1. Set position in world. 2. Set the fish to always point up on every start 3. Set the fish size instead of manually resizing. 4. Add a move with 200 steps to show the kids how to make the fish go forward. The fish will move much too fast to control. Drop steps to 4. Hmm, doesn’t go very far. How can we get the fish to move further but not fast? Loop! 5. Add repeat until. 6. Add sensing block “touching color”. …add the touching crab later. PAGE 8 Entire Fish Code

Coding the Fish- Touching maze or Crab PAGE 9 What happens if fish touches the maze or the crab? 1.Add if(condition)…true Say something Play sound 2.Else If touching “prize”  Play sound  Broadcast “won”  Stop script for sprite.

Treasure Fish PAGE 10 The Treasure Fish is being held captive by the crab. 1.Set Treasure fish to desired location every time game begins. 2.If you hide later, you must show in the beginning 3.Set the size to desired % of original costume.

Treasure Fish-Effects PAGE 11 Once freed, he gets excited and disappears. 1.Receive a broadcast that the small fish has found him. 2.Add some effect 3.Hide