by orenk2k Thu Feb 05, 2009 12:46 pm
Hi Demiurge
thanks
well, you ask very general question and the answer is huge so i try to answer in short, and if you want to know a little bit more about specific system just ask.
i didn't gave special care to this subject, but from time to time i'm moving few chucks of code and close them as a module/lib for generic use.
the major libs are:
1. game lib - contain specific game related things (basically manage the game code)
2. physics lib - all physics related stuff, for example: creating physics objects, check collisions, attach entities to physics objects etc.
3. math lib - full featured math lib like d3dx lib
4. input lib - all input related stuff, handling mouse and keyboard in very simple way
5. sound lib - all sound related stuff, for example: creating sound objects, modify sound properties, attach entities to sound objects like light to create flickering effects relative to sound data etc.
there is a lot more that i didn't have time to put them inside specific lib but they act just like the one i mentioned so here is few of them:
1. gui system
2. ai system
3. effects system
4. scripting system
5. render system
6. shadowing system
7. animation system
i can talk hours on each of them, but in short each of them have few functions to create/release/manipulate objects and this is how they interact with each other.
i maybe forgetting few systems here and there but this is the core systems/libs.
as for how graphics works? this is very general, please ask something specific that you are interest in and i will try to answer best.