torus's Recent Forum Activity

  • Hello,

    i know there were a topics like this,

    but i can precise my needs more exactly then my predecessors.

    Im working on the game in which

    the player is moving around with his avatar,

    in top-down view.

    There are some enemies, and when they see avatar

    (line of obstacle) they follow him.

    Making enemies find path to hero beetween static obstacles

    like walls etc. is easy. But how to make them avoid each other?

    They are dynamic, so when they colide, there is a need

    to stop them, regenerate obstacles map, refind paths and

    once again put them in the motion. This should be simple,

    and good-working with few enemies, right?

    It's not. The reason is that the enemies are copies of the same

    instance - and when we try to regenerate map for enemy to make

    it avoid other enemies, it sees itself as obstacle. Then he blocks,

    or starts moving in funny ways. So here is my question - how to make

    instance not see itself as obstacle, but see as obstacles other instances of same object? Is there any way?

    PS

    I know someone is gonna to put here link about steering behaviors.

    Its not gonna work with this type of game, and i think its very hard to implement in construct made game.

    Im sure that it can be done better with regenerating map after collision.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
torus's avatar

torus

Member since 15 May, 2013

None one is following torus yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies