
- 300 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
iOS Game Programming Cookbook
Trusted by 375,005 students
Access to over 1 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
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
- iOS Game Programming Cookbook
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
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 990+ topics, we’ve got you covered! Learn about our mission
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 about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
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.