Hello everyone,
I've got a question about ccRepeat.
I have this code:
id repeat = [CCRepeat actionWithAction:lol times:[spriteArray count]];
I want to change something when the repeat is on second time, but I don't know how to do it.
For example, this is what I'm expecting:
if (repeat.time == 2)
{
Do something
}
This code is definitely wrong so can you guys suggest me some ideas or some resources?
I tried to use ccSequence but it didn't work for me.
If this question doesn't make sense, please ask me, so I can fix it.
Thanks.