Nekk's Recent Forum Activity

  • Thanks Asmodean going to check it out.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello everyone

    I looked around for the answer to this but couldn't find one, maybe one of you guys can help.

    So here's the dilemma. I want my enemy AI to shoot at my player when the player is directly in front of the enemy, on the X axis only and only when the player is in front not behind and keep shooting inside the range. I don't know if that makes sense.

    So say the enemy firing range is 300, so it would go: if player.X<300 of enemy.X {keepshooting} and only in front of where the enemy is facing. Hope that makes sense, and I know that it seems so simple and it probably is but for the life of me I cannot put the logic together. Thanks in advance.

Nekk's avatar

Nekk

Member since 6 Sep, 2015

None one is following Nekk yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies