Saving a sprite to image file, is that possible?

Discussion and feedback on Construct 2

Post » Fri Jul 31, 2015 3:22 pm

As I said in another thread, Im currently trying to make an image tweaking program (PC with node webkit). Just a few adujstable webgl effects aplied on a loaded image.

Now im wondering how can I actually save the tweaked picture, if this is possible.

For the "actually applying the effects on the image" part, while I still didn't get to that, I guess I could paste the image on a secondaty sprite with the paster plugin to get the picture with the effects "burned" on it.

But is there a way to save a sprite frame to disk? Maybe some way to access the URI of a sprite?

Thanks!
B
26
S
7
G
1
Posts: 74
Reputation: 2,092

Post » Fri Jul 31, 2015 10:58 pm

https://mega.nz/#!HZVmGbxC!o0SDOWuxco4j ... TbzzHm4bHU

drag an image to the windows
press "S" to save it
Image
B
28
S
11
G
2
Posts: 139
Reputation: 3,299

Post » Sat Aug 01, 2015 12:13 am

Nice! Thank you!

But still it's not what I need (Although it helps anyways!)

What I need is to save the image of a sprite I'll be creating in runtime (The original image with webGL effects "baked in") instead of a dropped image or a loaded image...

If there is a way to access the URI of the sprites you are using on the program (If they actually have URIs to begin with, wich I dont know :lol: ) this would be easy, but if that is possible, I dont know how...
B
26
S
7
G
1
Posts: 74
Reputation: 2,092


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests