One player's own rectangle of the screen, for a same-screen local multiplayer layout: a
Camera whose world is offset to start at x/y instead of the corner of the canvas,
and clipped to width/height so it never bleeds into a neighbouring player's share of
the screen. A game with a single Viewport covering the whole canvas behaves exactly like
a game using a bare Camera directly - this adds a screen region and a mask around it,
nothing else.
One player's own rectangle of the screen, for a same-screen local multiplayer layout: a
Camerawhose world is offset to start atx/yinstead of the corner of the canvas, and clipped towidth/heightso it never bleeds into a neighbouring player's share of the screen. A game with a singleViewportcovering the whole canvas behaves exactly like a game using a bareCameradirectly - this adds a screen region and a mask around it, nothing else.Example