logoalt Hacker News

samivyesterday at 7:23 PM1 replyview on HN

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

Traditionally called something like entity and attachments.


Replies

bitwizeyesterday at 7:38 PM

I tried that too, I called it "agents". (This was long before AI-mania.) An agent was an object that handled some aspect of behavior (like gravity and collision physics) "on behalf of" some entity, hence the name. The word I was actually searching for was probably "delegate", but I was a stupid 20-something.

ECS is to me still conceptually cleaner and easier to work with, if more tedious and boilerplate-y.