Book description
"With Learn Sprite Kit for iOS Game Development, you'll discover how easy it is to create 2D games using the new Sprite Kit framework from Apple. You'll find how simple it is to create a scene, add animated sprites, incorporate edges, play sound effects, and create animated particles for special effects. You'll also use touch events to control your sprites, implement the built-in physics engine, handle sprite collisions and contacts, and much more.
To help you in learning how to use all these cool features of Sprite Kit, you'll follow along as we build a complete 2D game for iPhone. By the time you finish the book, you'll have made your own 2D game, and you'll have learned all you need to know to get started on your next masterpiece.
"Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: Hello World
-
Chapter 2: SKActions and SKTextures: Your First Animated Sprite
- Humble Beginnings
- Removing Unnecessary Tidbits
- Device Orientation
- Slight View Controller Changes
- More Unneeded Template Text
- Images Available for Download
- Background Color
- The Splash Screen
- Anchor Points
- Back to the Splash Screen
- Moving Between Scenes
- Creating a New Scene
- Animated Transitions Using SKActions
- Grouping Multiple Actions
- Animation Frames Using SKTextures
- Summary
- Chapter 3: Sprite Movement Responding to User Inputs
- Chapter 4: Edges, Boundaries, and Ledges
- Chapter 5: More Animated Sprites: “Enemies” and “Bonuses”
- Chapter 6: Creating a Cast of Characters
-
Chapter 7: Points and Scoring
- What’s the Point?
- Score Display
- SKLabelNode
- Custom Font Textures
- Status Bar = Off
- A Different Kind of Score
- Playing Sound Files
- CAF Audio Format
- Player Spawn Sound Effect
- Player Running Sound Effect
- Player Jumping Sound Effect
- Player Skidding Sound Effect
- Enemy Spawn Sound Effect
- Coin Spawn Sound Effect
- Summary
-
Chapter 8: Contacts and Collisions
- Didn’t You Cover this Already?
- Contacts vs. Collisions
- Grates
- Pipes
- Enemies that Occasionally Get Stuck
- Setting the Player’s Starting Location
- Collecting Coins
- Coin-Collection Sound Effect
- Coin Collection Point Display
- Particle Effects
- Coin Contact from Below the Ledges
- Ratz Contact from Below the Ledges
- Intersection Not Sensitive Enough
- Base Runners
- Player Kicking Enemies
- Ratz Collection Sound Effect
- Ratz Collection Point Display
- Kicked Off
- Into the River
- Enemies Kill Player
- Player Death Sound Effect
- Player Falls Off Ledge
- Player in the Water
- Summary
- Chapter 9: Add More Scenes and Levels
- Chapter 10: Where to Go from Here
- Index
Product information
- Title: Learn Sprite Kit for iOS Game Development
- Author(s):
- Release date: June 2014
- Publisher(s): Apress
- ISBN: 9781430264392
You might also like
book
Build iOS Games with Sprite Kit
Take your game ideas from paper to pixels using Sprite Kit, Apple's 2D game development engine. …
book
Beginning Swift Games Development for iOS
Game apps are one of the most popular categories in the Apple iTunes App Store. Well, …
book
Beginning Swift Games Development for iOS: Develop 2D and 3D games Using Apple's SceneKit and SpriteKit
Learn the fundamental elements of the new Swift 3 programming language as applied to game development …
book
Swift 3 Game Development - Second Edition
Embrace the mobile gaming revolution by creating popular iOS games with Swift 3.0 About This Book …