Sprite reveal another one under it

Get help using Construct 2

Post » Sat May 18, 2013 11:51 am

Hello guys!
This is kind of urgent
In the middle of a game jam here.

In my game you create a sprite with the left click that appears temporally. There are invisible sprites through the layout.
I would like that when the sprite you create overlaps one of the non visible ones, they reveal INSIDE or UNDER the one you created, for its duration.

I'm assuming the right way to do this is with the blending effects, but I haven't been able to achieve this effect.
Any help please?
B
8
S
2
Posts: 39
Reputation: 1,492

Post » Sat May 18, 2013 1:20 pm

So...I apologize for bumping this, but I'm running out of time and like Obi-Wan, you're my only hope
B
8
S
2
Posts: 39
Reputation: 1,492

Post » Sat May 18, 2013 5:11 pm

Could somebody check my project and see if they could find a way to make the WALL sprite appear inside the ECHO sprite when left click is down? Please?

https://www.dropbox.com/s/7fdknuzfuteo38g/BLIND.capx
B
8
S
2
Posts: 39
Reputation: 1,492

Post » Sat May 18, 2013 6:05 pm

blind_1.capx

Put the echo and wall on their own layer. Echo on top with blend mode: 'Destination atop'. Set the layer property 'Force own texture' to 'Yes'.

And I put more transparent area around the echo sprite so it covers the walls.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Sat May 18, 2013 6:36 pm

Thank you, Ramones!
Only 1 hour for this game jam to end, and you saved my project :)
Cheers
B
8
S
2
Posts: 39
Reputation: 1,492


Return to How do I....?

Who is online

Users browsing this forum: armaldio, blackhornet, makkancs, TiagoCesar and 17 guests