Need Help to get started with Multiplayer

Hello,

i am still quite new to programming and during the last couple of weeks I’ve learned a bit of C#, to code the game, I want to make.

It is a two player strategy-game, based on a hexmap.

While I was able to figure out everything regarding Unit-Creation, movement, etc. On my pc only, i am now struggling to go forward with multiplayer. I have watched a few tutorials regarding unity and mirror and I think I do understand the core concept of server and client.

For the first I just want to be able to play against myself in two clients, but later there of course needs to be an extensive backend.

My problem is, I don’t really know how to start. Does someone maybe have some advice for me, for how to beginn, or can point me in a general direction?

Thank you for your help.

It’s a broad subject. If you’ve seen the videos showing players on each client moving around, that should give you the basic idea to build upon.

Try adapting that to work with your own game and see how you get on, post back here if you get stuck.

Official docs: Mirror Networking | Mirror
Amongst others, there’s some useful videos on this channel: https://www.youtube.com/c/ShrineApp/videos

2 Likes

thanks, these were the videos I was watching