Multiplayer Ideas

Hi folks,

I’m actually developing a TowerDefense game and I have a major problem. The “single player prototype” is finished and I’m, at the moment, working on the multiplayer networking system.

I want the game play to look something like this :

The problem is this: I don’t know how to get this working. I want both player to have their own scene on the left of their device and want the right side of their device to be the other player’s scene.

I don’t think running 2 instances of the game is a good idea and I don’t even know if it’s possible.

I tought that maybe when the 2 players enter the game, they each get a “player” which is the camera. Then, I’m not sure about the scenes. I tought maybe i could duplicate the objects in my scene so that each camera focus on one of the 2 “instances”.

Well, I’ve got to say that I really don’t know how to make this work. I would like to know more about your ideas, comments. I want to know how it could be possible to make this work.

I hope it was clear.
This is the prototyping of the game.3384919--265886--upload_2018-2-8_11-28-15.png
3384919--265886--upload_2018-2-8_11-28-15.png

Sincerely,
Clovis

assuming you’re going with unet have you looked through the learn resources?

https://unity3d.com/learn/tutorials/s/multiplayer-networking

Yes, the networking tutorial is great for a mmo, first-person-shooter, etc. But this project is kind of tricky for the reasons mentionned in my thread.

The UNET HLAPI is setup to work decently with a lot of different game types, but if it doesn’t work well for yours you can handle all of your syncing using UNET Messages or using the LLAPI and build your own higher level networking systems on top.