Game Programming Patterns by Robert Nystrom - Design Patterns and Advice

Game Programming Patterns by Robert Nystrom - Design Patterns and Advice
Slide Note
Embed
Share

This content explores design patterns in game programming, discussing common patterns like Observer, Singleton, and more. It also provides practical advice on program development and optimization.

  • Game Programming
  • Design Patterns
  • Software Development
  • Optimization
  • Programming Advice

Uploaded on Mar 05, 2025 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Game Programming Patterns From the book by Robert Nystrom http://gameprogrammingpatterns.com

  2. What is a design pattern? Wikipedia: a general reusable solution to a commonly occurring problem within a given context in software design. Design Patterns: Elements of Reusable Object- Oriented Software, by Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1995).

  3. A few bits of advice that I hope may be useful to you: Abstraction and decoupling make evolving your program faster and easier, but don t waste time doing them unless you re confident the code in question needs that flexibility. Think about and design for performance throughout your development cycle, but put off the low-level, nitty-gritty optimizations that lock assumptions into your code until as late as possible. Move quickly to explore your game s design space, but don t go so fast that you leave a mess behind you. You ll have to live with it, after all. If you are going to ditch code, don t waste time making it pretty. Rock stars trash hotel rooms because they know they re going to check out the next day. But, most of all, if you want to make something fun, have fun making it.

  4. Nystroms book discusses 19 patterns: Design Patterns Revisited Command Flyweight Observer Prototype Singleton State Optimization Patterns Data Locality Dirty Flag Object Pool Spatial Partition Sequencing Patterns Double Buffer Game Loop Update Method Decoupling Patterns Component Event Queue Service Locator Behavioral Patterns Bytecode Subclass Sandbox Type Object

More Related Content