Search icon CANCEL
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
Raspberry Pi Projects for Kids (Second Edition)

You're reading from   Raspberry Pi Projects for Kids (Second Edition) Leverage the power of programming to use the Raspberry Pi to create awesome games

Arrow left icon
Product type Paperback
Published in Apr 2015
Publisher
ISBN-13 9781785281525
Length 146 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Daniel Leonard Bates Daniel Leonard Bates
Author Profile Icon Daniel Leonard Bates
Daniel Leonard Bates
Arrow right icon
View More author details
Toc

Creating a character

We're going to use the Scratch programming language to create this game. To start our game, we will need a character to fling through the air. Angry Birds, of course, uses birds as its main characters, but we can use whatever we like.

At the top of the sprite list you should see the three buttons, as shown in the following screenshot. The first lets you draw your own character, the second lets you use an existing image (including a wide range of images included in Scratch), and the third gives you a random image from Scratch's selection. We've only used the second button in the previous chapter, but now is a good chance to explore the others:

Creating a character

If you click on the first button, you will be shown the following window; it has plenty of easy-to-use options that can help you create your own drawings. Hover your mouse cursor over any of the buttons to see what they do:

Creating a character

The second button brings up a fairly standard file explorer, which contains lots of neatly categorized...

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 €18.99/month. Cancel anytime