Overlaps or collide count
fZolee
Member, PRO Posts: 34
I would like some help as I'm having some trouble counting the number of the same actors overlapping each other.
The middle actor should have displaying "2" but I guess something is wrong with my logic.
Can anyone help me out please?
Thanks
Z
Comments
Here's the tricky part about rules in GameSalad: once a rule condition is true, that rule starts to trigger (run) and doesn't trigger again until that rule condition has become false and then true again. So the instant the actor collides with another actor, it increases the count by 1 and then the rule is done. The actor would have to stop colliding with any other actors before the rule would trigger again.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
@tatiang,
Thank you, I knew it won't be that simple. I will try to work around it keeping in mind what you said.