I don’t want to have the basic “Start server” options and then have people join that person server, etc.
What I do want is to have 2 people “searching” for a match, those two get paired up, and then are placed into a game together. Can anybody point me to some tutorials for that kind of multiplayer? I’ve looked around a lot but all I can find are tutorials for PC games where people start their own servers. I have really no idea how to start coding this, but for reference i’m doing it in c#.
Well networking is a very tricky thing. I have heard many bad things about Unity built in networking, but I have used it successfully in a simple game demo I had going, with hundreds of gameobjects changing transform constantly, over a long distance (like 2 hours away) and it played well - and thats from a phone, to a computer.
Now as for a guide to getting what your describing - there really is probably no perfect tutorial/example and you might end up having to roll your own solution to this one. There are many tutorials which show you how to do the server/client setup part - so just have it setup the connection itself in the background (create “ghost” server and wait for players, or connect to master server and join someones “ghost” server, then alert the players to actually join and start playing seamlessly). Of course that is going to be very hard, and take lots of experimentation and research!
I wish you luck out there!
Dang. I might just take the (semi) less work way and have the person start a game, then invite a “friend” via text or something.