Original Post
How do you guys normally design your engine?
Mine normally just materializes out of nowhere out of need =P
I'll be chipping away on CGraphics, and it'll end up like:
class CGraphics
{
SwapBuffer();
LoadBitmap(char sFile);
};
class CPerson
{
BITMAP Sprite;
};
Oh wait a minute, my CPerson class is going to be loading their own sprites, so I guess I have to take LoadBitmap out of CGraphics or make it static. But that just leaves one function left in CGraphics, so I might as well just dissolve the whole class...
And what I originally thought was going to be a tight engine now becomes a series of utility functions and globals =P
How do your engines turn out / what are your tips to making 'em turn out good?
How do you design 'em? How do you make your entities tie in with your renderer, so that you can render your entire scene nicely?
[edited by - GroZZleR on August 29, 2003 9:50:08 PM]