Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pursuing object
#1
A question, if I have two objects and one is the player who can move with the keys and the other is the enemy who is stationary in one place on the screen.

The question would be how can I make it so that when the player is close to the enemy he starts chasing the player and if the player moves away the enemy stops chasing him and returns to the starting position.
Reply


Messages In This Thread
pursuing object - by aliensoldier - 04-11-2024, 01:51 PM
RE: pursuing object - by Marcus - 04-11-2024, 04:59 PM
RE: pursuing object - by aliensoldier - 04-11-2024, 08:01 PM
RE: pursuing object - by Marcus - 04-11-2024, 08:18 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)