How to make object run from the player?

0 favourites
  • 4 posts
From the Asset Store
Full game Construct 2 and Construct 3 to post on Google Play
  • Hello,

    im new to the Construct, fresh off basic game tutorial and I want something really basic on my own. At least I think this could be basic, but hey, what do I know about making games?!

    anyhow, I checked tutorials on site and forums and didnt find tips that could help me so maybe you could point me to the place, where someone has already talked about it (im sure someone has).

    The problem:

    I want to make game where player must catch dog, and dog is always running away from him. Player moves to his direction, and dog is always trying to stay at the same distance. I know how to make object move toward player, but how to make it move away?

    Im really sorry if this is a repost, I just couldnt find it on forums.

  • Just spent 2 mins on this. It does the job. But without knowing (visually) what sort of scene you're trying to make, it is a bit hard to figure out what you wanted.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This should work if the object has a bullet behavier:

    every tick ---> object rotate 1 degrees(x=Plyer.Y,Y=Player.X)

    This makes it rotate away from the main player.

  • Thank You very much both of You, those tips works just as I need, ill experiment in using them both :)

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