[PLUGIN] Paster

Post your completed addons to share with the community

Post » Fri Dec 06, 2013 7:29 pm

Very useful plugin. Thanks man!
B
23
S
6
G
2
Posts: 22
Reputation: 1,996

Post » Sun Dec 22, 2013 6:49 pm

@R0J0hound where i must copy the plugin ?
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Sun Dec 22, 2013 8:01 pm

@delgado
Just drag the c2addon file into C2's window and it should install.
B
92
S
32
G
107
Posts: 5,274
Reputation: 69,959

Post » Sat Jan 04, 2014 3:23 pm

Hi,

I tried the example capx and get this:
B
119
S
30
G
8
Posts: 214
Reputation: 13,160

Post » Sun Jan 05, 2014 8:57 pm

@gonzdevour
The error is from pasting the canvas onto itself which now isn't allowed. Initially this was permitted by the runtime but it's an edge case that doesn't work on all exports so a more recent release prevents it from happening and throws the error.
B
92
S
32
G
107
Posts: 5,274
Reputation: 69,959

Post » Sat Jan 11, 2014 11:46 am

like he says just drag paster in c2 windows and it will INSTALL. I have done it
B
250
S
39
G
15
Posts: 1,953
Reputation: 40,623

Post » Thu Jan 16, 2014 7:15 pm

@R0j0hound
Anyway we can get Paster to be able to save to a PNG and Base64. I'm working on a Avatar face maker, but the C2 screencap is overkill on size. Paster is perfect for the sizing and final output.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,018

Post » Thu Jan 16, 2014 8:42 pm

@jayderyu
The plugin has a .imageUrl expression to get a link to the image and you can then download it using the "invoke download" action of the browser object.
B
92
S
32
G
107
Posts: 5,274
Reputation: 69,959

Post » Thu Jan 16, 2014 8:59 pm

My error. Didn't notice the expression. :) you rock :)
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,018

Post » Fri Jan 17, 2014 8:42 am

I noticed that in the paster plugin the alpha doesn't seem to be retained properly when getting an image from the .imageurl expression. Here's a capx to demonstrate: www.amirai.net/bugs/canvas_and_paster_bugs.zip

Drag the mouse in the top left quadrant of the screen to paste in the canvas plugin and show the result of the .imageurl expression on the right, and do the same in the bottom left for the paster plugin. The result has a dark border in the transparent area around the pasted sprites.

Also, there appears to be a bug with the canvas.alphaAt expression as well (the fourth number in the text object). It only seems to return 0 or 1.
Moderator
B
94
S
33
G
33
Posts: 3,006
Reputation: 27,749

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests