Hello folks, I’m doing the https://www.monogameextended.net/docs/features/tiled/tiled/ tutorial, and if I use:
var seconds = gameTime.GetElapsedSeconds();
var movementDirection = GetMovementDirection();
cameraPosition += speed * movementDirection * seconds;
to control the camera position, I get with a type of screen tearing(I guess).
These happens only when I moving the camera in vertical direction and I use seconds to increase speed.
But if I go with:
cameraPosition += speed * movementDirection;
In other words, without TimeElapsed, the tearing goes away and everything works. But probable the camera going to run in different speeds for different machines.
Any help to explain to me why this is happening?
Thanks in advance.