StartInfo
What the ‘start’ event says: who plays and how, as it was at the start (late listeners get the same; see Easy for now).
Properties
Section titled “Properties”ageRange
Section titled “ageRange”ageRange:
AgeRange
The players’ age range: simpler rules for 3-5, scores and challenges for 9-12.
players
Section titled “players”players: readonly
number[]
The ids of the players (1, 2, …) at the start, frozen; with input ‘remote’, the first child’s turn (see the turn event).
locale
Section titled “locale”locale:
Locale
The language to show text in.
mode:
"tv"|"solo"
‘tv’: on a TV, children standing back; ‘solo’: a tablet or a phone in front of the children.
orientation
Section titled “orientation”orientation:
Orientation
‘landscape’ or ‘portrait’ (a phone held upright): the screen’s orientation at the start, see Play.orientation.
safeArea
Section titled “safeArea”safeArea:
Readonly<SafeArea>
What a phone’s notch and home bar cover, fractions of the viewport (zeros if nothing): see Play.safeArea.
backdrop
Section titled “backdrop”backdrop:
Backdrop
‘video’: mirror mode, paint no opaque background; ‘none’: paint your own. See the backdrop event.
view:
BackdropView|null
Where the camera image is (with ‘video’, the video; with ‘none’, where the avatars stand), see toScreen; null if unknown.
device
Section titled “device”device:
DeviceHint|null
What the screen knows about the device (a starting tier, the display’s rate), or null: see Play.device.
localPoses
Section titled “localPoses”localPoses:
boolean
The bodies come from a camera on this same device: avatars are smoothed lighter by default (see Play.localPoses).
turns: readonly
number[]
Every child in turn order, frozen (with input ‘remote’, one round each; see Play.turns); otherwise players.
input:
GameInput
‘body’ (the default) or ‘remote’: played with the TV remote, keys turned into gestures (see Play.input).
pointer
Section titled “pointer”pointer:
boolean
With input ‘remote’, whether the remote also points (LG’s Magic Remote, or the arrows as a cursor; see Play.pointer).
canSavePicture
Section titled “canSavePicture”canSavePicture:
boolean
Whether savePicture can reach a phone at the start (see Play.canSavePicture; the capabilities event says when it changes).
muted:
boolean
The screen’s sound is off: play no sound, and make every cue that sound would give visible instead.