[PLUGIN] Canvas

Post your completed addons to share with the community

Post » Sat May 17, 2014 8:58 pm

@leofenix , It's your picture. If you check closely you will find gray pixels on these areas. I crashed the blacks/whites and the result is much better. You can't get rid of a slim white outline around the black lines though, I don't know if that is a limitation on the Canvas plugin or there is some other way to do pixel perfect fills.
You do not have the required permissions to view the files attached to this post.
composer - multimedia artist
www.eli0s.com/en/
B
53
S
21
G
3
Posts: 1,126
Reputation: 8,093

Post » Sun May 18, 2014 1:07 am

@R0J0hound: I have found a bug - it won't let me paste layers containing tilemaps.
B
19
S
3
G
1
Posts: 29
Reputation: 1,038

Post » Sun May 18, 2014 6:54 pm

@eli0s
It's a limitation of the flood fill algorithm used. To be able to fill those gray pixels too would require an algo that fills pixels whose colors are close to the original by a threshold.

@PopperOfCorn
It's a known bug when webgl is on. It works if webgl is off, but other than that I don't have a fix for this plugin. However look at the Paster plugin as it works there.
B
79
S
24
G
54
Posts: 4,738
Reputation: 40,739

Post » Sun May 18, 2014 7:28 pm

@R0J0hound , I understand. The same happens even within Photoshop when you bucket fill antialiased lines. Only vector software overcome this limitation. TVPaint animation (which also use raster graphics) has a nice feature, it lets you "overfill" by an amount of pixels the flooded area, thus eliminating the gap around the lines, but it does it in a way that doesn't erase the lines, it colorizes the unpainted areas. Anyway, thanks for the clarification ;)
composer - multimedia artist
www.eli0s.com/en/
B
53
S
21
G
3
Posts: 1,126
Reputation: 8,093

Post » Wed May 21, 2014 9:17 am

Thanks for the plugin @R0J0hound
B
136
S
22
G
16
Posts: 884
Reputation: 30,704

Post » Mon May 26, 2014 8:16 am

Hey @R0J0hound. You've done some really nice work with this since the last time I used it before switching to paster. One question though. Are objects being pasted WITH their webgl effects going to be supported sometime in the future?
B
28
S
8
G
1
Posts: 196
Reputation: 2,995

Post » Tue May 27, 2014 6:15 am

@corlenbelspar
Probably not with this plugin.
B
79
S
24
G
54
Posts: 4,738
Reputation: 40,739

Post » Tue May 27, 2014 9:46 am

I was just wondering because I used paster to paste silhouettes of characters in front of obstructions when they're behind them and I had used tint effect to make them show up with different colors based on their character type. Like enemies are red, friends are green, etc. Are you going to continue development on paster by any chance? Or is there a work around I can use to pull off what I did with paster, in canvas?
B
28
S
8
G
1
Posts: 196
Reputation: 2,995

Post » Fri May 30, 2014 7:15 pm

Hello,
Someone knows if it is normal to have a long delay when using the floodfill on Android devices? Or could be an issue of my game/graphic?

Thanks in advance!
B
3
Posts: 7
Reputation: 189

Post » Sun Jun 01, 2014 6:29 pm

@corlenbelspar
Effects only work in paster currently. And unfortunately there isn't a simple way to do a coloring effect in just canvas. Also development of both plugins is currently suspended due to time and procrastination on my part, but they are in working order for what they do now.

@leofenix
Floodfill is a slow operation as it is so it would make sense it would be slower on android.
B
79
S
24
G
54
Posts: 4,738
Reputation: 40,739

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 5 guests