It’s a following question from What’s the right method to keep a sprite in the center?
Hope not offensive and actually I’m not sure, but my game will only crash in the file CCTexture2D.cpp
GLuint Texture2D::getName() const
{
return _name;
}
after I add the line: this->runAction(Follow::create(_player)), otherwise it always works fine.
Or the bounding rect is necessary?
Thanks.