Movie maker mode speeds up recording when resolution increase

Godot Version

Godot 4.3

Question

How to keep a consistent speed when you use a higher resolution? From what I’ve read in the documentation it is an intended behavior, but I don’t understand how to slow it down. Here is the output result of a recording in 4K, you can see the speed time is very high :


If you record with window size 1152 / 648 you will get a 1:1 ratio, but the image quality is really bad. If you lower the resolution the recording will become slower, and if you increase it the recording will be faster, does any body know how to fix this ?

You should use the “delta” value in your project. I don’t know in 2D world, but in my 3D games I always use the delta value multiplied with the speed value in every line that’s dedicated to the movements and rotations:

velocity += basis.z * speed * delta

With the delta value, frame drops and resolution won’t interfere with the game speed.

1 Like

Ok thanks
I tried to apply delta correctly in another project and it works now, though the resulting recording is stuttering a bit when I put 4K, but it’s probably due to my low end computer.
The problem I have now is I don’t really know how to apply delta to the previous project, as I don’t have any speed, I just set the position of the tiles to the mouse position

You should add a linear interpolation to the tiles. For example:

extends Node2D

var targetpos: Vector2
var speed = 10.0


func _process(delta):
	targetpos = get_global_mouse_position()
	$Sprite2D.position = $Sprite2D.position.lerp(targetpos, speed * delta)
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.