IOS Swift game development cookbook : simple solutions for game development problems / Jonathon Manning and Paris Buttfield-Addison.

Saved in:
Bibliographic Details
Online Access: Full Text (via O'Reilly/Safari)
Main Authors: Manning, Jon (Author), Buttfield-Addison, Paris (Author)
Format: eBook
Language:English
Published: Beijing : O'Reilly Media, 2018.
Edition:3rd edition.
Subjects:
Table of Contents:
  • Cover; Copyright; Table of Contents; Preface; Audience; Organization of This Book; Additional Resources; Conventions Used in This Book; Using Code Examples; O'Reilly Safari; How to Contact Us; Acknowledgments; Chapter 1. Laying Out a Game; 1.1 Laying Out Your Engine; Problem; Solution; Discussion; 1.2 Creating an Inheritance-Based Game Layout; Problem; Solution; Discussion; 1.3 Creating a Component-Based Game Layout; Problem; Solution; Discussion; 1.4 Creating a Component-Based Game Layout Using GameplayKit; Problem; Solution; Discussion; 1.5 Calculating Delta Times; Problem; Solution.
  • Discussion1.6 Detecting When the User Enters and Exits Your Game; Problem; Solution; Discussion; 1.7 Updating Based on a Timer; Problem; Solution; Discussion; 1.8 Updating Based on When the Screen Updates; Problem; Solution; Discussion; 1.9 Pausing a Game; Problem; Solution; Discussion; 1.10 Calculating Time Elapsed Since the Game Start; Problem; Solution; Discussion; 1.11 Working with Closures; Problem; Solution; Discussion; 1.12 Writing a Method That Calls a Closure; Problem; Solution; Discussion; 1.13 Working with Operation Queues; Problem; Solution; Discussion.
  • 1.14 Performing a Task in the FutureProblem; Solution; Discussion; 1.15 Making Operations Depend on Each Other; Problem; Solution; Discussion; 1.16 Filtering an Array with Closures; Problem; Solution; Discussion; 1.17 Loading New Assets During Gameplay; Problem; Solution; Discussion; 1.18 Adding Unit Tests to Your Game; Problem; Solution; Discussion; 1.19 2D Grids; Problem; Solution; Discussion; 1.20 Using Randomization; Problem; Solution; Discussion; 1.21 Building a State Machine; Problem; Solution; Discussion; Chapter 2. Views and Menus; 2.1 Working with Storyboards; Problem; Solution.
  • 2.2 Creating View ControllersProblem; Solution; Discussion; 2.3 Using Segues to Move Between Screens; Problem; Solution; Discussion; 2.4 Using Constraints to Lay Out Views; Problem; Solution; Discussion; 2.5 Adding Images to Your Project; Problem; Solution; Discussion; 2.6 Slicing Images for Use in Buttons; Problem; Solution; Discussion; 2.7 Using UI Dynamics to Make Animated Views; Problem; Solution; Discussion; 2.8 Moving an Image with Core Animation; Problem; Solution; Discussion; 2.9 Rotating an Image View; Problem; Solution; Discussion; 2.10 Animating a Popping Effect on a View; Problem.
  • SolutionDiscussion; 2.11 Theming UI Elements with UIAppearance; Problem; Solution; Discussion; 2.12 Rotating a UIView in 3D; Problem; Solution; Discussion; 2.13 Overlaying Menus on Top of Game Content; Problem; Solution; Discussion; 2.14 Designing Effective Game Menus; Problem; Solution; Discussion; Chapter 3. Input; 3.1 Detecting When a View Is Touched; Problem; Solution; Discussion; 3.2 Responding to Tap Gestures; Problem; Solution; Discussion; 3.3 Dragging an Image Around the Screen; Problem; Solution; Discussion; 3.4 Detecting Rotation Gestures; Problem; Solution; Discussion.