Learning Design Patterns with Unity: Craft reusable code with popular software design patterns and best practices in Unity and C#
暫譯: 使用 Unity 學習設計模式:在 Unity 和 C# 中運用流行的軟體設計模式與最佳實踐來編寫可重用的程式碼

Ferrone, Harrison

  • 出版商: Packt Publishing
  • 出版日期: 2024-05-31
  • 售價: $2,050
  • 貴賓價: 9.5$1,948
  • 語言: 英文
  • 頁數: 676
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 180512028X
  • ISBN-13: 9781805120285
  • 相關分類: C#遊戲引擎 Game-engineDesign Pattern
  • 海外代購書籍(需單獨結帳)

商品描述

Explore and implement design patterns, write cleaner code, and build efficient, reusable games to level up your game development skills.

Purchase of the print or Kindle book includes a free eBook in PDF format

Key Features:

- Solve common software development problems with popular design patterns like Prototype and Observer, all implemented in real Unity projects

- Write clean, reusable C# code using creational, behavioral, and structural patterns, tailored for the game development environment

- Go beyond basic pattern usage and learn to customize and extend them for your unique game design needs

Book Description:

Struggling to write maintainable and clean code for your Unity games? Look no further! Learning Design Patterns with Unity empowers you to harness the fullest potential of popular design patterns that will take your game development skills to the next level. With structured explanations backed with practical examples, you'll master creational patterns like Prototype to efficiently spawn enemies and delve into behavioral patterns like Observer to create reactive game mechanics. As you progress, you'll also identify the negative impacts of bad architectural decisions and understand how to overcome them with simple but effective practices.

By the end of this Unity book, the way you develop Unity games will change - you'll adapt a more structured, scalable, and optimized process that will help you make that next leap in your career

What You Will Learn:

- Implement a persistent game manager using the Singleton pattern

- Spawn projectiles with object pooling to optimize performance and memory usage

- Build a flexible crafting system using the Factory Method pattern

- Design an undo/redo system for player movement using the Command pattern

- Implement a state machine to control a two-person battle system

- Modify existing character objects with special abilities

Who this book is for:

This book is perfect for you if you are a Unity game developer who wants to learn industry standards for building Unity games. Knowledge of the Unity game engine and programming in the C# language is a must, so if you're a beginner, try Learning C# by Developing Games with Unity instead

商品描述(中文翻譯)

探索並實現設計模式,撰寫更乾淨的程式碼,並構建高效、可重用的遊戲,以提升您的遊戲開發技能。

購買印刷版或 Kindle 版書籍包括免費的 PDF 格式電子書

主要特點:
- 使用流行的設計模式(如 Prototype 和 Observer)解決常見的軟體開發問題,所有模式均在真實的 Unity 專案中實現
- 使用創建型、行為型和結構型模式撰寫乾淨、可重用的 C# 程式碼,專為遊戲開發環境量身定制
- 超越基本的模式使用,學習如何根據您的獨特遊戲設計需求自定義和擴展它們

書籍描述:
在為您的 Unity 遊戲撰寫可維護和乾淨的程式碼時感到困難嗎?不必再尋找了!《Learning Design Patterns with Unity》使您能夠充分利用流行的設計模式,將您的遊戲開發技能提升到新的高度。通過結構化的解釋和實用的範例,您將掌握創建型模式(如 Prototype),以有效生成敵人,並深入了解行為型模式(如 Observer),以創建反應式遊戲機制。隨著進展,您還將識別不良架構決策的負面影響,並了解如何通過簡單但有效的實踐來克服它們。

在這本 Unity 書籍結束時,您開發 Unity 遊戲的方式將會改變 - 您將適應一個更結構化、可擴展和優化的過程,幫助您在職業生涯中邁出下一步。

您將學到的內容:
- 使用 Singleton 模式實現持久的遊戲管理器
- 使用物件池生成彈藥,以優化性能和記憶體使用
- 使用工廠方法模式構建靈活的製作系統
- 使用命令模式設計玩家移動的撤銷/重做系統
- 實現狀態機以控制雙人戰鬥系統
- 修改現有角色物件以具備特殊能力

本書適合誰:
如果您是希望學習構建 Unity 遊戲的行業標準的 Unity 遊戲開發者,這本書非常適合您。必須具備 Unity 遊戲引擎的知識和 C# 語言的程式設計能力,因此如果您是初學者,建議先嘗試《Learning C# by Developing Games with Unity》。

最後瀏覽商品 (20)