screens library

The screens a game shows around its play: the title, the credits, the ending and its scoreboard, the loss screen, a cutscene's overlay, and the lens the play is seen through.

What each game says on these screens stays the game's: the lines about its keys, the tallies it is played for. This package draws them.

Classes

Credit
One piece of work the game did not make, and what is owed for it.
CreditLedger
What a game ships that somebody else made, and the two questions every game asks of it.
CreditsSection
Who made the art, wherever the game is shown.
CutsceneOverlay
What a cutscene puts over the picture: the dark of its fade, the words of its subtitles, and the way out of it. Drawn over the game while a Sequence plays.
EndingSheet
How a game ends: one sentence, the tallies it is played for, who made the art, and how to play again.
EndingTally
One number on a scoreboard and what it counts.
Lens
The lens a game is played through: one base projection, and the only operations that may change it.
LicenseRecord
A LICENSES.md as a game's credits read it.
LicenseSection
One section of a LICENSES.md: the files it covers and the rows its table gives for them.
TallyView
One EndingTally drawn: the number, and under it what it counts.
TapToRestart
Covers the game and restarts it when tapped.
TitleSheet
What a game says before it starts: its name, one line about it, what the controls are, who made the art, and how to begin.