Swift Game Development - Third Edition
暫譯: Swift 遊戲開發 - 第三版
Siddharth Shekar, Stephen Haney
- 出版商: Packt Publishing
- 出版日期: 2018-09-28
- 售價: $2,000
- 貴賓價: 9.5 折 $1,900
- 語言: 英文
- 頁數: 434
- 裝訂: Paperback
- ISBN: 1788471156
- ISBN-13: 9781788471152
-
相關分類:
Apple Developer
海外代購書籍(需單獨結帳)
相關主題
商品描述
Embrace the mobile gaming revolution by creating popular iOS games with Swift 4.2
Key Features
- Learn to create games for iPhone and iPad with the latest Swift Programming language
- Understand the fundamental concepts of game development like game physics, camera action, sprites, controls, among others
- Build Augmented reality games using ARKit for true performance
Book Description
Swift is the perfect choice for game development. Developers are intrigued by Swift and want to make use of new features to develop their best games yet. Packed with best practices and easy-to-use examples, this book leads you step by step through the development of your first Swift game.
The book starts by introducing Swift's best features – including its new ones for game development. Using SpriteKit, you will learn how to animate sprites and textures. Along the way, you will master physics, animations, and collision effects and how to build the UI aspects of a game. You will then work on creating a 3D game using the SceneKit framework. Further, we will look at how to add monetization and integrate Game Center. With iOS 12, we see the introduction of ARKit 2.0. This new version allows us to integrate shared experiences such as multiplayer augmented reality and persistent AR that is tied to a specific location so that the same information can be replicated on all connected devices. In the next section, we will dive into creating Augmented Reality games using SpriteKit and SceneKit. Then, finally, we will see how to create a Multipeer AR project to connect two devices, and send and receive data back and forth between those devices in real time.
By the end of this book, you will be able to create your own iOS games using Swift and publish them on the iOS App Store.
What you will learn
- Deliver powerful graphics, physics, and sound in your game by using SpriteKit and SceneKit
- Set up a scene using the new capabilities of the scene editor and custom classes
- Maximize gameplay with little-known tips and strategies for fun, repeatable action
- Make use of animations, graphics, and particles to polish your game
- Understand the current mobile monetization landscape
- Integrate your game with Game Center
- Develop 2D and 3D Augmented Reality games using Apple's new ARKit framework
- Publish your game to the App Store
Who this book is for
If you wish to create and publish iOS games using Swift, then this book is for you. No prior game development or experience with Apple ecosystem is needed.
Table of Contents
- Designing Games with Swift
- Sprites, Camera, Action
- Mix in the Physics
- Adding Controls
- Spawning Enemies, Coins, and Power-ups
- Generating a Never-Ending World
- Implementing Collision Events
- Polishing to a Shine
- Adding Menus and Sounds
- Advanced Features
- Introduction to SceneKit
- Choosing a Monetization Strategy
- Integrating with Game Center
- Introduction to SpirteKit in ARKit
- Introduction to SceneKit in ARKit
- Preparing for the App Store and Publication
- Multipeer Augmented Reality
商品描述(中文翻譯)
**擁抱行動遊戲革命,使用 Swift 4.2 創建受歡迎的 iOS 遊戲**
#### 主要特點
- 學習使用最新的 Swift 程式語言為 iPhone 和 iPad 創建遊戲
- 理解遊戲開發的基本概念,如遊戲物理、相機動作、精靈、控制等
- 使用 ARKit 建立增強現實遊戲以獲得真實性能
#### 書籍描述
Swift 是遊戲開發的完美選擇。開發者對 Swift 感到興趣,並希望利用新功能來開發他們最好的遊戲。本書充滿最佳實踐和易於使用的範例,將一步步引導您開發您的第一個 Swift 遊戲。
本書首先介紹 Swift 的最佳特性,包括其在遊戲開發中的新特性。使用 SpriteKit,您將學習如何動畫化精靈和紋理。在此過程中,您將掌握物理、動畫和碰撞效果,以及如何構建遊戲的 UI 方面。接著,您將使用 SceneKit 框架創建 3D 遊戲。此外,我們將探討如何添加貨幣化並整合 Game Center。隨著 iOS 12 的推出,我們看到了 ARKit 2.0 的引入。這個新版本允許我們整合共享體驗,例如多人增強現實和與特定位置相關的持久 AR,以便在所有連接的設備上複製相同的信息。在接下來的部分,我們將深入探討如何使用 SpriteKit 和 SceneKit 創建增強現實遊戲。最後,我們將看到如何創建一個多對多增強現實項目,以連接兩個設備,並在這些設備之間實時發送和接收數據。
在本書結束時,您將能夠使用 Swift 創建自己的 iOS 遊戲並將其發佈到 iOS App Store。
#### 您將學到什麼
- 使用 SpriteKit 和 SceneKit 在遊戲中提供強大的圖形、物理和聲音
- 使用場景編輯器的新功能和自定義類別設置場景
- 利用鮮為人知的提示和策略最大化遊戲玩法,實現有趣且可重複的動作
- 利用動畫、圖形和粒子來潤飾您的遊戲
- 理解當前的行動貨幣化格局
- 將您的遊戲與 Game Center 整合
- 使用 Apple 的新 ARKit 框架開發 2D 和 3D 增強現實遊戲
- 將您的遊戲發佈到 App Store
#### 本書適合誰
如果您希望使用 Swift 創建和發佈 iOS 遊戲,那麼這本書適合您。無需先前的遊戲開發或 Apple 生態系統的經驗。
#### 目錄
1. 使用 Swift 設計遊戲
2. 精靈、相機、動作
3. 混合物理
4. 添加控制
5. 生成敵人、硬幣和增強道具
6. 生成無盡的世界
7. 實現碰撞事件
8. 磨光到閃亮
9. 添加菜單和聲音
10. 進階特性
11. SceneKit 介紹
12. 選擇貨幣化策略
13. 與 Game Center 整合
14. ARKit 中的 SpriteKit 介紹
15. ARKit 中的 SceneKit 介紹
16. 準備 App Store 和發佈
17. 多對多增強現實