How do I Share an Image in Multiplayer Chat Room ?

Get help using Construct 2

Post » Wed Jul 12, 2017 7:09 am

PS : @random
Just found out it works on small images (which by the way is also giving a huge chunky url)
but when i choose a big image file, like a screenshot from my mobile.... the host keeps leaving the room

Can we fix this??? because its really important to share screenshots, right?... that's the whole point!!!
B
16
S
5
Posts: 80
Reputation: 1,233

Post » Thu Jul 13, 2017 12:42 pm

At which point does the host leave?
When you choose the image from the File Chooser or when you send the Data URL?
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091

Post » Thu Jul 13, 2017 3:13 pm

randomly wrote:At which point does the host leave?
When you choose the image from the File Chooser or when you send the Data URL?


When i send the data url of a large image!!! like a screenshot image,
but if i send data url of a small imag say 100x100, it is sent alright!

PS : @randomly Also could you please help me in this- viewtopic.php?f=146&t=193899
Please!!!
Thank you
B
16
S
5
Posts: 80
Reputation: 1,233

Post » Thu Jul 13, 2017 8:46 pm

I don't really know anymore.

One last idea would be to compress the string before sending it.
Try this plugin.

  1. Compress the DATA URL
  2. Send the compressed string
  3. When receiving, decompress
  4. Apply to Sprite
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091

Previous

Return to How do I....?

Who is online

Users browsing this forum: Syazanie Amirin and 6 guests