- Home /
Photon and Unity , need some help
Hello, I'm dealing with some problems. I'm making a game where players can hunt and improve their characters and do 1v1 battles which I used photon to make this happen. My problem is we instantiate prefabs from resources folder but each player will have their own character design(armors, weapons etc.) and I want to be able to match them in battle arena with their own designed characters. Is this possible if yes then would you please give some idea to how to make this work? Thank you.
Hey there,
please add some more details on what "own designed characters" is supposed to tell us. Custom objects? Custom skins? Or just choosing from a pool of given items?
Hey, They will be able to get armor etc. from store and I want the to join battle with their level and armors on them. I'm just confused because when we use photon intantiate we use prefab inside the resources folder.
yes that is what i meant: when you say "buy from store" those are items that you as a developer already know. so in the end all armors/items and so on will already be in the resources folder as a prefab?
I'd advise against using photon instantiate for each object. Try using an rpc that sends an array of object ids. this way you can heavily compress the needed networkdata and message count.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Multiple Cars not working 1 Answer
How To List Rooms (PUN 2) 1 Answer
Photon Network Get all the connected players. 0 Answers
ridgidbody 2d update rate? 0 Answers