View Single Post
Onag

JCF Member

Joined: Feb 2002

Posts: 165

Onag is doing well so far

Oct 21, 2003, 06:01 PM
Onag is offline
Reply With Quote
Quote:
Graphics, input, and sounds really should be split up. They're all basically independent of each other, so there's no reason they should be together.
Good point, I'll seperate DXEngine into the following static classes:

DirectXGraphics
DirectInput
DirectSound
DirectMusic
DirectShow
DirectPlay (network stuff)

(The names may change.)

Quote:
Tileset...Sprites...
The TileEngine and SpriteEngine classes will manage the Tile, Tileset, and Sprite classes. Again, these may be renamed for clarity.

Quote:
Particle...Particle System...Particle Manager...
This is good. I'm thinking the ParticleManager class will handle things like creating and releasing Particles and ParticleSystems, while the ParticleSystem will handle positioning and drawing Particles. Particles are simple data structures with position, velocity, color, and maybe sprite information.

Quote:
Player...Player Manager...
I'm wanting to handle character movement a bit differently than this. Because essentially any object will be playable, I would like to implement dynamic input mapping for all objects. In other words, when a game begins, the left and right arrow keys will move your character object left and right, but in the middle of the game, these keys can be reassigned to move a stationary missile turret. This way, it will be easy to switch control between characters, vehicals, guided weapons, etc., and allow multiple players on a single input device.

Quote:
Network...
Any information you have on network code would be great. I know nothing.

-Nag