Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Creating each player's avatar. Should I use Photon.Instantiate? Or use and RPC?

$
0
0
I'm working on a multiplayer asteroids game. Only there won't be any asteroids. The players just shoot at each other. So far, I've been able to display the available rooms, allow players to join an available room, or create a new room. The next step is to create each player's sprite.

There are two players, and one will be blue, while the other will be orange. These are two different gameobjects/Sprite hierarchies. Should their color be decided on the master client? Would this need an RPC? Or should I just check if it's the master client and generate them there? I'm unsure of how to go about this.

Viewing all articles
Browse latest Browse all 15755

Trending Articles