You could snap the camera’s position if you are certain each “screen” is the same size and distance.
func _process(delta: float) -> void:
global_position = player_1.global_position.snappedf(20.0) # 20m steps between each screen
You could snap the camera’s position if you are certain each “screen” is the same size and distance.
func _process(delta: float) -> void:
global_position = player_1.global_position.snappedf(20.0) # 20m steps between each screen