I have a CCSprite.
To center it to the screen I use the following method:
screenSize = CCDirector::sharedDirector()
It does get centered on the screen, which is proof that the ANCHOR POINT is at the center of the CCSprite.
When I printed out the origin though, e.g.:
CCRect rect = this->boundingBox();
print to console rect.origin.x and rect.origin.y
(I wanna show you the CCLOG code but this forum is not showing it properly….)
I was surprised to see that it printed out the coordinates of the lower left corner of the CCSprite.
So origin is always the coordinates of the lower left of any entity within cocos2dx???