About 106 results
Open links in new tab
  1. Game Programming Patterns

    Wonder if and how design patterns apply to games? Hear things like “cache coherency” and “object pools”, but don’t know how to use them to make your game faster? I’m here to help!

  2. Dirty Flag · Optimization Patterns - Game Programming Patterns

    This pattern works by avoiding processing derived data when a subsequent primary data change would invalidate it before it gets used. If you find yourself always needing that derived data …

  3. Type Object · Behavioral Patterns - Game Programming Patterns

    The Type Object pattern lets us build a type system as if we were designing our own programming language. The design space is wide open, and we can do all sorts of interesting …

  4. Prototype · Design Patterns Revisited - Game Programming Patterns

    It’s a particularly good fit for data in games where you often have one-off special entities in the game world. Think about bosses and unique items. These are often refinements of a more …

  5. Architecture, Performance, and Games - Game Programming …

    This feeling is exactly why people get excited about abstraction, modularity, design patterns, and software architecture. A well-architected program really is a joyful experience to work in, and …

  6. Double Buffer · Sequencing Patterns - Game Programming Patterns

    You can find the Double Buffer pattern in use in almost every graphics API out there. For example, OpenGL has swapBuffers() , Direct3D has “swap chains”, and Microsoft’s XNA …

  7. How it Relates to Design Patterns Any programming book with “Patterns” in its name clearly bears a relationship to the classic Design Patterns: Elements of Reusable Object-Oriented Software …

  8. Subclass Sandbox - Game Programming Patterns

    The Subclass Sandbox pattern is a very simple, common pattern lurking in lots of codebases, even outside of games. If you have a non-virtual protected method laying around, you’re …

  9. Data Locality - Game Programming Patterns

    Noel Llopis’ famous article that got a lot more people thinking about designing games around cache usage calls this “data-oriented design”. How do you handle polymorphism? Up to this …

  10. Update Method - Game Programming Patterns

    In this pattern, the game loops over a collection of objects and updates each one. Inside the update() call, most objects are able to reach out and touch the rest of the game world, …

Refresh