E-book details

Game Development Patterns and Best Practices. Better games, less hassle

Game Development Patterns and Best Practices. Better games, less hassle

John P. Doran, Matt Casanova

Ebook
You’ve learned how to program, and you’ve probably created some simple games at some point, but now you want to build larger projects and find out how to resolve your problems. So instead of a coder, you might now want to think like a game developer or software engineer. To organize your code well, you need certain tools to do so, and that’s what this book is all about.
You will learn techniques to code quickly and correctly, while ensuring your code is modular and easily understandable.
To begin, we will start with the core game programming patterns, but not the usual way. We will take the use case strategy with this book. We will take an AAA standard game and show you the hurdles at multiple stages of development. Similarly, various use cases are used to showcase other patterns such as the adapter pattern, prototype pattern, flyweight pattern, and observer pattern. Lastly, we’ll go over some tips and tricks on how to refactor your code to remove common code smells and make it easier for others to work with you. By the end of the book you will be proficient in using the most popular and frequently used patterns with the best practices.
  • 1. Introduction to Desgin Patterns
  • 2. One to rule them all - Singletons
  • 3. Improving on the Decorator Pattern - Component Object Model
  • 4. Artificial Intelligence using the State Pattern
  • 5. Decoupling code via the Factory Pattern
  • 6. Creating objects with the Prototype Pattern
  • 7. Improving Performance with Object Pools
  • 8. Controlling UI via the Command Pattern
  • 9. Achievement Unlocked ? The Observer Pattern
  • 10. Sharing objects with the Flyweight Pattern
  • 11. Integrating Graphics With the Fa?ade
  • 12. Best Practices
  • Title: Game Development Patterns and Best Practices. Better games, less hassle
  • Author: John P. Doran, Matt Casanova
  • Original title: Game Development Patterns and Best Practices. Better games, less hassle
  • ISBN: 9781787126961, 9781787126961
  • Date of issue: 2017-04-27
  • Format: Ebook
  • Item ID: e_15io
  • Publisher: Packt Publishing