Hey guys,
I’ve made a quick multiplayer game prototyped, but as ive never done this before, im confused as to how to setup a server, host it and connect to it. Its just a test thing, it would be just me and one other person on the server. Im just clueless where to start form, how do i even start the server? do i need port forwarding, hamachi or something?
Please help, thanks
oh, and i would prefer not to use photon if i dont have to
I suggest you to take a look at photon cloud, since you was never into this term, photon cloud is be best solution for you, simply because it’s very easy to set up and you don’t need to maitance the photon servers, ExitGames does that for you!
Take a look at photon realtime documentation: Realtime Intro | Photon Engine
I suggest just using the built in UNet stuff. Matchmaking is there, you just need to learn to use it. The relays will make sure you can always connect so you don’t have to worry about hamachi or port forwarding. It’s all free up to 20 concurrent users, which won’t be a problem for you for testing.
You just need to check out some UNet tutorials. It’s one line to create a match on the host. One line to list matches on the client and then one more line to join the match you want. Then you are connected and it’s all golden.
1 Like