Hi,

I've made a split screen co-op test (attached video) but have been unable to properly render the scene. The game runs at 480x270, but characters are to move at the monitor's native resolution. My game is set to 1080p, so their position snaps to 1080p-sized pixels when the game is in fullscreen. This was achieved using the canvas_items stretching option.

Unfortunately, this is not the case when using a viewport. Neither 'linear' nor 'nearest' worked for what I was trying to achieve, and I was wondering if there's anything like the canvas_items stretch that can be configured in the settings for the whole game, but for the viewport.

Attached is a video of this split screen, left was 'linear' and the right was 'nearest'. As you can see, neither meets my needs at all.

unknown-20230602-2151.mp4
5MB

EDIT: youtube link because I don't expect you to download a sketchy file:

Thanks!
Kaileh

Can you explain more about your setup? I'm not sure I understand.

    cybereality sure, I have two sub-viewports inside sub-viewport containers, with one of them containing the world and the second configured to match the world of the first, so they're both displaying the same scene, but each one is centered on a different player. The game runs at 480x270, but when playing without viewports the game is displayed at 1920x1080, and the canvas_item option results in no blurring and the ability to rotate pixel art items without the distortion on the right, as they're rendered at 1080p. When the viewports are rendered on a window that is 1080p, they each still display like their in 480x270, just with each pixel made larger. The canvas items stretching allows the whole game to run at a higher res, but there's no equivalent option for viewports. Hope this helps! Ty.