He estado mirando las opciones para juegos en red y he elegido Forge Networking como herramienta para desarrollar mis juegos.
Estoy interesado en ponerme en contacto con alguien que lo conozca para compartir dudas.
Os dejo un link donde explican las diferentes soluciones para programar en multiplayer, me parece muy interesante.
Dejo la explicación abajo por si deja de funcionar el link:
Hello community! I'm a hobbiest game developer who has a passion for competitive multiplayer games. For a high school project, I'm making a multiplayer lockstep BRTS game that loosely follows the networking framework of Age of Empires and Starcraft 2. In order to reduce bandwidth demand on players, all commands and confirmations will be facilitated by a server which is why I've looked into a host of networking solutions. This is somewhat of a chronicle of my journey through developing the multiplayer part of my game and the things I've learned on the way about the various tools I've used. I hope this helps other people in their quest to make their games. Without further ado...Photon Cloud: Photon is the most popular networking solution on the asset store for good reason. It's super accessible and provides an out-of-the-box multiplayer game that's incredibly easy to set up. Further into development, however, I found many pitfalls in Photon Cloud. During the holiday sale for Photon+, I became overeager and bought it to find out that it unfortunately wouldn't work for my game.Firstly, it's the large overhead. Photon's binary protocol is very inefficient compared to that of networking solutions like DarkRift. Of course, this provides developers easy reliable RPC's but at the cost of lag and high bandwidth.In addition, Photon Cloud servers don't allow custom server logic. This makes it impractical for many games. For my game, this means I can't have a server that processes commands and confirmations. The server would be 'dumb' and relay every single command and confirmation very inefficiently. This is made worse by the high overhead so much so that my game ((12 players, 2 commands + 2 confirmations)/second) would be impossible for anything but the fastest of connections. There are other problems with Photon Cloud explained here.The only way to run custom logic is to modify the server sdk and host the servers yourself so I proceeded to do that. Implementing what I needed turned out to be a very difficult task as the documentation wasn't very clear. For a while, I wasn't sure which script to edit or how to call my custom operations but eventually found out through the great support of its community. There's also the pricing issue. Developers have to pay $3500 to have over 500CCU which many successful games need.Photon does have merits though. Creating and joining rooms is as using a single built-in function. There's in-built load balancing on the Cloud for efficiency of room instances. Photon is extremely easy to set up and the team is very helpful to you for your first stages of development. Photon turned me from a person clueless about networking into someone who knows how to set up a decent multiplayer game. It's what I can call my gateway to networking, and I recommend it for anyone wanting to prototype or learn how to make a multiplayer game.uLink: I've only worked with the trial version of uLink that doesn't include the game managers uLobby and uZone. I can say first off that uLink isn't hobbiest friendly at all, costing upwards $600 for all the essential features. I wasn't able to test the server distribution system at all so all I got to do was play with the example locally.The main thing going for uLink is that it runs in Unity instances. This means you can have servers that simulate physics, player interactions, and everything about a game. Cheating can be 100% done away with. This is especially necessary for large scale games that have to provide players with fair play.uLink has been tried and proven by games such as Transformers Universe and Shadowgun: Deadzone but I'm hesitant to extrapolate the same potential success and appropriateness to my projects because these were created by large companies with specialists. There's no telling how much of the out-of-the-box functions of uLink apply to them.For my game, uLink won't work or rather would be inefficient because my game only requires the server to process commands and confirmations in pure .net logic - no simulation required.Update: uLink now has a trial version! I haven't gotten to using it since I've stuck to DarkRift but don't let my review stop you from testing it out for yourself.Forge: uLink definitely fills a niche in Unity networking by allowing for authoritative servers but there's a rising star that might be competing for the same niche.Forge is a very new networking solution currently in its Beta stages. There's a lot of community support for this because of the potential in it. Like uLink, it runs in Unity instances and so can simulate physics, players, etc. and prevent cheating. I've tested it and it works like a charm. It's multithreaded so is very performance friendly - expect to be able to host many instances on a single computer, all managed by an aptly named extension called The Arbiter.The primary developer has hinted at database integration which means accounts, player stats, and more for all! In addition, future plans also seek to take authoritative servers a step further by providing a cloud to run Forge on.Recent developments have created a bare metal server that can be run just as efficiently as Photon or any other .net based server solution.Update: Upon further exploration, I found that Forge is, like DarkRift, is event driven. In addition, there are many built-in pieces of functionality that come out of the box. Easy to use, efficient, and limitless! A bare metal version is also going to be released soon that gets rid of the overhead of Unity instances for those games that don't need physics or simulation. Forge is one of the most ambitious and complete networking solution. I can't even imagine how complete it will by its final release. It turns out Forge is the right one for me.DarkRift: To me, DarkRift is like Victoria in How I Met Your Mother. She is almost 'The One', so close that it's tragic she isn't. DarkRift is incredibly fast, creating only 13 bytes of overhead in an operation and writing custom server logic for it is as easy as coding my game client side. It's built in C# and has a very intuitive API for both server and client. I could see from the start that this networking solution was built for making plugins. Unfortunately, because of the extreme flexibility, this solution doesn't come out-of-the-box with many features other networking solutions have like RPC's or rooms. This is why it was nearly perfect for me, because the RPC's and room system could be built from the ground up to accommodate my game.Writing server plugins might seem like a daunting task compared to plugging in an IP address or a Cloud validation number and clicking run but it's incredibly easy. I was able to get a room and matchmaking system that was completely built on top of my lockstep system up in an hour. Plus, the plugins are made to be shared (I can send anyone my lockstep plugin for DarkRift if they need it).Not only is DarkRift exceptionally fast in bandwidth, it's also fast in performance. It's super efficient and uses only between 0.0% and 0.1% of my CPU when idle and scales very well so if you need a fast, flexible, and lightweight server solution, DarkRift is the way to goThe only problem is that DarkRift isn't very big. It's made by a one man team and so doesn't have access to some extraneous features like an integrated Cloud or a prosperous community. Regardless, the documentation is very clear and got me coding my own plugins within 20 minutes of opening the 'Getting Started' PDF. The author has been extremely responsive to my requests for features and information. This is an asset that deserves to have just as much community support as the top in the store and it's a shame that it doesn't.This is an asset that will give your game the fastest possible multiplayer and lightest weight servers. Hopefully in the future, a dedicated community will flock around DarkRift and a variety of open source plugins will crop up. It's gotten this far with 1 person - how far can it get with a community?Conclusion: There are many other networking solutions out there that aren't listed but are still valid. There are also many types of games that need different back-ends. Small-scale MMORPG's could make use of Photon's dedicated servers and sufficient operations. FPS's could use Forge or uLink for authoritative servers simulating events and actions for a cheat-free environment. Games like mine, ones that require specialized data processing, should definitely go for the more flexible and lightweight ones like DarkRift and Forge.DarkRift and Forge are neck to neck in flexibility, performance, and ease of use but DarkRift is the winner in bandwidth efficiency. Forge will provide you with more out-of-le-box features so if you're new to networking, I would recommend trying out the Beta. If you've got an arsenel of c# skills, give DarkRift a shot and you might fall in love with it as I did!