I expect to see 2 and 3 sprites just double his size and fill places to the right. But i see that engine trying to realign sprite after resize? Maybe this behavior changed after include “Slice9” feature in engine?
My point - i dont use Slice9, engine must auto size sprite only for internal purpuses without trying to make any unpredictable operations “machine thinks instead of man”
Today I spent about two hours trying to find why my GOs are not positioned correctly.
Sorry for the inconsistent story, I’m under little sick.
Thx you.
I would think the sprite scales about its own centre, not the game objects. If you change the scale of the game object instead, it should respect the offset you’ve given the sprite.
I change one sprite 55x55 to another sprite 110x55 with sprite.play_flipbook("#sprite", self.sprite) call. In past around 1.5 year ago i see no such autosizing issue. Maybe i miss something … or wrong
The sprite position is the center of the sprite, just like @benjames171 wrote.
If the sprite size is changed it will still be positioned with the center of the sprite at the sprite position.
It sounds as if @splashshadow would like to both define another anchor position and some kind of auto arrange behaviour to position one sprite after the other. Neither of which we support at the moment.