How do I detect that there is no longer a collision

0 favourites
  • 5 posts
  • Hello,

    So I have made a button, sprite with a flower (attached drag and drop to it), whenever I move my flower on to the button I've made a collision detection the way it will turn on the particle by changing its position from the outside of the screen to the position of the button, and everything works great. But now I want my particles to go away why I move away the flower from my button. How do I detect that there is no longer a collision?

    Thankds!

  • Make a collision event for the objects and if you righ click the event you can invert it. This is the same as saying if there is NO collision

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use the condition 'on overlap with', spark in an action.

    Use a second and inverted 'on overlap with', un-spark in an action.

    Probaly combined with a 'once while true'.

    You can not invert the trigger 'on collision'.

  • Thanks 99Instances2Go, works like a charm, the invert suggestion regarding "on collision" kept me really busy as it was greyed out

  • You can never invert a trigger.

    Its a 'fire' thingy. When it happens, it throws kinda a fit at your events, and that trigger runs its actions independend from where you have coded it in the list of events.

    The invert would be 'when it not triggers' and that is the same as 'on every tick' + somewhere random in the list of events. That makes no sense.

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