3 ms·
Here are some game tech articles that I found interesting: * Fixing Pathfinding Once and For All: http://www.ai-blog.net/archives/000152.html http://www.ai-bl
by cpeterso 14y ago
Here are some game tech articles that I found interesting:
* Fixing Pathfinding Once and For All: http://www.ai-blog.net/archives/000152.html http://www.ai-blog.net/archives/000152.html
* Scenegraphs: Past, Present, and Future: http://www.realityprime.com/articles/scenegraphs-past-present-and-future http://www.realityprime.com/articles/scenegraphs-past-presen...
* Evolve Your Hierarchy: Refactoring Game Entities with Components: http://cowboyprogramming.com/2007/01/05/evolve-your-heirachy/ http://cowboyprogramming.com/2007/01/05/evolve-your-heirachy...
- Too 14y agoEvolve your hierarchy is a really good read for everybody, not only game programmers. It shows in a very convincing way why the classic Cat : Animal inheritance model taught in every Java-school doesn't work when things scale up and proposes a better alternative.
- cpeterso 14y agoReading this Starcraft story and "Evolve Your Hierarchy" reminds me that, in retrospect, most of the class inheritance hierarchies in my student and early professional projects were bad design. These days, I think implementation inheritance is a code smell.
- Evbn 14y ago"Prefer composition over inheritance" is an item in Bloch's Effective Java.