Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Scratch 1.4: Beginner's Guide

You're reading from   Scratch 1.4: Beginner's Guide Learn to program while creating interactive stories, games, and multimedia projects using Scratch

Arrow left icon
Product type Paperback
Published in Jul 2009
Publisher Packt
ISBN-13 9781847196767
Length 264 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (17) Chapters Close

Scratch 1.4 Beginner's Guide
Credits
About the Author
About the Reviewer
Preface
1. Welcome to Scratch! FREE CHAPTER 2. Installation 3. Start Scratching 4. Graphics and Slideshows 5. Storytelling 6. Arcade Games 7. Games of Fortune 8. Math and Finance 9. Share! 10. Real-world stimuli Scratch Resources
Index

Time for action – spin sprite spin


  1. Let's get our sprites spinning.

  2. To start, click on Sprite1 from the sprites list. This will let us edit the script for Sprite1.

  3. From the Motion palette, drag the turn clockwise 15 degrees block into the script for Sprite1 and snap it in place after the if on edge, bounce block.

  4. Change the value on the turn block to 5.

  5. From the sprites list, click on Sprite2.

  6. From the Motion palette, drag the turn clockwise 15 degrees block into the scripts area.

  7. Find the repeat 10 block from the Control palette and snap it around the turn clockwise 15 degrees block.

  8. Wrap the script in the forever block.

  9. Place the when space key pressed block on top of the entire stack of blocks.

  10. From the Looks palette, snap the say hello for 2 secs block onto the bottom of the repeat block and above the forever block.

  11. Change the value on the repeat block to 100. Change the value on the turn clockwise 15 degrees block to 270. Change the value on the say block to I'm getting dizzy!

  12. Press the Space...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image