3 ms·
Implementation: Game Programming Gems 6. (Or possibly 5) :) And Thief really is a prime example, because it comes with an editor that exposes the component sys
by groby_b 14y ago
Implementation: Game Programming Gems 6. (Or possibly 5) :)
And Thief really is a prime example, because it comes with an editor that exposes the component system. That completely covers the "here's what a game looks like in it" angle.
There's also a whole load of info on "data oriented programming", which sort-of follows a similar approach.
Not that it'll help your specific issues, but I figured I leave pointers for anybody else reading about it and being interested.
Edit: Oh, and before I forget it: Search for "functional reactive programming" - that goes down this path a bit further, and it's as the name implies a good match for functional languages.
- sirclueless 14y agoAs a more modern example, you could look at Scribblenauts Unlimited, which also has a component system and some fairly deep and general logical systems. There's an item editor, which exposes all of the underlying interaction logic and component interfaces, and also does some interesting things with sprite generation.