Hi,
I'm having issues when I try to schedule timers to run *once*, but after a few seconds. For example, if I have:
[self schedule:@selector(spawnHero) interval:5.0f repeat:0];
..in my layer's init method, I expect to be saying "Call spawnHero after 5 seconds, then don't call it ever again." But instead, what appears to be happening is that this timer is being deferred until later (presumably until the layer is added to the scene and isRunning is YES), but when "later" comes around, the scheduler determines that this timer is past its expiration date and it gets unscheduled before it even had a chance to fire once.
I tried adding this schedule call to onEnter (overridden in my layer class) after calling [super onEnter], but a similar situation happens.
Setting the repeat parameter to 1 causes the timer to fire endlessly for other problematic reasons that I won't get into here.