Timeline for How could I implement an ECS in C? [closed]
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 6, 2019 at 18:36 | comment | added | Stephan | Just from my own experience, a proper ECS needs a way to get the union of multiple collections in order to cut down on unnecessary processing. If you don't have a good collections library, you're likely to miss out on one area where some of the performance benefits come from. Take a look at my java example here for more on the concept of ECS | |
Jun 6, 2019 at 13:08 | history | edited | Vaillancourt♦ | CC BY-SA 4.0 |
edited tags
|
Jun 6, 2019 at 13:05 | comment | added | Vaillancourt♦ | I'll add this: someone once said "make games, not engines". Remember that the ECS pattern is just a tool. If you get a hammer made of gold and diamonds, it's going to be the shiniest hammer ever, but will be worth crap to drive nails. Deciding to go for an engine and an ECS while you don't know in what context it will be used will have a risk of you writing code that serves no purpose. You might want to focus on an end rather than a means. | |
Jun 6, 2019 at 11:38 | vote | accept | Narice | ||
Jun 5, 2019 at 23:18 | history | closed |
Almo♦ Pikalek Bálint Vaillancourt♦ |
Needs more focus | |
Jun 5, 2019 at 22:45 | answer | added | Exaila | timeline score: 11 | |
Jun 4, 2019 at 19:37 | comment | added | DMGregory♦ | Can you give an example of a specific aspect of an ECS implementation — maybe a C++ example you like and want to emulate — that you're having trouble adapting to C? | |
Jun 4, 2019 at 18:20 | review | Close votes | |||
S Jun 5, 2019 at 23:20 | |||||
Jun 4, 2019 at 18:01 | history | edited | Narice | CC BY-SA 4.0 |
rephrased the question to better fit Stack Exchange's guidelines
|
Jun 4, 2019 at 17:56 | comment | added | Narice | Thanks a lot for the feedback, I'm not quite accustomed to the Stack Exchange policies yet. I just searched for possible ECS libraries for C. It is quite true that I should have tried out maybe implementing at least something but feel completely clueless on how to do so. I'll rephrase my question as you suggested! | |
Jun 4, 2019 at 17:47 | comment | added | Vaillancourt♦ | Hello and welcome to Game Development! Generally, yes/no questions are not a great fit for our site. They can usually be reworded to something like "how would I do an ECS in c?", but in the current case, that's a bit broad. Have you tried anything and have you gotten stuck with anything? | |
Jun 4, 2019 at 17:45 | review | First posts | |||
S Jun 5, 2019 at 23:20 | |||||
Jun 4, 2019 at 17:44 | history | asked | Narice | CC BY-SA 4.0 |