networking for a fps...
Hiya I am working on a fps right now and originally, I wasn't planning on having any multiplayer features. However, my friends talked me into adding atleast lan support. I only know some of the general ideas behind network programming, so im planning on using raknet. This is where im stuck at though. The raknet documentation and tutorials are very hard to understand, all I can tell is that there is a class such as CObject or something like that, that your game objects have to be derived from. Are there any *good* tutorials on using raknet? If not, what free alternatives WITH good documentation is available? Also, with the actuall design... what im thinking is doing something like this: list<CPlayers*> players; when information about a particular player is send out, this list will be iritated until the player id comes up. When it does, the iformation such as position, velocity, state etc is copied and the player is updated. The of course if the player leaves, the id is removed from the list. (btw, im not to worried about bandwidth, we all have broadband :) ). If I need to further explain my system, just say so. Thanks a lot!
www.jinx.com www.thebroken.org www.suprnova.org www.mozilla.org
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement