SpyrexDE / SmoothScroll

Addon for the Godot Game Engine that adds a SmoothScrollContainer.
https://spyrexde.github.io/SmoothScroll/
MIT License
144 stars 13 forks source link

Stuttering on slow movement #50

Closed SpyrexDE closed 6 months ago

SpyrexDE commented 6 months ago

When setting a low scroll speed/friction the content is not moving smoothly anymore, framerate independent. Could have something to do with the resolution or coordinates being floating-point numbers.

https://github.com/SpyrexDE/SmoothScroll/assets/57133330/6e8b4b20-68b2-4fb8-bc01-285bfcfbccfc

HaroldLever commented 6 months ago

Perhaps unchecking snap_controls_to_pixel might help. image

SpyrexDE commented 6 months ago

That worked, I added that to the sample project, but the user should definitely be told that. I will add this to the readme as well.