Hacker News new | ask | show | jobs
by sparrowInHand 844 days ago
Obligatory data orientated design https://www.dataorienteddesign.com/site.php

as this is the mindset necessary to succeed with games - who will always will eat up all the resources.

1 comments

It's not necessary though. For every /r/gamedev ECS project there are many actually shipping products using whatever OO system and doing just fine, also in AAA space. If you are working on state of the art AAA product the situation is a bit different. But for the most games being sold on marketplaces like Steam it really doesn't matter as much as people on gamedev communities like to think.
It should also be mentioned that you can go very, very far with absolutely abysmal code quality when making a game, and you can waste an insane amount of time attempting to lay a solid code foundation.

Also, inheritance is not evil.

Look at the sauerbraten 2 engine and tell me that again.. inheritance is composition for fools
Streets of Rogue has notoriously awful code, but it's an absolute masterpiece.