Re:Game Development Essentials #1 - Don’t use inheritance fo...
by hythloday on Tuesday February 07, 2012 @04:58AM
(#3561182)
This is reasonable advice for the top 50% of your game (i.e. the bit you could write in a scripting language or a custom data format: AI, dialogue, game mechanics). For the bottom 50% (physics, effects, collision, animation), this technique will cripple performance because of the massive amounts of indirection and you will want to use a data-oriented programming approach instead.
[ Parent
| on HN ]
There are no comments on this comment yet.