Victory Condition

Hi everybody,
I have a simple Collision Detection System which i’m using to make kind of a small Pac Man like game. Right now I have this circles in those Detection areas and when my character pass over them they disappear (I’m bypassing them), I would like to make some particles bop when all the circles are bypassed and restart the game making them appear again,how i can say to the system “now all the circles are bypassed so make the particles bop and after like 5 seconds unbypass the circles again?”
As usual, I’ll be glad to give more infos and provide an example patch of the system.
Thank you all!
R.

I’d go python for such an event. If you have a trigger each time you bypass a circle, run a python script (probably easiest with the right Execute DAT) that checks if all circles are bypassed. If true, make particles bop and start a 5 second Timer CHOP running. The Timer CHOP can have another short python line in it ‘onDone’ condition to unbypass all the circles.

Hi Ben and thanks for the reply,
I understood the method and I think this could solve my situation but I’m totally new to python and actually i don’t know how to trigger an event using multiple OPs,do you have some resources i can study to achieve this behavior?
Thanks a lot again!
R.

How are you getting the detection signal here? If its a CHOP channel, then check out the CHOP Execute DAT. If its a DAT, DAT Execute DAT or a parameter, Parameter Execute DAT and so on. Then I’d recommend checking the Operator Snippets for that one and there some examples in there in each case.

1 Like

Thx Ben!It is a chop,i will try to arrange something using the CHOP Execute. I’ll take a look at the operator snippets for more help!
Thanks again!