Sign in to follow this  
Doltsche7

Network Game Algorithms - Reduce Traffic

Recommended Posts

Doltsche7    100
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
Mussi    4406
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: [url="http://www.gamasutra.com/view/feature/3094/1500_archers_on_a_288_network_.php"]http://www.gamasutra.com/view/feature/3094/1500_archers_on_a_288_network_.php[/url]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this