View
Definitions
The font size used for large screen banners (e.g. GAME OVER, READY).
Where the game's own banners sit.
Above the middle of the field, not in it. The attract screen puts its title panel across
the centre and plays the demo behind it, so a level banner at the midpoint lands inside
the panel and neither can be read. TestView keeps the two apart.
Which number the countdown is showing, given how much of the pause is left.
One second each, taken from the rules rather than from a constant here, so the digits and the pause they divide up cannot drift apart.
The HUD type size. Press Start 2P is a pixel font: whole multiples look best.
Describes one frame of a single game, with no cabinet around it.
Describes one frame, told who else is playing.
The x that right-aligns s with its right edge margin from the field edge.
Left-pads a score with zeros, the way the cabinet displays it.
The width of a string, in pixels.
Press Start 2P is monospaced with an advance equal to the em size, so this is exact and lets the HUD be laid out by character count rather than by numbers tuned against whatever font the platform happened to supply.