Tagged Questions
1
vote
1answer
32 views
Questions about the details of implementing a component-based entity system [closed]
I started reading about component-based entities, and overall it seems like a good idea, but many of it seems to skip over a lot of details and not give many real examples, so there are things that ...
2
votes
1answer
132 views
Different kinds of movement in component based entity system
I am writing a pong clone with a component based entity system.
But I am having trouble with the different kinds of movement in the game.
The problem is the following: My paddles will just move up ...
1
vote
1answer
160 views
Tilemap collision in component based entity system
I am trying to set up a collision system for a tilemap in my component based entity system, but having trouble with figuring out how to do so.
Currently I have the following approach:
My tilemap ...
8
votes
2answers
929 views
Game state and input handling in component-based entity systems
My question is:
How can I handle game states in my entity system, without resorting to keeping a stack of game state objects around?
So the design of my entity system means that when an entity needs ...
0
votes
2answers
147 views
best structure to handle entities in an entity component based game engine
I am trying to develop a 2D entity component based game with multiple layers as tilemaps (front or back from the scene).
I currently handle the tilemap layers in a 3 dimension array[z][y][x]. Each ...
5
votes
1answer
194 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 ...
0
votes
0answers
78 views
Techniques for incorporating physics engines like Box2D into a Component-based Entity System
Currently i'm working with my own physics engine, however given the fact that the emscripten ports have gotten incredibly good, i wanted to try and incorporate Box2D into my entity system for the next ...
8
votes
3answers
3k views
Component entity system - Updates and call orders
In order to get components to be able to update every frame (and leave this functionality out of components that don't need to) I got the idea to make an UpdateComponent component. Other components ...
1
vote
1answer
170 views
Server architecture software side
I'm making a game some like Terraria. I have a couple of prototypes, but most of them use a "entity-component-system"(ESC) and some custom terrain implementation. Now I've reached the part where I ...
3
votes
3answers
448 views
Input handling in component based design
I know this question has been asked several times, but I'm still not sure how to implement input handling in a component based engine.
The component based design I used was based on T=Machine's blog ...
1
vote
1answer
209 views
How a “view” is handled in an Entity-Component based model?
Coming from an MVC background, I am trying to understand Entity-Component based model. However, i can see description about the use components( data objects ) and entities ( group of different ...
1
vote
4answers
395 views
How should IDs be assigned in an entity component system?
I haven't actually implemented this system yet. I'm trying to work through the major conceptual hurdles before I actually start writing code, and the proper way to generate IDs is a little confusing ...
4
votes
2answers
502 views
Entity Component System: Retrieving components quickly [duplicate]
Possible Duplicate:
Retrieving components from game objects (entities)
I'm working on an entity-component-system game at the moment. I've looked in particular at the Artemis framework and a ...
1
vote
2answers
269 views
Handling movement using an Entity Component-based System Architecture
I have seen various descriptions of how to handle movement in a component-based entity framework. The most common I've stumbled across is the idea of using components called Controller, Physics, ...
3
votes
2answers
658 views
Tips for Component Based Entity System message handling
I'm trying to implement a component-based entity system but am a bit confused on how I should handle the messaging. There are two problems I'd like to resolve so I can test the system. Below is the ...