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

Hello, The very last link of the page (illustration of Unity's game loop) is dead. https://gameprogrammingpatterns.com/game-loop.html#see-also Cheers

Under the **Where Are the State Objects?** heading, two sidenotes overlap, making both difficult to read. One mentions Flyweight pattern, the other is about state functions. ![image](https://user-images.githubusercontent.com/7102747/68558532-82378d80-03ee-11ea-8c14-3b7f0e20ad1c.png)

Thanks for this amazing resource! I'm a long-time coder but new game developer, and I'm learning so much from your book. For a while I was confused why some links...

At the section about entity components and memory handling there's basically two options proposed for accessing neighboring components. 1: full entities wherever you need them with pointers to each component....

I bought a PDF version of the book and there is no Table Of Contents. I mean the bookmarks, that usually appear in a PDF-reader on the side. I created...

When comparing if a Unit shares the same cell with Other Unit in the grid, the function handleCell compares Unit's 2D coords as double type. The Unit struct doesn't store...

Should "even through" be "even though" here? > Here, B is within A’s attack radius even **through** their centerpoints are in different cells. To handle this, we will need to...

Hi @munificent Regarding the following code snippet from chapter 2: ```cpp class MoveUnitCommand : public Command { public: MoveUnitCommand(Unit* unit, int x, int y) : unit_(unit), xBefore_(0), yBefore_(0), x_(x), y_(y)...

First off, kudos for such a well-written book. I have thoroughly enjoyed reading it. Just wanted to offer up something that you could add for history buffs: in chapter 20,...