Making a Sprite Dance Barb Ericson Georgia Tech June 2011.

Slides:



Advertisements
Similar presentations
Create a Simple Game in Scratch
Advertisements

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.
1 An intro to programming concepts with Scratch Session 3 of 10 sessions Repetition and variations.
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
Write Your First Computer Game!. Coding: Programming Languages Just like you can speak Chinese to someone who understands Chinese to tell them what to.
Learn… Create… Program. Manipulation of Multiple Media Connects with youth culture Scratch is a new graphical programming language designed to support.
Madlib-Input, Strings, and Lists in Scratch Barb Ericson Georgia Tech June 2011.
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.
Scratch the Cat. Object Oriented Programing Writing computer programs Based on Objects Instead of Actions Based on Data Instead of Logic.
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.
Introduction to Scratch!
The 4 th grade Nutley TALENT cohort shares: SCRATCH.
Using MIT Scratch for Programming and Control Exercise 3 Ball Game Year 9 ICT Autumn Term 2007.
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.
Introducing Scratch the Cat
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.
1 Understand how to use Scratch to: – Animate a sprite – Add sound to your script – Use the forever command to create a loop Lesson 2: Learning Objectives.
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.
Unit 3 Music and Sound Evangel College S.2 ICT.
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.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
Computer Programming Modeling a Passive Solar Home.
Drawing with the Pen Barb Ericson Georgia Tech June 2011.
Using MIT Scratch for Programming and Control Exercise 1 Creating movement Year 11 DTG 2012.
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.
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.
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
 SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
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.
Digital Art in Scratch part 2 Barb Ericson Georgia Tech Nov 2010.
1 CSC 221: Computer Programming I Fall 2009 Introduction to programming in Scratch  animation sprites  motion, control & sensing  costume changes 
Scratch Lesson 1. Creating an account Open the internet browser : Safari or Internet Explorer Type in the URL scratch.mit.edu Using your school computer.
Computer Programming Modeling a Passive Solar Home.
Madlib-Input, Strings, and Lists in Scratch Barb Ericson Georgia Tech.
Computer Programming with Scratch JAOIT 8. Scratch Scratch is a programming language that makes it easy to create your own interactive stories, animations,
Teaching Kids Programming with Chromebook Digital Convergence Lab, NIU.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Review for Final June 13, 2016.
Create a Halloween Computer Game in Scratch
Dancing on Green Light.
Scratch for Interactivity
Interacting Sprites Module 3: Investigation 1
Madlib-Input, Strings, and Lists in Scratch
What is it?! •Scratch is a programming language that allows you to create interactive stories, music, animations, art, games, and more!
Unit 2 Getting Started With
Scratch for Interactivity
Introduction to Object-Oriented Programming
Getting Started with Scratch
Go to =>
Go to =>
Getting Started with Scratch
Getting Started with Scratch
Creating a Simple Game in Scratch
CSC 221: Introduction to Programming Fall 2018
Presentation transcript:

Making a Sprite Dance Barb Ericson Georgia Tech June 2011

Goals Learn about –Deleting a sprite –Adding a sprite with several costumes –Programming the sprite – creating scripts The typical way to start a script executing Using a forever block to repeat execution of a set of blocks How to change the costume in a script How to make build in an amount of time to wait before executing the next block

Project Description We will make a sprite with more than one costume look like it is dancing by repeatedly changing costumes

Big Picture Delete cat sprite Add a sprite from the people folder –Add multiple costumes for the sprite Program the sprite to look like it is dancing –Start dancing when the green flag is clicked –Forever loop (repeat) Change the costume to the next costume Wait for a short amount of time Then try out some additional things like adding sound or movement

Delete cat sprite To delete the cat –Click the scissors –Click the cat Or right click on the cat and select delete

Add a Sprite Add a sprite from the "People" folder –Click on the star with a folder under the stage view –Select the People folder

Add a Sprite (continued) Scroll down to pictures of Cassy and select one of the costumes Then click "OK"

Add more costumes Click on the "Costumes" tab in the center area Click on "Import" Select another costume for the same sprite –Then add more

Program the sprite Create a script for the sprite –Click on "Scripts" in center area –Click on "Control on left" –Drag out a "when green flag clicked"

Program the sprite -cont Drag out a forever block –From the Control category –And connect it under the "when green flag clicked" You will see a white line where it will connect

Program the sprite - cont Click on the Looks category – Purple –And drag out a "next costume" block –Put it inside the "forever" block

Program the sprite Click on the "Control" category –Drag out a "wait 1 secs" block and put it after the "next costume" block –Inside the "forever" loop

Program the sprite Change the wait time to 0.25 seconds –Click on the 1 and it will highlight –Type in 0.25 – Hit return (enter)

Try it out Click the green flag to start the script –At the top right corner Click the red stop sign to stop

Challenges Play a drum when she changes costume –See the "Sound" category Move her right and left as she dances –See the "Motion" category

Concept Summary Sprites –Can be added from a file –Can have multiple costumes –Can be programmed with scripts You can start a script –By clicking the green flag You can repeat a block of code –Using a forever loop –Or pause execution using wait