Cover image for iOS Game Development.
iOS Game Development.
Title:
iOS Game Development.
Author:
Alessi, Patrick.
ISBN:
9781118224083
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (435 pages)
Contents:
Beginning iOS Game Development -- About The Author -- Credits -- Acknowledgments -- Contents -- Introduction -- Part I: The Tools to Get Started -- Chapter 1: Games on Ios -- What Makes a Good iOS Game? -- Device Usage -- Use Unique Features of iOS -- Make Your Game Fun -- Graphics and Design -- Developing Your Idea -- Documenting Your Game -- Prototyping Your Game -- Preparing to Code -- Game-Related Frameworks -- Cocoa -- Drawing: UIKit and Core Graphics -- User Interaction: Cocoa Touch -- Animation: Core Animation -- Sound: Core Audio -- Game Kit -- Summary -- Chapter 2: The Xcode Programming Environment -- The Coding Environment -- Creating a Project -- Navigating Your Project -- The Navigator Area -- Navigating by Symbol -- Searching Your Code -- Viewing Code Issues -- Examining Logs -- Editing Your Code -- Code Coloring -- Indentation and Snippets -- Fix-it -- Integrated Help -- Using the Jump Bars -- The Assistant Editor -- Xcode Debugging Tools -- Breaking and Stepping through Your Code -- Additional Breakpoint Features -- Building a Simple Interface -- Summary -- Chapter 3: The C Programming Language -- Introducing C -- Variables and Expressions -- Data Types -- Variables -- Base Data Types -- Generating Output and Accepting Input -- Extending the Data Types -- Operators -- Assignment Operators -- Arithmetic Operators -- Relational Operators -- Logical Operators -- Scope -- Structures -- Arrays -- Loops -- for Loops -- while and do…while Loops -- break and continue -- Execution Flow and Decisions -- The if Statement -- The Conditional Operator -- Choosing an Option with switch -- Breaking Up Code with Functions -- Pointers -- A Game Example -- Summary -- Chapter 4: The Objective-C Programming Language -- Classes and Objects -- Instance Variables -- Methods and Messages -- Managing Memory -- Automatic Reference Counting -- Inheritance.

Building Subclasses from a Base Class -- Overriding Base Class Methods -- Polymorphism -- Building a Game in Objective-C -- Exposing Class Data with Properties -- Declaring a Property -- Accessing a Property -- Class Methods -- Implementing the MindPlayer -- Building the Game Loop -- Summary -- Chapter 5: The Cocoa Foundation Framework -- Model-View-Controller Architecture -- Your First iOS Game -- Building the UI -- Outlets and Actions -- Handling Text with NSString -- NSString Methods -- Mutable and Immutable Types -- String Comparison -- Collecting Objects with NSArray -- NSArray Methods -- Modifying Arrays by Using NSMutableArray -- Wrapping Numbers with NSNumber -- Other Collection Classes -- NSSet -- NSDictionary -- Building the Game Model -- Periodic Events and Timers -- Summary -- Part II: Game Building Blocks -- Chapter 6: Drawing With Uikit and Core Graphics -- Introducing the Drawing Frameworks -- UIKit -- Core Graphics -- The Drawing Environment -- The Graphics Context -- The UIView Coordinate System -- The drawRect: Method -- Drawing Shapes with UIBezierPath -- Specifying Colors with UIColor -- Advanced Drawing with Core Graphics -- Shadows -- Gradients -- Starting the Blocker Game with the BlockView -- Working with Images -- The Image Classes -- The View Hierarchy -- Animation and Timing with CADisplayLink -- Finishing the Blocker Game -- Summary -- Chapter 7: Responding to User Interaction -- Events in iOS -- The Event Architecture -- Event Objects -- Handling Multitouch Events -- Building a Simple Touch-Based Game: Simon Says -- Responding to Motion with the Accelerometer -- Recognizing Gestures -- Summary -- Chapter 8: Animating your Graphics -- Animating Images with UIImageView -- Introducing Core Animation -- A Brief Introduction to Blocks -- Animating UIView Properties and Transitions -- Property Animations.

Transition Animations -- Core Animation Basics -- Layer Layout -- Animatable Properties -- Layer Trees -- Summary -- Chapter 9: Making Noise With Ios Audio Apis -- Playing Simple Sounds with the System Sound Services -- Playing Sounds with the AV Foundation Framework -- The AVAudioPlayer Class -- Format and Performance Considerations -- Configuring the Audio Session -- Playing Multiple Sounds Simultaneously -- Looping Sounds -- Media Player Framework -- Summary -- Chapter 10: Building A Networked Game With Gamekit -- Introducing GameKit -- Starting Out -- Networking Your Game -- NSData and NSCoding -- Converting Classes to Data with Archives -- Connecting and Sending Data -- Running the Game -- Summary -- Appendix: Answers to Exercises -- Index -- Advertisements.
Abstract:
Get in the game and start building games for the iPhone or iPad! Whether you only have a little experience with iOS programming or even none at all, this accessible guide is ideal for getting started developing games for the iPhone and iPad. Experienced developer and author Patrick Alessi presents the iOS system architecture, gives you the step-by-step of game development, and introduces the languages used to develop games. From the basic building blocks to including drawing, responding to user interaction, animation, and sound, this book provides a one-stop-shop for getting your game up and running. Explores the tools and methodology used to develop games for the iPhone and iPad Requires no previous experience with building a game for the iOS platform Details how iOS games require different considerations than other applications Addresses working with the Xcode programming environment, how to draw with the Quartz 2D API, ways to handle user input, and techniques for incorporating animation with Core Animation and sound with Core Audio If you're ready to jump on the gaming app bandwagon, then this book is what you need to get started!.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: