live_screen
A live screen: a rectangle centred on the object, facing its +Z, showing another scene of the project live while playing (an arcade cabinet's picture tube, a television, a terminal). The scene (a 2D game) runs alongside in a session of its own; its picture is drawn here every frame. Nobody's keys reach it until a script hands them over: game.liveScreen(name, { play: true }) (see the script reference).
In scene text
live_screen { scene "…" size (0, 1, 0) pixels (0, 1, 0) }Add it in the Inspector (Add Component), in scene text as above, or ask your AI. Fields you leave out keep their defaults.
Fields 9
| Field | Type | Unit / range | What it does |
|---|---|---|---|
scene | text | — | The scene shown: a 2D game of this project ("Grave_Runner"). |
size | (x, y, z) | m | The picture's width (x) and height (y); z unused. |
pixels | (x, y, z) | — | The picture's resolution (x, y): a whole multiple of the game's own (1152 x 648 for 384 x 216). |
brightness | number | 0 … 40 | How brightly it glows (1 a dim screen; a picture tube in a dark room 1 to 3). |
curvature | number | 0 … 0.3 | The glass's bulge (0 flat; 0.05 to 0.1 an old picture tube). |
scanlines | number | 0 … 1 | How dark the gaps between the tube's lines are (0 none). |
mask | number | 0 … 1 | The phosphor stripes' strength (0 none). |
persistence | number | 0 … 1 | The tube's afterglow behind a moving picture (0 none: a sharp panel; an old tube 0.2 to 0.4). |
enabled | true / false | — | On: the scene runs and shows. |
Arcwright Beta 2 (0.4.0) · generated from the engine source (25e375c86)Something wrong or missing? Tell us