welcome
Thank you for purchasing the MEAP of Data-Oriented Design for Games. This book is designed to introduce game developers to the wonders of Data-Oriented Design (DOD).
DOD is a coding paradigm that offers key advantages for performance, readability, and extensibility over Object-Oriented Programming (OOP). You will learn how to increase performance by leveraging modern computer architecture, how to reduce code complexity by separating data from logic, and how to make your code more extensible and easier to maintain by solving complex problems using a data-first approach.
After nearly 20 years of using OOP, I was introduced to the wonders of DOD in 2020 while working at Plarium on the game Nova Legends, a mobile RPG. With DOD, my team and I were able to write high-performance code that allowed us to build complex gameplay while maintaining a very high framerate. It also allowed our game designers to test gameplay changes by simulating millions of battles in seconds. Using DOD, we built an incredibly complex game using a small team, simply by reducing code complexity by separating the logic and data in our architecture. We were also pleasantly surprised to discover that DOD allowed us to add new features in near-constant time, regardless of how complex our underlying codebase became. Later, at 4XP Games, I built Mergeup: Makeover, a Merge-2 game, using DOD and had similar success, cementing my belief that DOD is the superior option for game development.