How do I stop "Is overlapping" firing for many instances

Get help using Construct 2

Post » Tue Mar 25, 2014 3:11 pm

Alright, here is the problem. I have an object which display text on the screen when it is overlapping the player sprite. There are multiple instances of the object.

In the event sheet for the layout I have a couple of events:
Object > Is overlapping > Player > Set Position for Text (On Screen)
and
Object> X Is overlapping > Player > Set Position for Text (Off Screen)

It works fine when there is only one instance, but the moment there are several it stops displaying the text at all...
I have the feeling that "Is overlapping" checks for the specific instance and not whether it the object type in general is overlapping. Is there a way around this?
Thank you very much for your time.
B
13
S
2
Posts: 34
Reputation: 757

Post » Tue Mar 25, 2014 3:16 pm

My apologies. I've fixed it. I simply set the X is overlapping ABOVE the Is overlapping in the event sheet, allowing it to fire sooner, then check if it is overlapped. This worked. Thank you and sorry for any inconvenience!
B
13
S
2
Posts: 34
Reputation: 757


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 2 guests