News for hackers. Stuff that matters.
Re:What is an entity system framework for game development? by angersock on Monday March 31, 2014 @10:58AM (#7501824)
Idea we played with was one step further--take the entities and have their components/state data backed as atoms, and create separate buffers. During update, read from buffer A and write state to buffer B, then swap. This should allow for fairly trivial use of a worker pool to handle concurrent updates.
Re:What is an entity system framework for game development? by digikata on Monday March 31, 2014 @12:32PM (#7502464)
What happens with concurrency was the area I was thinking about too. Particularly what happens if you want a render thread accessing various nodes while the rest of the engine could be in another thread updating the same data.
Re:What is an entity system framework for game development? by bsenftner on Monday March 31, 2014 @02:01PM (#7503069)
That's how I wrote the inner core for one of the Tiger Woods PGA games for EA.
Re:What is an entity system framework for game development? by angersock on Monday March 31, 2014 @02:24PM (#7503206)
Ha! That's awesome, you're awesome. :)
Re:What is an entity system framework for game development? by mattgreenrocks on Monday March 31, 2014 @11:17AM (#7501959)
Really cool idea! This scheme also facilitates a immutable-centric engine.
Re:What is an entity system framework for game development? by angersock on Monday March 31, 2014 @02:21PM (#7503190)
Yep. We ended up thinking in terms of entities passing messages to each other and being described in terms of functions mapping their current state to their next state.

And then we'd badly reinvented Erlang, in C++. :(

Re:What is an entity system framework for game development? by matdes on Monday March 31, 2014 @07:38PM (#7505159)
greenspun's tenth rule?