Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Phuzz on December 25, 2016, 08:07:19 AM

Title: Player Data "texture" through PHOTON Networking [SOLVED]
Post by: Phuzz on December 25, 2016, 08:07:19 AM
Hello,

Upon sending an RPC Event with string data it seems like everything is going well, I have the string as the player name, but I need to send player Avatar which is a "texture" to the other player, how can I achieve this?

I really need a solution, thank you
Title: Re: Player Data "texture" through PHOTON Networking
Post by: dudebxl on December 27, 2016, 12:18:47 PM
look for LZFCompressTexture/LZFDecompressTexture actions ecosystem.

You can compress the texture into a string and send the string over the network and decompress on the other side. Might help.
Title: Re: Player Data "texture" through PHOTON Networking
Post by: Phuzz on December 28, 2016, 06:35:59 AM
Thank you very much, this solved the problem for me