Hi,
I'd like to know how you actually build a game structure,
I know c++,win32,opengl and all, and if made a opengl game
but i keep running into the unsatisfactory of unorginized code.
I'd like to know how you seperate the game in classes, for
example should i make a class named render, that holds the
functions that render everything to the screen or should i
make indivudual classes that are called for example cube1 wich
holds all it's ascociated fuctions (render,rotate,scale etc.).
And what if you have a huge amount of objects, you're going to
have to make a class for all of them? how do you manage
something like that?
As you might have guessed i'd like to know how to orginize my
code the best way, at the moment i just have them in a pile of
functions all scattered through the program, wich is in my eye's
just a disaster.
Any help would be appriciated.



LinkBack URL
About LinkBacks



). Usually it shouldn't take that long, but I've been trying new things, I've learned a LOT about OOP these past two days.