Timeline for How should IDs be assigned in an entity component system?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 7, 2014 at 5:24 | comment | added | Trevor Powell | @PatrickHughes I agree; now, two years later, I have a better understanding of why guids work, and disagree with my quip that a large random number "is the same as a guid". Guids give you a lot more reliable uniqueness than a mere random number does. But at the same time, they use a lot of their space for uniqueness that we don't care about in this context (It's not useful that guids generated by my computer are different than those generated by your computer, for this scenario). Guids do tend to be more CPU-intensive to generate, but probably not enough so to matter. | |
| Oct 7, 2014 at 2:39 | comment | added | Patrick Hughes | Random? Unless you want random heisenbugs to happen with entities later, randomly. Stick with dependable, guaranteed generators just to be sure. The advice at the end, priceless! | |
| Jan 23, 2013 at 10:30 | vote | accept | ssb | ||
| Jan 21, 2013 at 22:32 | history | edited | Trevor Powell | CC BY-SA 3.0 | Minor edits for clarity |
| Jan 21, 2013 at 4:23 | history | edited | Trevor Powell | CC BY-SA 3.0 | Fixed typo. |
| Jan 21, 2013 at 3:00 | history | answered | Trevor Powell | CC BY-SA 3.0 |