Beginning Swift Games Development for iOS (Paperback)

James Goodwill, Wesley Matlock

  • 出版商: Apress
  • 出版日期: 2015-03-25
  • 售價: $1,460
  • 貴賓價: 9.5$1,387
  • 語言: 英文
  • 頁數: 276
  • 裝訂: Paperback
  • ISBN: 1484204018
  • ISBN-13: 9781484204016
  • 相關分類: Apple Developer
  • 已絕版



Game apps are one of the most popular categories in the Apple iTunes App Store. Well, the introduction of the new Swift programming language will make game development even more appealing and easier to existing and future iOS app developers. In response, James Goodwill and Apress introduce you to this book, Beginning Swift Games Development for iOS. In this book, you'll learn the fundamental elements of the new Swift language as applied to game development for iOS.

In part 1, you'll start with a basic 2D game idea and build the game throughout the book introducing each SpriteKit topic as we add new functionality to the game. By the end of the book, you'll have experience with all the important SpriteKit topics and have a fully functional game as a result. In part 2 of this book, you'll learn 3D game development using Apple's SceneKit framework and the Swift programming language. And, you'll follow the same pattern we used for part 1.

After reading and using this book, you'll have the skills and the code to build your first 2D and then 3D game app that you can run on any iOS enabled device and perhaps sell in the Apple iTunes App Store.

What you’ll learn

  • What is the Swift Programming Language
  • How to apply it to iOS game development
  • How to use SpriteKit with Swift
  • How to use SceneKit with Swift
  • How to build your first 2D game app using SpriteKit and Swift
  • How to build 3D game from 2D using SceneKit and Swift

Who this book is for

This book is for iOS app developers new to Swift or for those thinking of doing iOS game app development for the very first time.

Table of Contents

Part I

1. Setting up your First Game Scene and Adding your First Sprite

2. Digging into the SpriteKit Scene

3. Physics and Collision Detection

4. Adding Scene Scrolling and Game Control

5. Actions and Animations

6. Adding Particle Effects to Your Game with Emitter Nodes

7. Points, Scoring and Sounds

8. Transitioning Between Scenes

9. Refactoring and Best Practices

Part II

10. Creating Your First SceneKit Project

11. Building the Scene

12. Lighting, Camera and Materials in SceneKit

13. Animating SceneKit Models

14. Adding Hit Testing and Collision Detection

15. Using SpriteKit within a SceneKit Scene

16. Advanced Topics and Tips

17. Appendix A: The Swift Programming Language