Jump to content
  • Advertisement
Sign in to follow this  
Vevusio

Protocol?

This topic is 3732 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

hey, ive spent the last 3,4 days writing a little Frozen Bubble (http://www.frozen-bubble.org/) ripoff using java and opengl (jogl) anyway, i was wondering which approach would be advisable protocol-wise i once wrote a little jump n run game with c++ where you could play over the network and you had to jump onto the other players head with your own char and by doing so gained a point however i was using TCP for that and the localhost client always worked perfectly but the client connecting via the internet had huge lag (i never bothered measuring the ping or anything but it just lagged like hell), eventually i lost interest and stopped working on it so this is the first networking related stuff im doing since then, so i was wondering what the usual approach is? i was thinking about making a TCP connection for "important" stuff like joining a game, disconnecting, sending the username to the server or chat messages, telling the clients which backgrounds to use and so on while using UDP during the actual game to send the packets which tell the client to render a moving object at xyz or maybe it is ok to do the whole thing with TCP and i just screwed up badly with my jnr game back then?

Share this post


Link to post
Share on other sites
Advertisement
aw ok thanks, didnt realize there was a forum faq since its hidden up there with that tiny standard font in the menu

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!