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 multiplayer cameras and picture-in-picture camera view sprites to MakeCode Arcade games.

split screen sprite

Problem it solves

You need direct access to the internal sprite that renders the split screens so you can modify its layer or properties.

What this block does

Returns the underlying sprite object responsible for drawing the split-screen viewports.

The block

Block ID: splitscreen_getSprite

split screen sprite block

Returns

Sprite — The internal split-screen manager sprite.

Example

let manager = splitScreen.getSprite()
manager.z = 10

Add the extension

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