O'Reilly logo

Make a 2D Arcade Game in a Weekend: With Unity by Jodessiah Sumpter

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

CHAPTER 6

image

Game Power-Ups

When we think about the Super Breakout game, one of the key features in game play is the enhancement of the game through power-ups. Power-Ups in the game are additions or subtractions to the game play by adding a level of interactivity for the game.

In this chapter we will walk through the creation of Power-Up prefab objects for the game. We will add an extra ball and paddle resizing by allowing the game player to collect the falling prefabs.

Time to drop some power-ups!

Building Power-Up Scripts

Setting up the base class for the power-up objects will allow for us to build the foundation of our power-up prefab objects. ...

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