EDplus's Forum Posts

  • 4 posts
  • Hello,

    I’ve created a family called Enemies, added pathfinding behavior, they move towards a Wheel object.

    Problem: There are multiple Enemies on the screen and they follow the Wheel, but they can overlap other Enemies (be on top of each other), i want enemies to be the obsticle, so that other Enemies can go around Enemies. If i add an Enemy family obsticle, Enemies dont move. If i add solid to Enemy family behavior they don't move too.

    Code:

    Every 0.5 seconds = Enemies - Find path to Wheel.X, Wheel.Y

    Enemies - On pathfinding found = Move along the path.

  • Fixed this by doing:

    RainCloud - On Created - Play sound Rain, Tag = RainCloud.UID&"Rain"

    RainCloud - On Destroyed - Stop sound, Tag = RainCloud.UID&"Rain"

  • There is a button that spawns an object, once the object is spawned it plays a looping sound "Rain".

    Once i double click the object, it gets destroyed and stops "Rain" sound with it.

    But there are multiple of same objects on the screen and i don't want all "Rain" sounds to be stopped.

    How do i fix this?

    RainCloud - On Created - Play sound Rain

    RainCloud - On Destroyed - Stop Rain sound

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So i have set drag and drop functions, but when i drag and drop object to same object, they just two stay there, what i want is to make recent placed object to be placed on free spot, not on top of it.

  • 4 posts