Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | DawidM |
Hello, I’m creating a pixel perfect game, but want my camera movement to be smooth intead of jumping by one in-game pixel. The only solution I found is to use “2d” in Window/Stretch/Mode but it causes problems when you zoom the camera for pixel perfect game and also it is not working when using many viewports and cameras; camera in a viewport will always jump by one in-game pixel no matter what Stretch mode is used.
Is there any natural solution to that?
I myself came to one: scale everything up for example by 10x and manually care about sprite positioning to large pixels, and it would give me ten more steps between pixels for camera movement. But I hope there is a better solution to that problem.