Multiplayer Smooth Camera Issues

How do I…

Get the camera to only follow the current player. I’m testing a multiplayer game with the smooth camera behavior for each player in a separate window.

What is the expected result

The camera should follow the current player.

What is the actual result

The camera for Player 1 focuses on the middle distance between Player 1 and Player 2. The camera for Player 2 focuses on player 2.

Related screenshots


Have you followed the multiplayer tutorial on the GDevelop wiki?

If that hasn’t helped, here’s a recent-ish thread about smooth camera issues with networked games. Maybe the solution provided (using lerp) may help.