+1 vote

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.

in Engine by (17 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.