I'm working with lacewing and trying to learn the ropes of server based multiplayer at the moment. Currently all is going well, but I have hit a bit of a roadbump.
When a peer joins the server in my game, they are assigned a unique id starting at 1 and increasing for each subsequent peer (1, 2, 3, 4, etc.)
Using this id, I use the replace color function and replace the peer's colors.
The problem I'm having is even though I'm specifying which instance of the peer object to replace color, it either doesn't work, or it replaces the color of every peer. Is there a workaround to this problem, or should I consider making multiple peer objects with preset colors? (which would mean I need to limit the player count in a server unfortunately)
I had a bit of trouble trying to convey my point, so if something doesn't make sense then I'll try my best to elaborate.