Sign in to follow this  

Network Game Algorithms - Reduce Traffic

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

This topic is 2075 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.

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