How to Use Photon to Create Multiplayer in Unity - Sync Custom Character Player Data

preview_player
Показать описание
In this tutorial, I will show you how to sync player data for your multiplayer game using Photon in Unity. The player data could be anything like kills and stats or names. For our example, I will be syncing the player's customized avatars over the network so each play can see how the other players have customized their characters.

Features:
Data scripts, Character customization menu, 2D Characters, Photon View
RPC, JSON Utility, Multiplayer

Post:

SUBSCRIBE to Info Gamer for regular Video Game making videos:
Рекомендации по теме
Комментарии
Автор

The man, the myth, the legend. He's back.

Officialjadenwilliams
Автор

❤❤❤ the OG's of your AU tutorials are gonna love this one 💗 very much appreciated

kylemordaunt
Автор

I am the first viewer of this video and i am also big fan of you 😎

manishkumar-lqjc
Автор

Very informative brother. Thank you. Any tutorials on player scoring and scoreboards?

TacticalAssaultOfficial
Автор

I think SyncAvatar should not be called in start. It should be called after some delay in order for all the characters(with photonView) to have had initialized at that point. Btw, been watching your videos for 2+ years. Great content.

UmarFarooq-jndt
Автор

Hello... great video, could you do someting like this in Photon Fusion?

MissMagic
Автор

Hey, as always very well explained and i'm glad you continue to update your Photon series that i follow for years now.
But something is disturbing me. Why not just using PlayerProperties ? Here you are filling the RPC Buffer for things that are litterally Player data, and asking a call each time someone join. PlayerProperties will allow the new player to already have everything set when joining the Room with the PlayerList so the player setup can be done locally.

infokubarcade
Автор

how to sync. a Item spawn, to every player see it.
So if one player see that item is there, the another see too.
Because i don't know how to do it.
I have the Item Spawn script, but when ever i start the game, i see the item (if the random number set "0"), the another player can't see is there (Because his random number set on "1").
The random number is in the Random Item Spawn script.
Please help!
Thank you!

mmazuk