This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Hi,

i have a Player that moves with tween:

set_process(false)
$Tween.interpolate_property(self, "position", self.position, target_position,0.15, Tween.TRANS_LINEAR, Tween.EASE_IN)
$Tween.start()
yield($Tween, "tween_completed")
set_process(true)

The Camera is a child of Player. When i have "Project Settings, General, Display, Window, Use Vsync = ON" the movement and scrolling is totally choppy and stuttering. The fps are steady at 60.

When i have "Use Vsync = OFF" the scrolling is totally smooth and perfect. The fps are 2500+.

Any idea why the scrolling at 60 fps is messed up?

I use Godot 3.2 Stable. It is a very tiny project as i am just starting. No game logic at all. Just a TileMap and a player moving.

in Engine by (19 points)

Which kind of PhysicsBody is the player node using? Is it a KinematicBody or RigidBody?

Hi Calinou,

it is just a Node2D. I need no physics. I use the tween to move the character like in the demo project "2D/gridbasedmovement".

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.