Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Tiso

What do I needeth?

This topic is 6933 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What do I need to program a multiplayer game? Are there different kinds of tools to use? What are the better or best ones to use? Is it complicated? Well, I hope you can answer at least a few of these questions for me. Thanks!

Share this post


Link to post
Share on other sites
Advertisement
First off, you need to learn WinSock (or its equivelent (sp?)). I found a great tutorial on it here on gamedev. Go to the resource section (programming) and then type neural net in the search box. Due to some messup with the search engine, 4 entries from the bottom will be on called Roll your own intranet. It is a very good tutorial on winsock.

--------------------


You are not a real programmer until you end all your sentences with semicolons;

Yanroy@usa.com

Visit the ROAD Programming Website for more programming help.

Share this post


Link to post
Share on other sites
Okay, winsock and direct play? What would be a few of winsock''s equivalents? Do I have to know one of those 2 languages?

Share this post


Link to post
Share on other sites
WinSock and DPlay are not languages. You''ll program them both in C or C++, depending on which way you swing.

WinSock is quick ''n'' easy, DPlay is hard but (generally) more fool-proof.

When your wrapper is done you should end up with funtions looking like:

pNetwork->SendPacket(&p)
and
CSOMEPACKET p;
pNetwork->GetPacket(&p);
if (p.Score > 1000) {
you win!
}

Good luck!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!