2D iOS & tvOS Games by Tutorials Now Available!

Check out our brand new book on making 2D iOS & tvOS Games – just in time for your new Apple TV! By Ray Wenderlich.

Save for later
Share
You are currently viewing page 2 of 2 of this article. Click here to view the first page.

Section III: Juice

In this section, you’ll also learn how to take a good game and make it great by adding a ton of special effects and excitement – a.k.a. “juice.”

Drop Charge

In the process, you will create a game called Drop Charge, where you’re a space hero with a mission to blow up an alien space ship – and escape with your life before it explodes. To do this, you must jump from platform to platform, collecting special boosts along the way. Just be careful not to fall into the red hot lava!

You will build this game across four chapters, in stages:

  1. Chapter 14, Making Drop Charge: You’ll put together the basic gameplay using the scene editor and code, flexing the Sprite Kit muscles you’ve developed working through previous chapters.
  2. Chapter 15, State Machines: You’ll learn what state machines are and how to use them.
  3. Chapter 16, Particle Systems: You’ll learn how to use particle systems to create amazing special effects.
  4. Chapter 17, Juice Up Your Game: You’ll trick out your game with music, sound, animation, more particles and other special effects, experiencing for yourself the benefits of mastering the details.

Section IV: GameplayKit

In this section, you’ll learn how to use iOS 9’s new GameplayKit to improve your game’s architecture and reusability, along with adding pathfinding and basic game AI.

Dino Defense

In the process, you’ll create a fun tower defense game called Dino Defense where you construct a perfect defense to save your village from an onslaught of angry dinosaurs!

You will build this game across three chapters, in stages:

  1. Chapter 18, Entity-Component System: You’ll learn all about modeling your game’s objects using the new `GKEntity` and `GKComponent` objects provided with GameplayKit, and you’ll use what you’ve learned to implement your first dinosaur and tower.
  2. Chapter 19, Pathfinding: You’ll use GameplayKit’s pathfinding features to move your dinosaurs across the scene, avoiding obstacles and towers.
  3. Chapter 20, Agents, Goals and Behaviors: Finally, you’ll add a second dinosaur to your game that will use a `GKAgent` with `GKGoal` and `GKBehavior` objects to move across the scene as a more organic alternative to pathfinding.

Section V: Advanced Topics

In this section, you’ll delve into some more advanced topics like procedural level generation, GameplayKit randomization, and game controllers.

Delve

In the proces, you’ll create a tile-based dungeon crawler called Delve where you try to guide your miner through a rock-elemental infested dungeon.

You will build this game across four chapters, in stages:

  1. Chapter 21, Tile Map Games: You’ll learn techniques for building tile map levels, including how to create a fully functional tile map game.
  2. Chapter 22, Randomization: Take advantage of the new GameplayKit class `GKRandom` to generate the game world.
  3. Chapter 23, Procedural Levels: Remove some of the random aspects of the level generation to make the process more predictable, but still an adventure into the unknown.
  4. Chapter 24, Game Controllers: This game is perfect for external game controllers; you’ll be adding a tvOS target and exploring how to use the Apple TV remote as a game controller.

Section VI: Bonus Chapters

And that’s not all – on top of the above, we have some bonus chapters for you!

In these bonus chapters, you’ll learn about some APIs other than Sprite Kit that are good to know when making games for iOS. In particular, you will learn how add Game Center leaderboards and achievements into your game, use the new iOS 9 ReplayKit API, and add iAds into your game.

Circuit Racer

In the process, you will integrate these APIs into a top-down racing game called Circuit Racer, where you take the role of an elite racecar driver out to set a world record. It would be no problem if it weren’t for the debris on the track!

You will work with this game across four chapters, in stages:

  1. Chapter 25, Game Center Achievements: Enable Game Center for your game and award the user achievements for accomplishing certain feats.
  2. Chapter 26, Game Center Leaderboards: Set up various leaderboards for your game and track and report the player’s scores.
  3. Chapter 27, ReplayKit: You’ll learn how to allow players to record and share videos of their games with iOS 9’s new ReplayKit.
  4. Chapter 28, iAd: You’ll learn how to integrate iAds into your game so you can have a nice source of revenue!

We have also included a bonus chapter about making your own game art:

  1. Chapter 29, Making Art for Programmers: If you liked the art in these mini-games and want to learn how to either hire an artist or make some art of your own, look no further than this chapter! This chapter guides you through drawing a cute cat in the style of this book with Illustrator.

Where To Go From Here?

Here’s how you can get your copy:

  • If you are an iOS Games by Tutorials Customer: We are offering this book at 50% off this new book to thank you for your support – check your email for a coupon code. If you don’t see it, check your spam or contact us.
  • If you preordered 2D iOS & tvOS Games by Tutorials : You can download the book immediately on your My Loot page.
  • If you don’t have the book yet: What are you waiting for – grab your copy now! :]

With the recent release of tvOS, you couldn’t ask for a better time to start learning how to make games – games feel simply incredible on the big screen and there are tons of new opportunities.

Prepare yourself for your own private tour on making 2D iOS and tvOS Games. Marin, Michael, Toby, Neil, Ali, Rod and I hope you enjoy the book!