17
ADJUSTING DIFFICULTY, COLLECTING GEMS, AND KEEPING SCORE
In this chapter, we’ll add a whole bunch of game elements to make Schoolhouse Skateboarder more challenging and fun. We’ll speed the game up and add multilevel platforms, gems to collect, and a scoring system.
SPEEDING THINGS UP
We don’t want our game to be too easy, or the player will get bored. One way to ramp up the difficulty is to have the game speed up. (Also, when you’re playing on your iPhone or iPad, a game that lasts a couple of minutes is more practical than a game that lasts an hour.) We can speed up the game by increasing the scrollSpeed variable by a little bit in our game ...
Get Coding iPhone Apps for Kids, 1st Edition 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.