0 votes

Hi, I'm working on a fast-paced Platformer and I'm using a Camera2D to scroll my level. The problem is that scrolling/movement of the camera causes a lot of screen-tearing. I tried to enable V-sync but apparently Godot hasn't got an option for that yet. I also tried to force a framerate of 60 but the problem remains. Any help will not go unappreciated.

asked Aug 21, 2019 in Projects by CynicalKazu (44 points)

1 Answer

+1 vote
Best answer

You can enable V-sync in Project Settings, under the Window category.

You can also enable V-sync with the following code:

OS.vsync_enabled = true
answered Aug 21, 2019 by Zylann (26,157 points)
selected Aug 21, 2019 by CynicalKazu

I fixed the issue by actually disabling it... lol I had no idea is was enabled by default.

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 How to use this Q&A? before posting your first questions.