Hello everyone.
I have already read the documentation and made a bit research on UNET topic. But for code beginners is still a mess to develop a Multiplayer process so I would like to ask this community for a great tutorial for achieve a multiplayer game. I also can define the needs I would like to meet because as I know It could be different multiplayer aproaches. I keep in mind that in my case the simpler it will be the better.
The game is designed to be a Real Time Puzzle between 2 players not sharing the same Scene.At first step I think about a matchmake system dependign on Player Rank, and then the 2 players joining a server or Room but not hosted by any of both( prevent cheating?) SERVER only distribute the “puzzle pieces” to players and “confirm or deny” movements to players. I am not sure which aproach should be better for this purpose. I will be very glad someone to just give me tutorial or the way it should be done so i can Start researching again. As i have done until now. =)
Thanks in advance.
If you’re a code beginner, does that mean you don’t have much experience programming?
I’d say for creating online/multiplayer games you definitely need some experience with unity and/or your programming language.
I think UNET works great so far, I didn’t have much experience with the creation of network games on unity and took a look in the old unity networking stuff and went through a tutorial series for the new networking.
I can definitely recommend this tutorial series:
This will help you get started.
In regard to cheating it’s of course best to host the server yourself and let people play on it, but dedicated servers with Unity/UNET, I don’t exactly know how that is going to work, since you don’t want any visual representation of the game state except text messages ( like having a console that outputs stuff ) if you want to run multiple games on one server. I’d rather let one of the players host the game, which is also the easier way and you don’t have to provide a server ( except maybe the master server that gives you a list of current games etc., but you can also use unity’s master server ). The owner of the game ( host ) will have the ability to cheat ( since he has the authority over the game state ), but I wouldn’t worry about that.
For now just let one of the players host the game. If you want a cheatproof solution, you will in any case have to start taking a deeper look into networking. Good Luck!