alessandrovs's Forum Posts

  • 4 posts
  • Tried it, it kinda works. The only problem is that when the enemy's X/Y is equal to the player's one it starts to shake and wobble, and it stops

  • I tried to do so, apparently it considers only the first two events (so it only moves on X or on Y).

    Idk, I really don't know how to do that...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nope, I think i explained it badly.

    The player object obviously moves around, I have set up a Line of sight behaviour, so that when the player is near the enemy it starts chasing it. If I use the pathfinder behaviour the bad guy moves greatly but it stops when it reaches the position where the player was at the start of the pathfinding. If I use bullet + rotation it moves diagonally, the thing I don't want it to do.

    However, you got the concept of the movement. I can't figure out how to do it.

  • I'm making an action RPG, I can't figure out how make the enemy sprite chase the player without making it move diagonally.

    Here are some

    horrible

    pictures to explain, I want the enemy to move like this

    Instead, it moves likes this

    I tried with the bullet behaviour + rotating the sprite towards the player but nope, can somebody help me?

  • 4 posts