How do I apply a stroke around the sprite?

Get help using Construct 2

Post » Thu May 19, 2016 7:31 am

Is there an easy way to apply 1 pixel (or any pixel) wide stroke around sprites on run-time?

I have searched WebGL effects already but I could find any effect to suit to my problem. If there is an effect, please let me know.

Quick example what I mean:
h*t*t*p*s://www.dropbox.com/s/00d5u6z6n13xd5s/example.pdf?dl=0

Of course I could create a new sprite 2 px bigger than the target sprite and place bigger one behind the target sprite. That would create a "fake" stroke effect to the sprite. Problem is, I want to apply stroke around sprites which are animated. That means, I need to make 2 px bigger versions of every possible animated sprites. To me, that sounds not very efficient way.

Ideas and examples are welcome ^^

-M-
B
16
S
2
Posts: 60
Reputation: 984

Post » Thu May 19, 2016 8:45 am

B
22
S
4
G
3
Posts: 61
Reputation: 2,683

Post » Thu May 19, 2016 11:33 am

Tuiii wrote:https://www.scirra.com/forum/effect-outline_t75574?&hilit=Outline+r0j0hound


Thank you very much!! :)

-M-
B
16
S
2
Posts: 60
Reputation: 984


Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi, tarek2 and 11 guests