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.

set border color

Problem it solves

The divider line between split screens is hard to see against your background tiles, or you want to match your game's visual theme.

What this block does

Sets the color of the border line drawn between split-screen camera views. Setting it to 0 (transparent) removes the border.

The block

Block ID: splitscreensetBorderColor

set border color $color block

Parameters

NameTypeDefaultMeaning
colornumber1The color palette index (0-15) for the dividing lines

Example

splitScreen.setBorderColor(3)

Add the extension

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