Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Composition is only one of the reasons why it makes sense to consider ECS. Structuring your game state as pure data makes it easier to serialize, to double-buffer, and to arrange in memory how you see fit. There are non-ECS ways of doing this but ECS is the easiest way I've found to write general code that can operate the same over many different kinds of game objects.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: