3 ms·
I think DOD of games is only tangentially related to this post. https://en.wikipedia.org/wiki/Data-oriented_design https://en.wikipedia.org/wiki/Data-oriented_
by petermcneeley 6y ago
I think DOD of games is only tangentially related to this post.
https://en.wikipedia.org/wiki/Data-oriented_design https://en.wikipedia.org/wiki/Data-oriented_design
- dathinab 6y agoThe "DOD of games" is just a "special case" of more generic Data Orientated design/programming. E.g. ECS is a direct consequence of seperating data from code. Furthermore for it to work well you normally also want #2, #3 and #4. Sure you can build a ECS without #2,#3 and #4 but it makes it more complex. Lastly in a ECS you split up components into many parts each having their own data and you normally want the idea behind #5 to apply to each of the parts. EDIT: Well ok, weather #2 makes any sense at all depends on the language you use. And using a language where #2 makes no sense can be a as reasonable choice. I only would apply #2 IF it makes sense for you language of choice.