datomsk669's Recent Forum Activity

  • Alright. So that helped. I now got the distance variable working so it reacts and accelerates when the Chaser gets close.

    System 0<distance(Chaser.X, Chaser.Y, Chased.X, Chased.Y)<500 Set bullet Acceleration to 500

    How would I make it choose a direction. My current action is

    Set Bullet angle of motion to random(random(Sprite.8Direction.MovingAngle+random(180))

    But all it does is cause the Chased to spiral around and freak out... which of course means it's not getting very far.

    I'll add more to slow it down when the distance widens. I imagine adding a path finding behavior will allow it to move around obstacles.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm working on a chase game and I'm having a hard time getting my target sprite (the chased) to move away from the player sprite (chaser). Another problem I've been having is when I have the sprite cornered and I get close to it, it has a habit of shooting off to another corner. Truth be told I'm just having a hard time in general getting the behavior of the chased down... Ever attempt it gets faster as the chaser gets closer, while evil, would defeat the purpose of the game. Any help on how to make to make this work?

datomsk669's avatar

datomsk669

Member since 28 Feb, 2013

None one is following datomsk669 yet!

Trophy Case

  • 11-Year Club

Progress

11/44
How to earn trophies