iOS Swift Game Development Cookbook: Simple Solutions for Game Development Problems, 2/e (Paperback)

Jonathon Manning, Paris Buttfield-Addison

買這商品的人也買了...

商品描述

Ready to make amazing games for the iPhone, iPad, and iPod touch? With Apple’s Swift programming language, it’s never been easier. This updated cookbook provides detailed recipes for a managing wide range of common iOS game-development issues, ranging from 2D and 3D math to SpriteKit and OpenGL to performance—all revised for Swift.

You get simple, direct solutions to common problems found in iOS game programming. Need to figure out how to give objects physical motion, or want a refresher on gaming-related math problems? This book provides sample projects and straightforward answers. All you need to get started is some familiarity with iOS development, Swift, and Objective-C.

  • Design the architecture and code layout of your game
  • Build and customize menus with UIKit
  • Detect and respond to user input
  • Use techniques to play sound effects and music
  • Learn different ways to store information for later use
  • Create 2D graphics with SpriteKit
  • Create 3D graphics with SceneKit
  • Add two-dimensional physics simulation
  • Learn beginning, intermediate, and advanced 3D graphics with OpenGL
  • Create challenges with artificial intelligence
  • Take advantage of game controllers and external displays

商品描述(中文翻譯)

準備好為 iPhone、iPad 和 iPod touch 創造驚人的遊戲了嗎?有了蘋果的 Swift 程式語言,這變得更容易了。這本更新的食譜書提供了詳細的解決方案,用於處理各種常見的 iOS 遊戲開發問題,從 2D 和 3D 數學到 SpriteKit 和 OpenGL,再到性能 - 這些都是針對 Swift 進行了修訂。

您將獲得簡單直接的解決方案,用於解決 iOS 遊戲編程中常見的問題。需要弄清楚如何給物體提供物理運動,或者需要對遊戲相關的數學問題進行複習嗎?本書提供了示例項目和直接的答案。您只需要對 iOS 開發、Swift 和 Objective-C 有一些熟悉。

- 設計遊戲的架構和代碼佈局
- 使用 UIKit 構建和自定義菜單
- 檢測並響應用戶輸入
- 使用技術播放音效和音樂
- 學習不同的存儲信息的方法,以供以後使用
- 使用 SpriteKit 創建 2D 圖形
- 使用 SceneKit 創建 3D 圖形
- 添加二維物理模擬
- 學習 OpenGL 的初級、中級和高級 3D 圖形
- 使用人工智能創建挑戰
- 利用遊戲控制器和外部顯示器的優勢