O'Reilly logo

Build iOS Games with Sprite Kit by Josh Smith, Jonathan Penn

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

Pulsing Power-Up Countdowns for the Win

At the moment, players have no idea how much time they have left when they collect a power-up to temporarily enhance their weapon. While the authors originally thought this was an important game mechanic, we realized when play testing this behavior that it was more frustrating for players than we’d like. Let’s add more information to see whether it aids players’ strategy and helps their sense of progress.

images/HUD/powerupss.png
Figure 27. Showing a power-up countdown in the center

Because we already have a heads-up display, let’s add a red, pulsing countdown timer that shows players how long until their current power-up runs ...

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