Game Development Patterns and Best Practices
暫譯: 遊戲開發模式與最佳實踐

John P. Doran, Matt Casanova

  • 出版商: Packt Publishing
  • 出版日期: 2017-04-25
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 394
  • 裝訂: Paperback
  • ISBN: 1787127834
  • ISBN-13: 9781787127838
  • 海外代購書籍(需單獨結帳)

商品描述

Utilize proven solutions to solve common problems in game development

About This Book

  • Untangle your game development workflow, make cleaner code, and create structurally solid games
  • Implement key programming patterns that will enable you to make efficient AI and remove duplication
  • Optimize your game using memory management techniques

Who This Book Is For

If you are a game developer who wants to solve commonly-encountered issues or have some way to communicate to other developers in a standardized format, then this book is for you. Knowledge of basic game programming principles and C++ programming is assumed.

What You Will Learn

  • Learn what design patterns are and why you would want to use them
  • Reduce the maintenance burden with well-tested, cleaner code
  • Employ the singleton pattern effectively to reduce your compiler workload
  • Use the factory pattern to help you create different objects with the same creation logic and reduce coding time
  • Improve game performance with Object Pools
  • Allow game play to interact with physics or graphics in an abstract way
  • Refractor your code to remove common code smells

In Detail

You've learned how to program, and you've probably created some simple games at some point, but now you want to build larger projects and find out how to resolve your problems. So instead of a coder, you might now want to think like a game developer or software engineer. To organize your code well, you need certain tools to do so, and that's what this book is all about.

You will learn techniques to

商品描述(中文翻譯)

利用經驗證的解決方案來解決遊戲開發中的常見問題

本書簡介



  • 理清您的遊戲開發工作流程,編寫更乾淨的代碼,並創建結構穩固的遊戲

  • 實現關鍵的程式設計模式,使您能夠製作高效的人工智慧並消除重複代碼

  • 使用記憶體管理技術來優化您的遊戲

本書適合誰


如果您是一位遊戲開發者,想要解決常見的問題或有某種方式以標準化格式與其他開發者溝通,那麼這本書適合您。本書假設您具備基本的遊戲程式設計原則和 C++ 程式設計的知識。

您將學到什麼



  • 了解什麼是設計模式以及為什麼您會想使用它們

  • 通過經過良好測試的、更乾淨的代碼來減少維護負擔

  • 有效地使用單例模式以減少編譯器的工作量

  • 使用工廠模式幫助您以相同的創建邏輯創建不同的對象,並減少編碼時間

  • 通過物件池改善遊戲性能

  • 以抽象的方式允許遊戲玩法與物理或圖形互動

  • 重構您的代碼以消除常見的代碼異味

詳細內容


您已經學會了如何編程,並且可能在某個時候創建了一些簡單的遊戲,但現在您想要構建更大的項目並找出如何解決您的問題。因此,您可能不再只是編碼者,而是想要像遊戲開發者或軟體工程師一樣思考。要妥善組織您的代碼,您需要某些工具來實現,這就是本書的主題。


您將學習技術來