Hello,
I creating mobile game. I want to make multiplayer like clash royale by photon. It’s realtime multiplayer. But I have issue multiplayer system.
Hello,
I creating mobile game. I want to make multiplayer like clash royale by photon. It’s realtime multiplayer. But I have issue multiplayer system.
Just change the active camera that the player is viewing depending on if they’re the host or the player.
Ok, but at player A mobile : tower blue is player A. And player B mobile : tower blue is player B. Rotate camera it’s not work.
push ![]()
Thank you! haha ![]()
Hi there - it’s just a matter of picking correct sprites.
You didn’t show any, so I guess you might not have them yet.
If you make them, you’ll notice that you don’t need much at all;
When you see your playfield, your units are on bottom half of screen. As the units are sprites, you have to draw/render each direction… in this case you show up/north facing sprites.
When your team is shown in competitors view, you show your team in upper half of screen, and you use down facing sprites.
I don’t think you need anything else.
Just sprites facing in both direction, for both teams.
You can see this simply by inspecting the image you attached;
A. Up facing team, in lower half - you see back walls with ladders and such.
B. Down facing team in upper half, you see coat of arms and whatever you see on the facade side of units / buildings.
There is no different camera, everything is just “rendered” differently depending on view.
Should I use RPC for instantiate gameobject to player 2 ?