Tagged Questions
3
votes
1answer
146 views
Separating components and logic
I've been working on how to build some of my game systems using components and systems. I'm having a little trouble following the approach that components should just be bags of data and systems ...
1
vote
1answer
183 views
Need opinions on my component based design [closed]
I have an Entity class and a Component class. The Entity class has a list of attached components, and each component also has a member variable that is a reference to the entity that it is attached to ...
0
votes
3answers
255 views
Rendering order in an Entity System
Say I use a basic ES approach, and also inside Systems I hold lists of all entities that Systems are required to process.
How do I maintain this list of entities in desired rendering order, i.e. for ...
5
votes
3answers
860 views
How to avoid “Blob-Systems” in an entity component system?
Currently I am facing the following problem:
I am trying to write a pong clone by using an entity component system.
I wrote the "framework" all by myself. So there is a class which manages the ...
0
votes
0answers
180 views
Component based architecture - Rendering approach?
I'm planning to use a component based architecture for a new 3D game engine I plan to work on, however I don't know how to approach the rendering side of things.
I can see two options here:
Every ...
2
votes
1answer
235 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 ...
2
votes
1answer
509 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 ...
2
votes
0answers
49 views
User interaction and Component based architecture [duplicate]
I'm working at my first game and I've decided to build a simple component based engine.
I found really useful to work in that way but I still miss some fundamentals probably.
Let say that I have a ...
5
votes
2answers
797 views
Component based game engine and dependencies - singletons [closed]
I am thinking about how to create component based game engine.
I understand that all things should be very similar as in Data Oriented Design (each object is a collection of various structures as ...
4
votes
2answers
336 views
Game state management: the buck doesn't stop “here” soon enough
I realize there are already many Q&As on this site about GameState/GameScreen management, state machines, state stacks, etc. This question is meant as a follow-up:
Suppose hypothetically I ...
1
vote
1answer
214 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
2answers
2k 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 ...
2
votes
2answers
490 views
In an Entity-Component System, how to represent the world/level/gameboard?
I am trying to learn more about Entity-Component Systems, and something that kinda stuck out at me was the question of how to represent the world in such a system? More specifically, I'm trying to do ...
2
votes
3answers
409 views
Component / Entity-based design => no inheritance at all?
[I understand that this this could be seen as a rather theoretical question, but I think it has real-application impact].
"Academic" base
With a component-based design one wants to get rid of the ...
5
votes
4answers
1k views
Retrieving components from game objects (entities)
Using C# and XNA 4, I've made the decision to go for an entity-component based design for my game after reading such posts as this and this, but I'm now struggling to find how to retrieve components ...