MakeCode Games!

A fan-made community library of MakeCode Arcade games. Visit MakeCode Arcade to make a game!

← Back to extensions

Split Screen

Add split-screen camera views and picture-in-picture viewports to Arcade games for multiplayer or mini-maps.

set split screen enabled

Problem it solves

You want to pause split-screen mode during dialogue cutscenes or shop menus, then switch back to split-screen when action resumes.

What this block does

Turns the entire split-screen camera rendering system on or off globally.

The block

Block ID: splitscreencamerasetenabled

set split screen enabled $enabled

Parameters

NameTypeDefaultMeaning
enabledbooleanTrue to activate split-screen views, false to hide them.

Example

splitScreen.setSplitScreenEnabled(true)

Add the extension

Add github:riknoll/arcade-split-screen to your project, or open: Import arcade-split-screen.