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

0 favourites
  • 2 posts
From the Asset Store
The Fire of Fenix
$1.60 USD
60% off
Full game Construct 2 and Construct 3 to post on Google Play
  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)