Blogs / Personal blogs

I’m here to help! Game Programming Patterns is a collection of patterns I found in games that make code cleaner, easier to understand, and faster .

Popular posts
6
Total points
2,036
HN comments
434
Rank
#815 personal

Visit gameprogrammingpatterns.com → On Hacker News Mar 2014 – Aug 2020

Games & Graphics 6Software Engineering 5Systems & Performance 1

2

Game Loop

If there is one pattern this book couldn’t live without, this is it. Game loops are the quintessential example of a “game programming pattern”. Almost every game has one, no two are exactly alike, and relatively few programs outside of games use them.

3

Game Programming Patterns: Event Queue (2014)

Unless you live under one of the few rocks that still lack Internet access, you’ve probably already heard of an “event queue” . If not, maybe “message queue”, or “event loop”, or “message pump” rings a bell. To refresh your memory, let’s walk through a couple of common manifestations of the pattern.