0 Favourites

Sprite is not touching sprite detection

  • Its hard to title this so ill make a small explanation.

    In a top down shooter im making, their are different rooms to enter and explore, to avoid knowing whats up ahead i have a darkness sprite covering these rooms.

    I am currently using this darkness sprite to stop the enemy from activating their AI before the player enters the room making the darkness disappear.

    I have a simple zombie enemy that follows these rules, but since i am duplicating this zombie- if just one zombie is touching the dark- none of them will have their AI On.

    (im using a variable to detect darkness atm)

    So is their a way to make it detect if a zombie is not touching the darkness so i can activate their AI...

    IE:

    Zombie is not touching darkness => [AI commands]

    Maybe i'm just being dumb and I'm missing a simple command- but ive yet to find anything.

    Shoot me your ideas please! <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Add Zombie is overlapping Darkness, then invert it :)

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