![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | ExtraMobs |
I am working with an AnimatedSprite and to make my life easier I am centralizing it with the “centered” property.
And I have a problem that I don’t know if it’s an engine bug, but the texture isn’t inside the rectangle, it’s 0.5 outside, and it only happens in the AnimatedSprite node.
Does anyone know how to fix this, because I don’t want to give up using AnimatedSprite because it’s easier to animate the character. And I thought, apparently, the position of the texture is being rounded ?? is this any configuration?
PS: The image resolution is 17x51.
very new to Godot myself but I would imagine that a centre line always lands between two pixles , your resolution is an odd number, 8 pixels will land on one side of centre and 9 on the other.
ArthurER | 2020-08-29 21:12