Intro to Programming Mod 5 Lesson 2 10/19/2010
Learning Objectives To be able to revise more difficult concepts in Scratch, building on lesson 1 Easy Scratch cards To be able to … Draw more complex shapes Edit costumes Animate a sprite Keep score
Some Methods and conditions Forever loop Switch to costume ______ Set ____ effect to _____ Sensing Mouse X Point towards ______ Set score to ___ If (condition) Sensing condition touching () Change score by ___ Say ____ for ____ secs
Difficult 1 Use loops
Difficult #2 Spooky Surprise After editing, put it in an infinite loop with enough of a wait to see the different expressions.
Difficult #3: X-traordinary Whirl Put in a forever loop to watch the changes.
Difficult #4: Scribbling Dog Use a forever loop to let the dog continually point and move towards the pointer.
Difficult #5: Score Goes up and Down You can have your sprite move randomly or you can include some method to control the sprite.
Turn in the extensions for extra credit possibility. Extension Activities Turn in the extensions for extra credit possibility. Add functionality to your solutions #1: Add a chimney/door/window/… to the house #2: More expressions to the Ghost #3: Add another effect to the squirrel #4: Add a cat that runs away from the dog at a faster speed and the dog chases the cat, rather than the mouse. #5: Different sounds for score going up or down, add some intelligence to the movement, run away from the big fish, run towards the little fish, …