Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Using Design Patterns in Game Development

ginotria
November 18, 2011

Using Design Patterns in Game Development

What is a design Pattern and why should we care using it especially in game development.

ginotria

November 18, 2011
Tweet

More Decks by ginotria

Other Decks in Programming

Transcript

  1. A Design Pattern is essentially a description of a commonly

    occurring object- oriented design problem and how to solve it .
  2. 1. Code is duplicated across subclasses 1. Runtime behavior changes

    are difficult. 1. Changes can unintentionally affect other ducks Disadvantages of using Inheritance for providing Duck Behavior
  3. Why Patterns Matter • Common language • Speed up your

    development • Preexisting documentation • Refine your solutions • Explains the why
  4. More Patterns !!! • State • Composite • Bridge •

    Proxy • Interpreter • Builder • Abstract Factory • Memento • Prototype • Visitor • Mediator • Chain of Responsibility • Flyweight • MVC
  5. “Life belongs to the living, and he who lives must

    be prepared for changes.” Johann Wolfgang von Goethe