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 Cookbook

You're reading from   Scratch Cookbook If want to get your programming know-how off the starting blocks in a fun, involving way, then this guide to Scratch is perfect. In no time you'll be building your own interactive programs that include animations and sound.

Arrow left icon
Product type Paperback
Published in Jul 2013
Publisher Packt
ISBN-13 9781849518420
Length 262 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Brandon Milonovich Brandon Milonovich
Author Profile Icon Brandon Milonovich
Brandon Milonovich
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Scratch Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with Scratch FREE CHAPTER 2. Storytelling 3. Adding Animation 4. Basic Gaming 5. Spicing up Games 6. Bringing in Sound 7. Integrating PicoBoards 8. Programming to Calculate 9. Project Remixing Collaboration Index

Deleting the default sprite


As we mentioned before, sprites are the objects you program. They are the characters to your stories, players of your games, and everything in between. When you first open up Scratch, the default sprite is the cat (the one seen in the screenshot of the interface). You may want to use that sprite, or import a different one or more of them. We'll start by deleting the default sprite.

Getting ready

Later in this chapter, we are going to create our first program with Scratch: Hello World. All of our recipes in this chapter will lead up to this. Let's get this setup by customizing our environment. All you have to do to get this recipe ready is open up Scratch. This recipe is all about getting rid of the default sprite so that you can import others.

How to do it…

Follow through this series of steps to get rid of the default sprite that Scratch opens with:

  1. Right-click on the sprite and choose the delete option.

  2. You can also see a pair of scissors in the tools just above the stage, as shown in the following screenshot:

  3. Click on the scissors icon.

  4. Click on the sprite you wish to delete.

Tip

You can use these tools in the script area as well with your programming blocks when you build your programs.

There's more…

You will notice with this set of tools above the stage, you have a few other fun options to work with. The first of these is the clone tool. Use this to copy sprites on your stage, so you don't have to reimport them (once we get to that, don't worry, it's coming!).

The third and fourth tools here are great in adjusting the size of your sprites. The first of these two increases the size (or grows) of your sprite. Similarly, the last tool decreases (or shrinks) your sprite. Each click increases or decreases the size by one level.

Tip

As you progress through this book, don't go too far in reading without trying things on your computer! Take a minute now to test out the tools we've used so far and play around.

You have been reading a chapter from
Scratch Cookbook
Published in: Jul 2013
Publisher: Packt
ISBN-13: 9781849518420
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