How to make a split screen

Godot Version

4.2.2

Question

I’m working on a local 2D platformer with two players, and I want to implement a split-screen setup. I’ve already attached a Camera2D to one player, but I often can’t see the other player on the screen. I’ve read something about using a Viewport for this, but I’m having trouble understanding how to implement it. Thanks

Heres an old video for godot 3. AFAIK it should be very similar to godot 4:

1 Like