O'Reilly logo

Scratch 2.0 Game Development HOTSHOT by Sergio van Pul, Jessica Chiang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tweaking and balancing

To finish this project, we will add a few more details to prepare for the next project. In the next project, we want to add a boss fight to this game; but when should the boss appear? I've decided to make this a timed event. The player should survive for a certain amount of time, shooting enemies along the way to increase the power of the spear. After 90 seconds, the starfish will disappear and a boss monster will appear.

You may have also noticed that the scrolling images tend to stick to the sides of the stage before disappearing. This is a feature of Scratch to prevent you from completely losing sight of sprites. To get rid of these lingering sprites, we use a visual trick to obscure them.

Engage thrusters

Let's first work ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required