How do I show a sprite only inside another

Get help using Construct 2

Post » Wed Jun 01, 2016 11:20 am

I've been searching around trying to find an answer for a few hours now.

Basically what I want is to show a tiled background that lies behind the actual backround to be shown inside a sprite all the way in the foreground. Is this possible with any combination of effects, blend modes or maybe even third party plugins. I want the system to work like this so that the spikes look different from one another, but also so that I can rescale them without worrying.

Is there maybe something else I could do that would work better?

example .capx: https://www.dropbox.com/s/8o42ero5bopq8 ... .capx?dl=0
B
8
S
2
Posts: 24
Reputation: 536

Post » Wed Jun 01, 2016 11:45 am

I think Paster is your solution.

plugin-paster_t88750
A plugin by @R0J0hound
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Wed Jun 01, 2016 1:07 pm

@99Instances2Go

I tried using the textured quad feature, but I can't geit it to work correctly...

Would really appreciate some help :)

.capx: https://www.dropbox.com/s/8o42ero5bopq8 ... .capx?dl=0
B
8
S
2
Posts: 24
Reputation: 536

Post » Wed Jun 01, 2016 6:38 pm

Found an answer to my problem: http://berryijmker.com/how-to-create-a- ... t-2-html5/

In your top layer set “Force own texture” to yes and “transparent” to no. Create a sprite in that layer and set the sprites “Blend mode” to “Destination out.”
B
8
S
2
Posts: 24
Reputation: 536

Post » Wed Jun 01, 2016 9:41 pm

Nice !
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950


Return to How do I....?

Who is online

Users browsing this forum: Kermad, yiuyiu6666 and 21 guests