@xDoomDuck wrote:
Hi! I'm making decent progress so far with a new project I'm working on using Nez. Last night I ran into an issue where when trying to move an entity very slowly, it wouldn't move at all. I realized that this was because I was incrementing my entity's position.X with a value less than 0.5, and because the renderer is trying to draw at whole pixels, it's rounding down to zero. I was working with a render target size of 480 x 270 and a sprite with texture size of 114 x 37.
So, I tried again after scaling this art up 4X to a render target size of 1920 x 1080. This resulted in smoother movement at slower velocities, as expected.
My question is...is this good practice? To just scale all my art up 4X when I export it? Or is it really just personal preference with regard to how movement works? I realize that it's possible to move slowly at the smaller render target, but it'll just be far less smooth (for example, 1 pixel every 3 seconds).
Curious to hear how you all do things. Thanks for the read!
Posts: 4
Participants: 2