Build iOS Games with Sprite Kit: Unleash Your Imagination in Two Dimensions
- Length: 216 pages
- Edition: 1
- Language: English
- Publisher: Pragmatic Bookshelf
- Publication Date: 2014-07-27
- ISBN-10: 1941222102
- ISBN-13: 9781941222102
- Sales Rank: #2870982 (See Top 100 Books)
For beginning iOS developers who want to write games and interactive applications.
Take your game ideas from paper to pixels using Sprite Kit, Apple’s 2D game development engine. Build two exciting games using Sprite Kit and learn real-world, workshop-tested insights about game design, including cognitive complexity, paper prototyping, and levels of fun. You’ll learn how to implement sophisticated game features such as obstacles and weapons, power-ups and variable difficulty, physics, sound, special effects, and both single- and two-finger control. In no time, you’ll be building your own thrilling iOS games.
Power up your inner game developer and start building incredible games with Sprite Kit. This book will teach you everything you need to know about Apple’s 2D game engine. If you have some programming experience but you’re new to game development, you’ll hit the ground running, no complex tools required–just the Sprite Kit SDK.
You’ll start out fast by building a single-finger infinite runner game, where the goal is to stay alive as long as possible and rack up points. You’ll explore the Sprite Kit template, actions, and particle editor and watch your game take shape with an armed player ship, asteroids and enemy ships, explosions, power-ups, and variable difficulty. Then you’ll stitch the game together with cutscenes, menus, and scoring.
Next, you’ll build a classic pinball game with all the fun and physics of the real thing. You’ll discover the powerful Sprite Kit physics engine and enhance your game with gravity, friction, ricochets, and spin physics, as well as sound effects, bonus scoring, and special effects. Plus, this game features two-finger control.
Dust off those game ideas you’ve been tucking away and let your imagination bring them to life. This book will show you how.
What You Need:
You need a computer running Mac OS X Mavericks and Xcode 5.
Table of Contents
Chapter 1. Introduction to Sprite Kit
Chapter 2. Actions: Go, Sprite, Go!
Chapter 3. Explosions and Particle Effects
Chapter 4. Menus and Cutscenes
Chapter 5. Keeping Score with a Heads-Up Display
Chapter 6. Pinball Physics 101
Chapter 7. More Physics: Paddles and Collisions
Chapter 8. Polishing the Pinball Game
Chapter 9. Where to Go Next