Swift Game Development - Third Edition
Siddharth Shekar, Stephen Haney
- 出版商: Packt Publishing
- 出版日期: 2018-09-28
- 售價: $1,970
- 貴賓價: 9.5 折 $1,872
- 語言: 英文
- 頁數: 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 的引入。這個新版本允許我們集成共享體驗,例如多人增強現實和與特定位置相關的持久增強現實,以便在所有連接的設備上複製相同的信息。在下一部分中,我們將深入介紹使用 SpriteKit 和 SceneKit 創建增強現實遊戲。最後,我們將看到如何創建一個 Multipeer AR 項目,以連接兩個設備,並實時在這些設備之間發送和接收數據。
通過閱讀本書,您將能夠使用 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. Multipeer 增強現實