game-programming-patterns icon indicating copy to clipboard operation
game-programming-patterns copied to clipboard

Source repo for the book

Results 103 game-programming-patterns issues
Sort by recently updated
recently updated
newest added

The hot piece is the main AI component. It’s the one we need to use the most, so we don’t want to chase a pointer to find it. The cold...

From Adolfo Ochagavía, this example isn't thead-safe: ```c++ class FileSystem { public: FileSystem() { assert(!instantiated_); instantiated_ = true; } ~FileSystem() { instantiated_ = false; } private: static bool instantiated_; };...

Something to consider for a second edition. Suggested by Nickolai Belakovski.

Michael Bradvica suggested either of those as alternatives to service locators.

In web version of your book activate method is sometimes protected ``` class Superpower { protected: SoundPlayer& getSoundPlayer() { return soundPlayer_; } // Sandbox method and other operations...

First, thanks for the great resource, I often use it to refresh my memory, and to help explain patterns to my coleagues. In the chapter on the service locator pattern,...

Hi, Bob Nystrom. I really like your book, and translate this book into chinese version. And just like you, I put it on github: https://github.com/tkchushbm/Game-Programming-Patterns-CN I hope this does not...

Hi Bob. If you try to make your book at Python 3 environment you got some issues. To fix they you must made some change and now I present it...

Added public keyword for Subject class

The link to "The Universal Design Pattern" in the Prototype chapter on Kindle links to: http://steve-yegge.blogspot.com/2008/10/universal-design-patter%0An.html instead of http://steve-yegge.blogspot.com/2008/10/universal-design-pattern.html