playMaker

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

Phuzz

  • Junior Playmaker
  • **
  • Posts: 95
    • View Profile
    • Bzilla Games
Player Data "texture" through PHOTON Networking [SOLVED]
« on: December 25, 2016, 06: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, 04:37:25 AM by Phuzz »
Bzilla Games "Education with a Tickle!"
Qbucket Games "Voxel Games"

dudebxl

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Re: Player Data "texture" through PHOTON Networking
« Reply #1 on: December 27, 2016, 10:18:47 AM »
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

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