Converting a Sprite to Base64 encoded string

For developers using the Construct 2 Javascript SDK

Post » Tue Aug 12, 2014 4:59 pm

I need to convert a Sprite to a base64 encoded string, are there any prebuilt functions I can use? Second best solution is to have the Sprite as a byte Array.
B
18
S
7
Posts: 88
Reputation: 1,424

Post » Tue Aug 12, 2014 5:55 pm

maybe this pode's behaviour will be of assistance?

viewtopic.php?t=68494&start=0
Be nice until it's time to not be nice
B
36
S
10
G
9
Posts: 293
Reputation: 6,712

Post » Tue Aug 12, 2014 8:16 pm

Thanks @JohnnySheffield, I could use most of that behavior. Now I have Sprite up and download in my plugin :D
B
18
S
7
Posts: 88
Reputation: 1,424


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests