Learning ObjectiveC by Developing iPhone Games

Learning ObjectiveC by Developing iPhone Games

Language: English

Pages: 284

ISBN: 1849696101

Format: PDF / Kindle (mobi) / ePub


Leverage Xcode and ObjectiveC to develop iPhone games

About This Book

  • Get started with the Xcode development environment
  • Dive deep into programming with Objective-C
  • A practical and engaging tutorial to create vintage games such as Space Invaders and Galaga

Who This Book Is For

If you are a beginner and an enthusiast who dreams about creating games and is in need of some additional inspiration and knowledge, then this book is for you. No programming experience is expected.

What You Will Learn

  • Understand the basics of Objective-C and develop code in the iOS language
  • Set up multiple screens in iOS and make easy transitions from one screen to another
  • Create a simple audio-based memory game using basic game logic
  • Display a background image for your game and program your aliens to drop bombs
  • Build a simple user interface using Xcode's interface builder
  • Program your graphics to move using buttons, gestures, and multitouch interactivity
  • Overcome common issues that developers run in to at one point or another
  • Explore the Apple Store and iTunes Connect's submission process and prepare your app for distribution

In Detail

The introduction of the Apple Store has empowered thousands, even millions of people to embrace software development. Using Objective-C and the Xcode IDE, you can produce awesome games and launch them on the Apple Store allowing you to make and sell games quickly and easily.

From learning the basics of Objective-C to deploying to the App Store, you'll use this book to learn about game development in a matter-of-fact, helpful manner. Whether you're new to game development, or just want to learn how to leverage Apple's own tools to expand your skill set, you'll quickly move from a beginner to an expert.

The book kicks off with the basics of game development, and you will take your first steps with using Xcode, the official Apple programming IDE, before moving on to the most important concepts involved in programming games using Objective-C. This book is a hands-on guide to developing the game of your dreams in no time for the Apple Store.

The Art of Debugging with GDB, DDD, and Eclipse

Idea to iPhone: The essential guide to creating your first app for the iPhone and iPad

Advanced Apex Programming for Salesforce.com and Force.com (3rd Edition)

Beginning Windows Phone App Development

Original Wisdom: Stories of an Ancient Way of Knowing

 

 

 

 

 

 

 

 

 

 

 

 

 

keeping track of it with this player rather than from GameViewController. Since the player shot the bullet, we want to make sure the correct PlayerObject will get the information when an enemy gets hit. Now, let's take a look at the new PlayerObject implementation file. We are passing the gameView object by using the same technique we used with the enemy object. When we create our self.playerView object, we are using [UIImageView alloc]; the alloc keyword is used for allocation. When we create a

book, we have a number of things to help you to get the most from your purchase. Downloading the example code You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you. Errata Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake

going to create four invisible buttons for the user to tap to select a color. No name will be given for the text but they are going to have tag numbers so that we can distinguish them in the code. Tags are a very useful way to pass information into your code from the view level of your project. Drag a button out from your object library. In your attributes inspector under View, set the Tag number to 1, then in your size inspector, set the size information as follows: X to 20, Y to 30, Width to

Gesture Recognizer classes from Apple, and they work on all iOS devices. These gestures are tap, pinch, rotate, swipe, pan, and long press. You will see all of the following items listed in your Object Library: Tap: This is a simple touch and release on the screen. A tap may also include multiple taps.Pinch: This is a gesture involving a two-finger touch and dragging of your fingers together or apart.Rotate: This is a gesture involving a two finger-touch and rotation of your fingers in a

information and then hit Continue.On the Select your program page, check the box for the iOS Developer Program and any other developer programs you would like to join and then hit the Continue button. On the Review your enrollment information and submit page, take a look through all of the information you have provided and make changes where necessary or click on the Place Order Now button to go to the next screen.In the Program License Agreement page, read through the license agreements and

Download sample

Download