Replies: 5 comments 23 replies
|
you can use |
8 replies
|
That's not what I need. I want add label to sprite, and then label in center of sprite without set position. |
10 replies
|
Have a look at |
2 replies
|
Try this (answer on cocos2dx forum): |
0 replies
|
Here is a working code (setPosition is needed): |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.

How to set position in center of parent node with anchor point (0.5, 0.5) like cocos creator do?All reactions