logoalt Hacker News

bitwizetoday at 7:03 PM1 replyview on HN

When I learned about ECS, I realized that Tablizer (old Slashdot guy who insisted that OOP was a dead end and "table oriented programming" as was done in FoxPro was the way to go) was probably right. Using an ECS for my Android game was a bit more cumbersome, but paid for itself many times over with the ability to create new kinds of entities, implement familiar behaviors for them, and add new ones without code copypasta or inheritance tree entanglement.


Replies

samivtoday at 7:23 PM

None of that requires ecs though it can be done simply with a composition.

Traditionally called something like entity and attachments.

show 1 reply