Thursday, February 22, 2018

Networking and Multiplayer gaming in Unity

Unity has a built in High-Level API that make ease of the use of the multiplayer gaming.

High-Level scripting API(HLAPI)

   This High-Level API helps to access commands that will cover the most of the common                      requirements in multiplayer gaming without to need of go through the more advance and complex      lower level implementation. 

   High-Level API has Network Manager that controls the state of the game.


   Network Manager

   Manage the state of the game. This is implement using the High-Level API which means those            control state can be accessible for the developer through scripting. Network Manager collect the        lot of functional content into a single space that make the create, run and debugger can be done in      one place. 
   Network Manager has:
  •           Game State management
  •           Spawning management
  •           Scene management
  •           Debugging information
  •           Matchmaking
  •           Customization
   Game state management
      In multiplayer network gaming there is three modes- as a client, as a server and host(working as         server and client both). Networking game should be designed to work the same code and assets           in  any of these three scenarios. 
            




No comments:

Post a Comment

How game can help for Education

How Game can help for Education Game can help many ways to learn about the educational facts. We can give many example For the above title...