Using the photon Engine for Unity Network game Development (i) photonpununity Network game development Photon engine Introduction: 1. Server Engine: Introduction to the server engine
- The server engine encapsulates a series of network communication methods that developers can call directly to realize the function of network communication.
- The server engine typically includes load balancing techniques to automate performance optimizations and exception handling in network traffic.
- Developers do not need to have a deep understanding of the network moment knowledge to achieve high performance and high reliability of network functions.
2. Photon Server:
- The Photon server is an industrial-grade server that is implemented using the C + + language core.
- The Photon server architecture supports reliable UDP, TCP, HTTP, and Web Sockets protocols in the Wi ndows operating system platform.
- Allows developers to use the C # language, customize Photon server logic, and support multiple modes of online gaming.
- Deployment options for Photon servers
. Photon Server (local)
. Photon Cloud (Cloud)
3. Photon Client: Photon Client
- Photon engine has excellent cross-platform capability and supports multi-platform network communication
- The Photon engine provides a corresponding client SDK for each platform,
- Game Engine:
- Unity (Unity 3D SDK, Photon Unity Networking)
- Unreal
- Cocos2d-x
- Client Platform
- Windows. Linux
- Android
4. PUN (Photon Unity Networking)
- A Web plugin for the Unity Platform for developing unity client programs
- Encapsulates the function of the game hall and the game room,
- Unity clients developed with PUN support a variety of platforms;
- Detailed technical documentation and a well-designed learning Demo
- So far there have been many successful business development cases.
5. PUN + Local photon server
- PU N + locally built Photon server
- · A Unity client developed with PUN that can connect using Photon Server
- The SDK is built locally on the Photon server and can also be connected to a Photon server on Photon Cloud
- Exit Games does not deploy Photon Cloud servers in the China region, using
PUN connecting Photon Cloud servers in other regions will incur a large delay!
Using the photon Engine for Unity Network game Development (i)