How to add Split Screen?

godot 4.4

how to add split screen to multi level game? my 2 players r each in different node and lvls is also in different nodes oh i also want split screen to disable and maybe have option to show a small Screen to see where other player is, in Online Mode not local coop

I think this question is interesting, maybe it should be done exclusively using code.

Have a look at SubViewPort, and the container that can hold it. You can have more than one of those.

1 Like

ye thats the issue i dont know what to write or anything lol

yeah but issue is what about online? i want screen to be full for each player on online mode with an option a Key to open a small Screen of Other Players to see what he’s Doing

You could make a SubViewportContainer with a SubViewport, give it its own camera, and show() or hide() it as needed.