Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering iOS Game Development

You're reading from   Mastering iOS Game Development Mastering iOS Game Development

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher Packt
ISBN-13 9781783554355
Length 228 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Peter Ahlgren Peter Ahlgren
Author Profile Icon Peter Ahlgren
Peter Ahlgren
Miguel DeQuadros Miguel DeQuadros
Author Profile Icon Miguel DeQuadros
Miguel DeQuadros
Arrow right icon
View More author details
Toc

Chapter 4. Let's Keep Going! Adding More Functionality

We got a lot accomplished in the last chapter! We figured out level creation, importing our levels into Xcode and getting them and our player all showing up in our game. Are you well rested and ready to tackle even more programming awesomeness? Let's see what we will do in this chapter:

  • Adding awesome sound effects
  • Character animations
  • Playing with particles
  • Menus
  • Adding some enemies

Our game looks pretty awesome, but there's still tons of work to be completed before we can even remotely consider releasing it!

Let's get into it, shall we?

First things first, we ended the last chapter we had just discussed winning the level, and dying during the level, however if you tested it and you died or beat the level and clicked on the replay button, did the game crash? That's because we need to add one final method:

- (void)replay:(id)sender
{
    [[self.view viewWithTag:321] removeFromSuperview];
    [self.view presentScene...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime