新手求教 顺序动画相关问题

请问怎样 让精灵一秒出现一个 研究一阵 经常是所有精灵一起出现 或只有一个出现 求助

bool Window::init()
{
vector<CCSprite*> spr;
spr.resize(10);
for(size_t t=0;t<spr.size();++t)
{
spr->setPosition(ccp(t*19,160);
this->addChild(spr,t,t);
}
schedule(schedule_selector(Window::update),1…0f);
}
void Window::update(float dt)
{
//想让精灵一秒出现一个
}

— Begin quote from ____

skoky 发表于 2012-8-16 08:57 url

/**
repeat will execute the action repeat + 1 times, for a continues action use kCCRepeatForev …

— End quote

谢谢回复 已处理

/**
repeat will execute the action repeat + 1 times, for a continues action use kCCRepeatForever
delay is the amount of time the action will wait before execution
*/
void schedule(SEL_SCHEDULE selector, float interval, unsigned int repeat, float delay);

说明写得很清楚,interval 每次调用间隔,repeat重复次数,delay 延迟多少秒后开始调用。

其他逻辑我想你应该懂的。