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.
- TitleSheet, the card a game opens on: its name, the controls, the credits owed and how to begin.
- Credit, CreditsSection, CreditLedger and LicenseRecord: what a
game ships that somebody else made, shown where the licence asks and
held to the
LICENSES.mdbeside its models. - EndingSheet, EndingTally and TallyView: how a game ends, and TapToRestart for when it ends badly.
- CutsceneOverlay: a sequence's fade, subtitle and skip.
- Lens: one base projection, widened for speed and opened for a narrow screen.
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
Sequenceplays. - 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.mdas 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.