Game Programming Patterns (Paperback)

Robert Nystrom

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

商品描述

The biggest challenge facing many game programmers is completing their game. Most game projects fizzle out, overwhelmed by the complexity of their own code. Game Programming Patterns tackles that exact problem. Based on years of experience in shipped AAA titles, this book collects proven patterns to untangle and optimize your game, organized as independent recipes so you can pick just the patterns you need.

You will learn how to write a robust game loop, how to organize your entities using components, and take advantage of the CPUs cache to improve your performance. You'll dive deep into how scripting engines encode behavior, how quadtrees and other spatial partitions optimize your engine, and how other classic design patterns can be used in games.

商品描述(中文翻譯)

許多遊戲程式設計師面臨的最大挑戰是完成他們的遊戲。許多遊戲專案因為程式碼的複雜性而逐漸失去動力。《遊戲程式設計模式》正是針對這個問題而寫的。本書基於多年在AAA級遊戲中的經驗,收集了一系列經過驗證的模式,以解開和優化你的遊戲,並以獨立的配方方式組織,讓你可以選擇所需的模式。

你將學習如何撰寫強健的遊戲迴圈,如何使用組件來組織實體,並利用CPU的快取來提升性能。你將深入研究腳本引擎如何編碼行為,四叉樹和其他空間分割如何優化你的引擎,以及其他經典設計模式如何應用於遊戲中。