Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

RoundScreenProps

Property Type Default value Description
actions? ReactNode undefined The game’s own buttons, beside “Play again” below the pane, such as one that plays the next level.
children? ReactNode undefined More of the game’s own under the text, such as the coins banked.
lostText? string "So close." Replaces the default line under the lost title.
lostTitle? string "Out of time" Replaces “Out of time” when the round is lost.
noun? string "Level" What the game calls a level, in the line above the title that names the level and the count, such as “Level 2 of 4”. A game with no levels shows no line.
pause? boolean true Pauses the world while the screen is open. Off, the world steps on behind it, so a racer can coast past the line.
wonText? string "Nice run." Replaces the default line under the won title.
wonTitle? string "You won" Replaces “You won” when the round is won.