You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixed it
add ActionInstant::update(time) to these two function.
void CCBSetSpriteFrame::update(float time)
{
ActionInstant::update(time);
static_cast<Sprite*>(_target)->setSpriteFrame(_spriteFrame);
}
Steps to Reproduce:
If you use the sound in ccbfile by cocosbuilder.
it will play the sound effect repeat, this function will be called repeat forever.
void CCBSoundEffect::update(float time)
{
CocosDenshion::SimpleAudioEngine::getInstance()->playEffect(_soundFile.c_str());
}
The text was updated successfully, but these errors were encountered: