Jump to content
  • Advertisement
Sign in to follow this  
Doltsche7

Network Game Algorithms - Reduce Traffic

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

Hello Community

I'm several years experienced with programming business client applications, but I have not much idea about networking in game development.
I will start a simple project, to be honest, a multiplayer snake game based on JavaScript with the new jWebSocket-Framework.

However, the internet traffic is a bit high if I synchronize every position change of the game entities. For simple games like Snake that doesn't matter, but anyway. I'd like to reduce this traffic. So, I'm wondering whether there exist well practiced algorithms for that.

I would be glad aboud any responses or just links.

Kind regards,

Sam

Share this post


Link to post
Share on other sites
Advertisement
Sending input instead of actual game data is often used in games that would otherwise have to send a truckload of data. There are other challenges that come into play though, you'll have to make sure both games are synchronized or your players will be seeing different things on each end.

Well known article on the matter: http://www.gamasutra.com/view/feature/3094/1500_archers_on_a_288_network_.php

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.

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!