The Debug Log
The Debug Log
thedebuglog.com
Episode 69: Design Patterns: State
33 minutes Posted Mar 24, 2017 at 4:00 pm.
0:00
33:01
Download MP3
Show notes

In today’s episode we talk about design patterns in game development, specifically, the State pattern. This is going to be an episode mostly oriented to developers, but it is an important part of our effort to bring good programming practices to other devs. We explain the basics of what a design pattern is and we mention some of them. Later on we present a very common scenario in game development, which is the implementation of an AI. We explain why an implementation with if and else is not recommended and we show you a great way to implement the State pattern.

Thanks for tuning in this week and we hope you enjoy the show! Contact us at: [email protected]