Hi, I'm from Argentina and i'm new in the forum. I'm just starting with Processing.
Sorry for my english.
Here is my problem:
I have this conditional
void tocandoHermanitos() {
if (tocandoHnos==true) {
tocandoHnos = !tocandoHnos;
cantPal= cantPal + 1;
println(cantPal);
}
}
when tocandoHnos is true i want to add a value to "cantPal"... my problem is that "tocandoHnos" is always true because the circles keep toghether, so cantPal is always adding new values. (line 202)