Unity Game Development Scripting
暫譯: Unity 遊戲開發腳本編寫
Kyle D'Aoust
- 出版商: Packt Publishing
- 出版日期: 2014-12-22
- 售價: $2,000
- 貴賓價: 9.5 折 $1,900
- 語言: 英文
- 頁數: 202
- 裝訂: Paperback
- ISBN: 1783553634
- ISBN-13: 9781783553631
-
相關分類:
遊戲引擎 Game-engine
海外代購書籍(需單獨結帳)
相關主題
商品描述
About This Book
- Write customizable scripts that are easy to adjust to suit the needs of different projects
- Combine your knowledge of modular scripting elements to build a complete game
- Build key game features, from player inventories to friendly and enemy artificial intelligence
Who This Book Is For
If you are new to Unity scripting and want to learn simple and modular code and advance your knowledge to the next level, this is the book for you.
What You Will Learn
- Include controls for both keyboard/mouse and the gamepad
- Create three different types of expandable items
- Implement an inventory that includes a hot key system
- Optimize your game's video and audio options
- Integrate a GUI HUD with buttons, health bars, and damage reports
- Make a complex AI system
- Save game data in multiple styles
- Track player statistics and scores
In Detail
The intuitive and powerful Unity game engine is one of the most widely used and best loved packages for game development. Unity scripting is an essential but challenging skill to master in order to create custom game elements. Learning modular scripting allows you to rewrite as little code as possible as you deploy your scripts to multiple projects and work easier, quicker, and more efficiently than before.
In each chapter of this book, you'll learn how to script new game elements. Beginning with making custom controls for the keyboard and mouse, as well as the Xbox 360 Controller, you'll then get to grips with more complex systems such as inventory, data saving, and artificial intelligence. As you create these elements, you'll also learn how to make your scripts simpler and easy to use. This will allow drag-and-drop deployment, which is to be used by designers and nonprogrammers. Finally, you'll combine all of your newfound skills to create your own complete game project.
商品描述(中文翻譯)
**撰寫高效的 C# 腳本以創建可用於任何 Unity 專案的模組化關鍵遊戲元素**
## 本書介紹
- 撰寫可自訂的腳本,易於調整以滿足不同專案的需求
- 結合模組化腳本元素的知識來構建完整的遊戲
- 建立關鍵遊戲功能,從玩家物品清單到友方和敵方人工智慧
## 本書適合誰
如果您是 Unity 腳本編寫的新手,並希望學習簡單且模組化的程式碼,並將您的知識提升到下一個層次,那麼這本書就是為您而寫的。
## 您將學到什麼
- 包含鍵盤/滑鼠和遊戲手把的控制
- 創建三種不同類型的可擴展物品
- 實現包含熱鍵系統的物品清單
- 優化遊戲的視訊和音訊選項
- 整合帶有按鈕、生命值條和傷害報告的 GUI HUD
- 建立複雜的 AI 系統
- 以多種樣式儲存遊戲數據
- 追蹤玩家統計數據和分數
## 詳細內容
直觀且強大的 Unity 遊戲引擎是最廣泛使用且最受喜愛的遊戲開發套件之一。Unity 腳本編寫是一項必不可少但具有挑戰性的技能,掌握它可以創建自訂的遊戲元素。學習模組化腳本編寫使您能夠在將腳本部署到多個專案時,盡可能少地重寫程式碼,並比以往更輕鬆、更快速和更高效地工作。
在本書的每一章中,您將學習如何編寫新的遊戲元素。從為鍵盤和滑鼠以及 Xbox 360 控制器製作自訂控制開始,然後您將掌握更複雜的系統,例如物品清單、數據儲存和人工智慧。在創建這些元素的同時,您還將學習如何使您的腳本更簡單且易於使用。這將允許拖放部署,供設計師和非程式設計師使用。最後,您將結合所有新學到的技能來創建自己的完整遊戲專案。