Test if Sprite is completely overlapped

Get help using Construct 2

Post » Mon Mar 11, 2013 5:47 am

Say I have MainSprite1 and MainSprite2. They have the same size. They both have a "ShadowSprite" added to there Container which is put behind the MainSprite and pinned to it.

I want to Left Click on a MainSprite, and make it create and 'stack' another MainSprite ontop of it, giving it a +1 ZIndez of the Clicked MainSprite, so that it appears on top of it.

I've been trying to get the events correctly, but the path I was taking was really bad, and now I'm out of ideas. Any suggestions? Thanks
B
6
S
1
Posts: 31
Reputation: 1,237

Post » Mon Mar 11, 2013 3:46 pm

Mouse : On left button Clicked on MainSprite
          -> System : Create Object MainSprite On Layer X at MainSprite.X, MainSprite.Y
          -> MainSprite : Move to top of layer

?
Your topic title doesn't match your description ...
B
39
S
15
G
5
Posts: 295
Reputation: 6,089


Return to How do I....?

Who is online

Users browsing this forum: jul, nimos100 and 23 guests