O'Reilly logo

Learn GameSalad for iOS: Game Development for iPhone, iPad, and HTML5 by David Guerineau

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    3

Finishing Pong: Scoring and Game Interaction

In the previous chapter, you created a pretty cool game in just a few minutes. You now have a grasp of the capabilities of GameSalad, but your project is far from being perfect. In this chapter, you will continue learning GameSalad by implementing some add-ons and fine-tuning the Pong game.

Let’s Keep Score

Who’s winning the game? When playing table tennis, isn’t one of the top goals to win or achieve a high score? But to do so, a game needs a scoring system. So what are you waiting for?

For the Pong game, you will create a scoring system based on the following rule: if you miss the ball, your opponent scores a point. The first player to reach 11 wins the game.

You can open the file ...

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