playMaker

Author Topic: Player Data "texture" through PHOTON Networking [SOLVED]  (Read 2650 times)

Phuzz

  • Full Member
  • ***
  • Posts: 101
    • Bzilla Games
Player Data "texture" through PHOTON Networking [SOLVED]
« 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
« Last Edit: December 28, 2016, 06:37:25 AM by Phuzz »
Bzilla Games "Education with a Tickle!"
Qbucket Games "Voxel Games"

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: Player Data "texture" through PHOTON Networking
« Reply #1 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.

Phuzz

  • Full Member
  • ***
  • Posts: 101
    • Bzilla Games
Re: Player Data "texture" through PHOTON Networking
« Reply #2 on: December 28, 2016, 06:35:59 AM »
Thank you very much, this solved the problem for me
Bzilla Games "Education with a Tickle!"
Qbucket Games "Voxel Games"