Hello,
I have 10 different sprites in a family, I have created 2 family instance variables called "Life" and "Attack".
So the 10 sprites (blue,yellow...) have those family variables.
I would like to do something like this :
When a sprite from the family is on collision with the blue sprite (wich is in the family) , substract from their "Life" the attack of my blue sprite.
---> I don't want that the blue sprite (in the family) lose it's "Life" when it is on collision with an other blue sprite. So I want to select a group of sprite among the family (every sprite but not the blue one).
Hope you will understand, otherwise I will put a picture of my program.
Thanks.