Hi everybody,
I want to add sprites to my app with a different interval or delay time i.e. the sprties are added in random order.
Firstly I tried the following code but the interval is just randomized once at the first time.
[self schedule@selector:(addsprites) interval:(1+arc4random()%4)];
Then I tried to use Repeatforever but the delaytime doesn't work at all, sprites are added every frame.
Does anyone know how to achieve this?Thanks for your help.