Hi,
here is a case : when I'm setting the anchor point on a parent sprite, the anchor point is modified on all its children instead of the parent sprite only.
I was expecting a different behavior.
Here is an image explaining the situation.
(2) is what is happening. (3) is what I was expecting would happen.
Am I the only expecting (3) instead of (2)?
Comments
As explained on that other post, why not implemented and how to manage what you want, setting anchorpoints to sprite, actually changes its 0;0 coordinate to the provided anchor point, thus also all children change position.
you could add another sprite layer and position it with -width/2 -height/2 position within container, and add heart to it, ti would behave how you would expect it
I have been using giderosCodingEasy for long and almost forgot that the implementation is not native, which is also why i didn't make the connection with the other discussion.
So giderosCodingEasy is making a choice on how to handle because there is not a single way to interpret how anchor points should be applied.
I had already moved to the same solution as yours but wanted to be sure about that "issue". Sorry for not seeing the obvious, i really forgot that giderosCodingEasy is acting in the background
I feel I ask rather strange questions these days. I must be disconnected.