How do I

0 favourites
  • how do I get cloned enemy's to collide with themselves

  • Cloned or copied?

    So..

    Instances of the same object or different objects?

  • Cloned or copied?

    So..

    Instances of the same object or different objects?

    the same object randomly spawed

  • Insert all objects into one family and make an event where the family collides with itself?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Insert all objects into one family and make an event where the family collides with itself?

    it one sprite randomly spawned all over the layout

  • > Insert all objects into one family and make an event where the family collides with itself?

    >

    it one sprite randomly spawned all over the layout

    Please explain what collide with themselves means..

    What movement behaviour do they have, what actions are attached, what do you want to happen when they collide?

  • >

    > > Insert all objects into one family and make an event where the family collides with itself?

    > >

    >

    > it one sprite randomly spawned all over the layout

    >

    Please explain what collide with themselves means..

    What movement behaviour do they have, what actions are attached, what do you want to happen when they collide?

    I just don't want them to stack up. just collide I don't want to destroy then or anything

  • What movement behaviour do they have?

    Or..

    Do you mean you don't want them to overlap when created?

    If that's your question, there are multiple solutions to be found on the forum..

  • What movement behaviour do they have?

    Or..

    Do you mean you don't want them to overlap when created?

    If that's your question, there are multiple solutions to be found on the forum..

    I just do want them overlapping yes

  • so something like

    sprite is overlapping sprite

    sprite destroy

    system create sprite at : x=random() y=random()

    would work?

  • so something like

    sprite is overlapping sprite

    > sprite destroy

    > system create sprite at : x=random() y=random()

    would work?

    I don't want to destroy them

  • > so something like

    >

    > sprite is overlapping sprite

    > > sprite destroy

    > > system create sprite at : x=random() y=random()

    >

    > would work?

    >

    I don't want to destroy them

    Why not?

    You are creating a new instance in the same event..

    So the number of instances stays the same..

  • >

    > > so something like

    > >

    > > sprite is overlapping sprite

    > > > sprite destroy

    > > > system create sprite at : x=random() y=random()

    > >

    > > would work?

    > >

    >

    > I don't want to destroy them

    >

    Why not?

    You are creating a new instance in the same event..

    So the number of instances stays the same..

    that just dosent work for me and the game I am trying to make

  • Well I gave this answer, because it's a way that works..

    If you want a specific explanation for your specific situation, it would probably be much easier if we knew what your specific situation is..

    Could you provide an example?

  • Well I gave this answer, because it's a way that works..

    If you want a specific explanation for your specific situation, it would probably be much easier if we knew what your specific situation is..

    Could you provide an example?

    alI i want all enemy's to collide with each other without destroying each other because they are all chasing the player.

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