iOS Game Programming Cookbook
eBook - ePub

iOS Game Programming Cookbook

Bhanu Birani, Chhavi Vaishnav

Share book
  1. 300 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

iOS Game Programming Cookbook

Bhanu Birani, Chhavi Vaishnav

Book details
Book preview
Table of contents
Citations

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is iOS Game Programming Cookbook an online PDF/ePUB?
Yes, you can access iOS Game Programming Cookbook by Bhanu Birani, Chhavi Vaishnav in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Graphics. We have over one million books available in our catalogue for you to explore.

Information

Year
2015
ISBN
9781784398255

iOS Game Programming Cookbook


Table of Contents

iOS Game Programming Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. iOS Game Development
Introduction
Getting started with the SpriteKit game framework
Getting ready
How to do it...
How it works...
Developing a mini game using SpriteKit
Getting ready
How to do it...
How it works...
2. SpriteKit
Introduction
Learning the basics of SpriteKit ā€“ The FlyingSpaceship tutorial
Getting ready
How to do it...
How it works...
There's more...
Understanding scenes, nodes, and sprites
Getting ready
How to do it...
How it works...
Anatomy of game projects
Getting ready
How to do it...
How it works...
Applying actions on sprites
Getting ready
How to do it...
How it works...
Adding infinite scrolling
Getting ready
How to do it...
How it works...
Moving characters
Getting ready
How to do it...
How it works...
There's more...
See also
3. Animations and Texture
Introduction
Animating your textures
Getting ready
How to do it...
How it works...
Creating a texture atlas
Getting ready
How to do it...
How it works...
There's more...
Adding animations using a texture atlas
Getting ready
How to do itā€¦
How it worksā€¦
Collision detection
Getting ready
How to do itā€¦
How it worksā€¦
Parallax background
Getting ready
How to do itā€¦
How it worksā€¦
4. Particle System and Game Performance
Introduction
Installation of the particle system
Getting ready
How to do it
How it works
There's more
See also
Using the particle system in games
Getting ready
How to do it
How it works
There's more
See also
Particle emitter integration
Getting ready
How to do it
How it works
There's more
See also
Game performance analysis
Getting ready
How to do it
Debug navigator
Instruments
There's more
See also
5. Adding Music to iOS Games and an Introduction to iCloud
Introduction
Adding music to games
Getting ready
How to do it...
System Sound Services
AVAudioPlayer
Audio Queue Services
How it worksā€¦
There's moreā€¦
See also
Adding background and sound effects
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Introduction to iCloud
Getting readyā€¦
How to do itā€¦
How it worksā€¦
There's moreā€¦
See alsoā€¦
Integration of iCloud with iOS games
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
6. Physics Simulation
Introduction
Introduction to physics simulation
Getting ready
How to do it...
Integrating physics engine with games
Getting ready...
How to do it...
How it worksā€¦
There's moreā€¦
Adding real-world simulation
How to do it...
7. Adding Reality to Games
Introduction
Creating physics bodies in the world
Getting ready
How to do it...
Physics joints
Getting ready
How to do itā€¦
Detecting contact and collisions
Getting ready
How to do itā€¦
8. Introduction to Game Math and Physics
Introduction
The Pythagorean theorem
Getting ready
How to do it
Using vectors
How to do it
How it works
Physics
How to do it
How it works
9. Autonomous Moving Agents
Introduction
Introduction to steering behaviors
Getting ready
How to do it
Implementing the seek
Getting ready
How to do it
There's more
Implementing flee
Getting ready
How to do it
There's more
Implementing arrive
Getting ready
How to do it
There's more
Implementing evade
Getting ready
How to do it
There's more
Implementing wander
Getting ready
How to do it
There's more
Implementing wall avoidance
Getting ready
How to do it
Obstacle avoidance
Getting ready
How to do it
There's more
10. 3D Game Programming with OpenGL
Introduction
Introducing OpenGL
Getting ready
How to do it
Building a mini 3D animation game using OpenGL
How to do it
See also
11. Getting Started with Multiplayer Games
Introduction
Anatomy of multiplayer games
Getting ready
How to do it...
How it works...
Setup for a multiplayer game
Getting ready
How to do it
How it works
Assigning roles to players
Getting ready
How to do it
How it works
There's more
See also
12. Implementing Multiplayer Games
Introduction
Creating our TankRace environment
Getting ready
How to do it
How it works
Movement of players
Getting ready
How to do it
How it works
Implementing game play
Getting ready
How to do it
How it works
There's more
See also
Index

iOS Game Programming Cookbook

Copyright Ā© 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: March 2015
Production reference: 1200315
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-825-5
www.packtpub.com
2323__perlego__chapt...

Table of contents