|Scratch Programming In Easy Steps (2e)|
Author: Sean McManus
What's Scratch all about and how do you use it? This book has the answer.
All titles published by In Easy Steps are in full color - and in the case of Scratch, which makes use of color, this works well, as does the use of its standard page furniture of icons that indicate "Hot tips" and things to remember or to avoid. In this particular volume the side panels are extensively used and only rarely do you get the impression of too much white space.
Other standard features of In Easy Steps books are the use of numbered instructions and covering distinct topics in either one, two, or exceptionally three pages. This means the emphasis is on conveying ideas in a practical way without discursive explanations and discussion. The emphasis is always on "how" rather than "why". Each chapter is identified not just with a number but with a different colour, and in the case of this book there are eleven chapters, each of which covers a lot a ground, but always with a logical progression.
The author gets straight into introducing Scratch. He devotes one very succinct paragraph to explaining what programming is and spends the rest of his first page answering the question "What is Scratch, including five reason why Scratch, in which you fit color coded commands together like jigsaw pieces, is easier to use than other programming languages.
This new edition covers Scratch 3 which is an online implementation. There's a step-by-step to starting with Scratch on the Raspberry Pi using the Raspbian operating system which includes Scratch as standard.
In the next few topics of the introductory the chapter we are guided through creating a Scratch account; using the Scratch screen, exploring blocks, and changing the backdrop. Then in the final four topics we create a first program, save it and then learn to open projects both personal and ones that are shared on the Scratch website.
Chapter 2 covers drawing with Scratch, introducing the Stage and its co-ordinate system for positioning sprites and then moving on to using the pen. By the middle of the chapter we draw a house using co-ordinates and then introducing directions makes drawing more flexible. The Repeat block and then nesting repeats inside each other to provide loops come next and the chapter ends with Rainbow Painter, a simple but very effective art program.
Chapters 3 to 8 introduce more Scratch blocks and more programming ideas in the context of increasingly sophisticated programs. The level often seems to ramp up quickly and this is partly because each chapter builds on what you already know. This is pointed out in the very first Hot Tip, where it advises that the best way to use the book is to work though the chapters in order. Each of these chapters starts with a page introducing the program you'll create and what you'll learn along the way.
Chapter 3 is a game, Spiral Rider, that uses the drawing skills from the previous chapter and introduces the green flag, the Scratch "Start" button, the idea of variable, and adding and animating sprites. We also learn about keyboard control and Game Over messages.
The next game is Super Dodgeball and random numbers and copying and deleting sprites are just two new ideas that are introduced. We discover the Paint Editor and its tools and the advantages of vector images. Sound is the major new topic in Space Opera and we also add a title screen.
The ask and answer sensing blocks are introduced in Quiz Break in Chapter 6 and we use the Operator blocks to perform calculations. Chapter 7 is Evil Robot aka Hangman and lists are introduced. It also an opportunity for looking at graphic effects and using a main game script to manage the overall flow of the game. It also introduces a speech block Chapter 8 brings together much that you've already learned in Space Swarm, an archetypal arcade game.
Chapter 9 is on Scratch hardware projects: Using a webcam, a PicoBoard and the Raspberry Pi GPIO. The short game in this chapter is Going Batty, which demonstrates video motion on a sprite - you wave your hand vigorously to shoo them away.
Chapter 10 has seven short games and the final chapter is called Making and sharing projects but also covers how to deal with common bugs and has a list of resources. By now you'll be ready to join in with the wider Scratch community and continue making your own fun and games.
We've look at several programming language titles in the In Easy Steps series on I Programmer and often concluded that the format doesn't always mesh with the program language being covered. In this instance the format fits the topic and the result will appeal to adults as well as to children. This new edition also makes good use of the new Scratch 3 features such as sound and video. Scratch is a language I would recommend for kids wanting to get into coding and this book is highly recommended to enable them to get the most out of it.
Visit the book's web page for more information and to play demos of the games.
Scratch Programming In Easy Steps (1e)
Scratch 3.0 Released To Mixed Reaction
A Programmer's Guide to Scratch 2
A Programmer's Guide to Scratch 1.4
Teach Code In School - Before It's Too Late!
|Last Updated ( Tuesday, 31 December 2019 )|