Scratch 2.0 Beginner's Guide, 2nd Edition
Format: PDF / Kindle (mobi) / ePub
Create digital stories, games, art, and animations through six unique projects
About This Book
- Discover how to use the new Scratch Version 2.0 to create games, animations, and digital stories
- Six hands-on projects that get you learning by doing with projects for all ages and experience levels
- Learn universal computer programming basics with no previous programming knowledge required
Who This Book Is For
The author approaches the content with the belief that we are all teachers and that you are reading this book not only because you want to learn, but because you want to share your knowledge with others. Motivated students can pick up this book and teach themselves how to program because the book takes a simple, strategic, and structured approach to learning Scratch.
Parents can grasp the fundamentals so that they can guide their children through introductory Scratch programming exercises. It's perfect for homeschool families. Teachers of all disciplines from computer science to English can quickly get up to speed with Scratch and adapt the projects for use in the classroom.
What You Will Learn
- Program in Scratch including universal programming concepts such as loops, conditional statements, variables, arrays, Boolean logic, dynamic interaction, coordination, synchronization, threads, event handling, and procedures
- Design user interfaces including sequence, characters, and controls
- Translate a storyline or plot into an online game, animation, or story
- Debug problems and revise projects to fix problems and add functionality
- Think critically to solve problems based on need, program limitations, and knowledge levels
As 21st century people, we live a digital life, but computer scientists around the world warn of a declining pool of digitally literate computer science students. The Scratch environment makes it fun for students of any age to think, create, and collaborate digitally.
Scratch 2.0 Beginner's Guide Second Edition will teach you how to become a Scratch programmer and lay the foundation for programming in any computer language. Whether you are creating a birthday card or cloning bricks for a game of Breakout, projects are approached in a step-by-step way to help you design, create, and reflect on each programming exercise.
just happened? Understanding sound related blocks Editing sounds Time for action – editing a recorded sound What just happened? Time for action – appending a sound What just happened? Time for action – adding sound effects to recordings What just happened? Reviewing available sound effects Have a go hero – narrating additional images Using x and y coordinates to find the position of the mouse's pointer Time for action – using mouse location to hide arrows What just
costume What just happened? Have a go hero – using the costume center in projects Cloning to create identical sprites Time for action – drawing bricks What just happened? Time for action – cloning bricks What just happened? Dealing with the cloned sprite Time for action – breaking bricks when I start as a clone What just happened? Cloning explained Rapid fire shooting with cloning Cloning related blocks Ricocheting with the point in direction block Time for action –
smaller with each subsequent hit. Take a shot at building a super strong brick in the game that takes repeated hits to break. In the current design, you can place the brick above or below the current rows. Adding more bricks to the level with a custom block Currently, we have two rows of yellow bricks. Our next task will be to create a new brick color and add two more rows to the game using this new brick color. However, this will require us to revise our existing code that redraws the bricks,
greater than 10 by snapping the () > () block from the Operators palette into the if () block. Then, we will add the timer block from the Sensing palette into the first value. Type in 10 into the second value.Inside the if (timer > 10) then block, add a change () by block. Select the speed variable and add a multiplication block from the Operators palette to the value. Multiply the speed variable by 1.2.Add a reset timer block to the if block.Finally, add the speed reporter block from the Data
multiple lists, among some other potential problems. Another solution would be to use variables to set the start and end positions of our negative responses. In the next exercise, we will fix our magic number and make our code clearer. Creating a custom say fortune block At this point, we have our teller that issues a negative fortune every fifth question, but we don't have any blocks in place to provide an answer to the rest of the questions. So, we'll fix that. Time for action – creating a