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 ...

Get Learn GameSalad for iOS: Game Development for iPhone, iPad, and HTML5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.