How do I select specific items of the same sprite

Get help using Construct 2

Post » Sun Dec 07, 2014 1:06 pm

Hi,
I have a project that uses sprite1 with 10 animations frames. There can be 10's of the same sprite simultaneously on screen.
On the screen I have another sprite,sprite2 that is significantly bigger that the first sprite.
I need to set visibility to not visible to all items of sprite1 that are not overlapping sprite2.
Is that possible?
B
5
S
1
Posts: 31
Reputation: 431

Post » Sun Dec 07, 2014 1:25 pm

Of course. Just use sprite1 is overlapping sprite2 as condition, make sprite1 visible. Then in another event sprite1 is not overlapping sprite2, make sprite1 invisible.

or

for each sprite1
- is overlapping sprite2: make visible
- else: make invisible
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Sun Dec 07, 2014 2:27 pm

@mindfaQ I'll try this, THNX
B
5
S
1
Posts: 31
Reputation: 431


Return to How do I....?

Who is online

Users browsing this forum: bluesun66 and 11 guests