Руководство для новичка по Мультиплееру

0

Taggé

Statistiques

1,049 visites, 1,243 vues

Outils

Partager

Traductions

Ce tutoriel n'a pas été traduit.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 14 Apr, 2016. Last updated 25 Feb, 2019

Вы когда-нибудь пытались сделать мультиплеерную игру и не находили достаточно информации? Хорошо, сегодня мы покончим с этим. Этот быстрый гайд/пример CAPX Устранит ваши проблемы через секунды!

Главная проблема многих людей связана с программированием, не в любом случае, staying on top of handling what information is controlled by the peer and host. This is a bit obvious, though. So, basically, the host controls anything fundamental to the gameplay. So, movement, physics, health, etc. And both the host and the peer handle things that aren't sent through the server (such as the position and appearance of particles, because that's server overkill.)

So... If both the host and peer use essentially the same logic... Why don't they? And why shouldn't they? It's common practice to set them apart, but I personally found the existing tutorials a bit redundant and messy. So, here I am providing a real time multiplayer physics example to demonstrate how easy multiplayer can be. Also, there are some other goodies in there too that you'll probably enjoy using.

If you would like a complete tutorial covering all the aspects of the example and how it works, just let me know. :)

  • 0 Comments

Want to leave a comment? Login or Register an account!