Game Programming Patterns
Game Programming Patterns Robert Nystrom The full text of this book lives online at Copyright 2014 by Robert Nystrom. All rights reserved. This book was lovingly typeset by the author in Sina Nova, Source Sans Pro, and Source Code Pro. Layout is organized around three inch columns with a inch gutter. Text follows a pt baseline grid. ISBN: 978-0-9905829-0-8. To Megan, for faith and time, the two essential ingredients. Contents I. Introduction 1. 1. Architecture, Performance, and Games . . . . . . . . . . . . . . . . . . . . . .9. II. Design Patterns Revisited 19. 2. Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21. 3. Flyweight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33. 4. Observer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43. 5. Prototype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59. 6. Singleton.
By calling this book “Game Programming Patterns”, I’m not trying to imply that the Gang of Four’s book is inapplicable to games. On the contrary: the Design Patterns Revisited section of this book covers many of the patterns from Design Patterns, but with an emphasis on how they can be applied to game programming.
Download Game Programming Patterns
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document: