tpd1's Forum Posts

  • 9 posts
  • thanks a lot Guizmus, this should work I'll give it a try!

  • I've tried those things, but what I get is that the 2 movements (i.e. running away from player and moving away from corner) start switching between each other and the sprite rotates back and forth, going nowhere.

    What am I missing?

  • I forgot to say that the enemy has Bullet behabiour

  • I really need some help here.

    What is the ?standard? way of avoiding that an enemy being chased by the player get stuck in corners?

    I have a very simple, square layout. When the player get to less than certain distance, I

    ?     set the angle of the enemy to angle(Player.X, Player.Y, Enemy.X, Enemy.Y)

    ?     set enemy.speed = Player.speed + 10

    I?m sure this is an easy problem for you guys, but it?s driving me nuts.

    Any help will be much appreciated

  • My mistake, I thought that the post didn't get out. My apologies

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I?d like to be able to turn it on and off. Is it possible somehow?

    Thanks in advance

  • One of the engines has a promotion system to choose the alpha boid ,(the one that all the others will seem to follow). After the alpha gets destroyed, it would choose the next boid to take over the overall flock's path.

    Any luck with the "alpha boid" behabiour that yo wanted? I need something like this too to represent a group of cows being herded.

    Thanks heaps for any help.

  • Perhaps tag the furthest away for the duration of the run ?

    like, .. pick leader whos furthest away, and pick its UID.

    set alll other sheep angles towards sheep with UID.

    Thanx

    How do I "pick its UID"?

  • Hi, this is my first post

    I need to simulate a group of cows being herded by the player. When the player moves close to the cows, all the cow objects move away from the player. Not spreading in every direction, but the cows should follow a leader. The leader is the cows temporarily furthest away from the player. Therefore the leader changes all the time. I know how to identify the leader, but how do I make an object move towards another object of the same type (i.e. the leader) ?

    Any suggestion will be much appreciated. Thanks in advance.

    AJ

  • 9 posts