Unity 5.x Cookbook (Paperback)
暫譯: Unity 5.x 食譜 (平裝本)

Matt Smith, Chico Queiroz

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

商品描述

Over 100 recipes exploring the new and exciting features of Unity 5 to spice up your Unity skillset

About This Book

  • Built on the solid foundation of the popular Unity 4.x Cookbook, the recipes in this edition have been completely updated for Unity 5
  • Features recipes for both 2D and 3D games
  • Provides you with techniques for the new features of Unity 5, including the new UI system, 2D game development, new Standard Shaders, and the new Audio Mixer

Who This Book Is For

From beginners to advanced users, from artists to coders, this book is for you and everyone in your team!

Programmers can explore multimedia features, and multimedia developers can try their hand at scripting. Basic knowledge and understanding of the Unity platform, game design principles, and programming knowledge in C# is essential.

What You Will Learn

  • Immerse players with great audio, utilizing Unity 5's audio features including the new Audio Mixer, ambient sound with Reverb Zones, dynamic soundtracks with Snapshots, and balanced audio via Ducking
  • Create better materials with Unity's new, physically-based, Standard Shader
  • Measure and control time, including pausing the game, displaying clocks and countdown timers, and even implementing “bullet time” effects
  • Improve ambiance through the use of lights and effects such as reflection and light probes
  • Create stylish user interfaces with the new UI system, including power-bars, clock displays, and an extensible inventory system
  • Save and load text and media assets from local or remote sources, publish your game via Unity Cloud, and communicate with websites and their databases to create online scoreboards
  • Discover advanced techniques, including the publisher-subscriber and state patterns, performance bottleneck identification, and methods to maximize game performance and frame rates
  • Control 2D and 3D character movement, and use NavMeshAgents to write NPC and enemy behaviors such as seek, flee, flock, and waypoint path following

In Detail

Unity 5 is a flexible and intuitive multiplatform game engine that is becoming the industry's de facto standard. Learn to craft your own 2D and 3D computer games by working through core concepts such as animation, audio, shaders, GUI, lights, cameras, and scripting to create your own games with Unity 5.

Completely re-written to cover the new features of Unity 5, this book is a great resource for all Unity game developers, from those who have recently started using Unity right up to Unity professionals.

The first half of the book focuses on core concepts of 2D game design while the second half focuses on developing 3D game development skills. In the first half, you will discover the new GUI system, the new Audio Mixer, external files, and animating 2D characters in 2D game development. As you progress further, you will familiarize yourself with the new Standard Shaders, the Mecanim system, Cameras, and the new Lighting features to hone your skills towards building 3D games to perfection. Finally, you will learn non-player character control and explore Unity 5's extra features to enhance your 3D game development skills.

Style and approach

Each chapter first introduces the topic area and explains how the techniques covered can enhance your games. Every recipe provides step-by-step instructions, followed by an explanation of how it all works, and useful additional refinements or alternative approaches. Every required resource and C# script (fully commented) is available to download, enabling you to follow each recipe yourself.

商品描述(中文翻譯)

超過 100 個食譜,探索 Unity 5 的新功能,為您的 Unity 技能增添色彩

本書介紹


  • 基於受歡迎的 Unity 4.x 食譜的堅實基礎,本版的食譜已完全更新為 Unity 5

  • 包含 2D 和 3D 遊戲的食譜

  • 提供 Unity 5 新功能的技術,包括新的 UI 系統、2D 遊戲開發、新的標準著色器和新的音頻混音器

本書適合對象

從初學者到進階用戶,從藝術家到程式設計師,本書適合您和您團隊中的每一位成員!

程式設計師可以探索多媒體功能,而多媒體開發者可以嘗試編寫腳本。對 Unity 平台、遊戲設計原則的基本知識和 C# 的程式設計知識是必需的。

您將學到什麼


  • 利用 Unity 5 的音頻功能,讓玩家沉浸在優秀的音效中,包括新的音頻混音器、帶有混響區的環境音、動態音樂和通過音量調整平衡音頻

  • 使用 Unity 的新物理基礎標準著色器創建更好的材質

  • 測量和控制時間,包括暫停遊戲、顯示時鐘和倒計時器,甚至實現「子彈時間」效果

  • 通過使用燈光和效果(如反射和光探針)來改善氛圍

  • 使用新的 UI 系統創建時尚的用戶界面,包括能量條、時鐘顯示和可擴展的庫存系統

  • 從本地或遠程來源保存和加載文本和媒體資產,通過 Unity Cloud 發佈您的遊戲,並與網站及其數據庫進行通信以創建在線排行榜

  • 發現高級技術,包括發布-訂閱模式和狀態模式、性能瓶頸識別,以及最大化遊戲性能和幀率的方法

  • 控制 2D 和 3D 角色的移動,並使用 NavMeshAgents 編寫 NPC 和敵人的行為,如尋找、逃跑、聚集和路徑跟隨

詳細內容

Unity 5 是一個靈活且直觀的多平台遊戲引擎,正成為行業的事實標準。通過學習動畫、音頻、著色器、GUI、燈光、相機和腳本等核心概念,來製作您自己的 2D 和 3D 電腦遊戲。

本書完全重寫以涵蓋 Unity 5 的新功能,是所有 Unity 遊戲開發者的絕佳資源,無論是剛開始使用 Unity 的新手,還是 Unity 專業人士。

本書的前半部分專注於 2D 遊戲設計的核心概念,而後半部分則專注於開發 3D 遊戲的技能。在前半部分,您將發現新的 GUI 系統、新的音頻混音器、外部文件以及在 2D 遊戲開發中為 2D 角色進行動畫製作。隨著進一步的學習,您將熟悉新的標準著色器、Mecanim 系統、相機和新的燈光功能,提升您構建 3D 遊戲的技能。最後,您將學習非玩家角色的控制,並探索 Unity 5 的額外功能,以增強您的 3D 遊戲開發技能。

風格與方法

每一章首先介紹主題區域,並解釋所涵蓋的技術如何增強您的遊戲。每個食譜提供逐步指導,隨後解釋其運作原理,以及有用的附加改進或替代方法。每個所需資源和 C# 腳本(完整註解)均可下載,讓您能夠自己跟隨每個食譜。