简体   繁体   中英

Unity Server (Multiplayer Game)

I'm currently working on a Unity game. The game is a 2D traitor game and should be a multiplayer game.

Everything's fine except the multiplayer/server thing. What's the best probably simplest method to do this in 2020 (because unity networking engine is deprecated right?)

Please give me some hints. Thanks

Mirror is a community replacement of the deprecated UNet. It works almost exactly the same bar several improvements. While it isn't ideal for larger projects, it works just fine for smaller projects. I've found it very useful for providing simple Server and Client communication and syncing variables.

https://assetstore.unity.com/packages/tools/network/mirror-129321

You can use Photon/Google Play Games Multiplayer API/Steam Multiplayer API or write your own server using c# sockets.

https://github.com/egametang/ET

ET is an open source game client (based on unity3d) server-side dual-end framework, the server side is developed using C# .net core distributed game server, which is characterized by high development efficiency, strong performance, dual-end shared logic code, client-side server hot more mechanism is perfect, while supporting reliable udp tcp websocket protocol, support for server-side 3D recast pathfinding, etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM