set split screen render size width height
Problem it solves
You want your split-screen view area to use a custom width and height instead of taking up the entire screen.
What this block does
Sets the width and height of the main split-screen display area.
The block
Block ID: splitscreen_setRenderSize
set split screen render size width $width height $height
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| width | number | 160 | The overall render width in pixels. |
| height | number | 120 | The overall render height in pixels. |
Example
splitScreen.setRenderSize(160, 120)
Add the extension
Add github:riknoll/arcade-split-screen to your project, or open: Import arcade-split-screen.