Question by
HarD-izzeR · Aug 13, 2019 at 12:09 PM ·
multiplayerpunchess
Chess game multiplayer problem
Hi, So i made a chess game, it worked great in singleplayer and i have a problem with multiplayer. I used Pun2, made a lobby system, everything works, each player has a team, but the problem is players cant capture pieces.. It gets captured in singleplayer, but somehow it doesn't work in multiplayer.. here are the scripts used chess-wise: BoardManager: https://pastebin.com/TX1Lp2Nf (applied on an empty gameObject with a photon view) Chessman: https://pastebin.com/spAfdFae (not applied to any objects.. just used by other scripts) Then I have a script for each piece type for movements here is an example for the Pawn piece: https://pastebin.com/FeTDmNPZ I tried using RPC's and it didn't work.. Thanks, -Mark
Comment