Book Image

Scratch 2.0 Beginner's Guide: Second Edition

By : Michael Badger
Book Image

Scratch 2.0 Beginner's Guide: Second Edition

By: Michael Badger

Overview of this book

Table of Contents (18 chapters)
Scratch 2.0 Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 7. Programming a Challenging Gameplay – Breakout (Part II)

We ended Chapter 6, Making an Arcade Game – Breakout (Part I) with a framework for the Breakout game. Basically, we're breaking bricks and keeping scores in the framework. The game ends if we miss the ball. In this chapter, we're going to develop the game by adding challenging elements such as increased ball speed and a shrinking paddle. By the time we finish the chapter, we'll have a strong foundation that you can continue developing.

Our objectives include:

  • Making incremental changes to the game, including multiple lives and ball speed

  • Implementing custom blocks as a way to consolidate duplicate scripts

  • Understanding how to use Boolean blocks to control program flow

  • Creating variables that use cloud data

  • Debugging and considering alternative solutions

If you've already made a bunch of changes to your game, which will make it difficult for you to follow this chapter, you can open the project from Chapter 6, Making an Arcade Game...