Tagged Questions
5
votes
1answer
195 views
Design to handle logic within a state
I am designing a new game and I am trying out the entity-component design where entities are comprised of groups of components holding a bunch of attributes. I also have a stack of 'game states' and ...
9
votes
3answers
2k views
How to wire finite state machine into component-based architecture?
State machines seem to cause harmful dependencies in component-based architectures.
How, specifically, is communication handled between a state machine and the components that carry out state-related ...
6
votes
3answers
5k views
Using components in the XNA Game State Management example?
In the game state management example at the App Hub, they say that if you want to use components in the example you can extend the GameScreen to host other components inside itself.
I'm having a ...