Pixel Art Moving In non-pixel increments

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Ellie93

My current project’s set up is a pixel art game that handles scaling by zooming in with the camera2d, to the closest resolution multiple of the base one.

I’m having the problem that, when zooming in, pixel art objects stop moving in a pixel-perfect way, despite pixel snap being active (they move smoothly)

i tried fixing that by forcing their position to always be int, but that seems to be very buggy and gives me all sort of problems.

If it’s relevant, I’m using tween for movement.

Anyone can help?