Unity Game Development Scripting

Kyle D'Aoust

  • 出版商: Packt Publishing
  • 出版日期: 2014-12-22
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 202
  • 裝訂: Paperback
  • ISBN: 1783553634
  • ISBN-13: 9781783553631
  • 相關分類: 遊戲引擎 Game-engine
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Write efficient C# scripts to create modular key game elements that are usable for any kind of Unity project

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.