Highest Rated Comments


MEERA_IS_A_CUNT3 karma

Hello Megan, I have a quick question on your article about Entity-Component systems.

Specifically about message handling, because I'm getting to the point in my game/engine where I'll need to have Entities sending physics impulses and other messages to other Entities.

How does the message queue work in relation to the normal iteration over entities? I mean my physics component is looping over every entity, checking their collisions and then if I'm correct they should send messages to the Entities they collided with? Do you have any interrupt system enabled that will handle the message before processing the rest of the entities?

Sorry if my questions seem stupid, I know the article was more geared towards game developers with a classic class hierarchy and not complete noobs like me. Thanks!