Classics family pass (0.111.0, versionCode 301): Back by context, family title/play/result, bug fixes, backdrop collection
- Back undoes what's in hand first (Patience's held card, Blast Off's tray), otherwise pauses; one rule, backStep/gameKeys - All eight Classics on the shared title, play frame, pause and result, in ArcadeColours and Anton, with KeyFooter keys - Patience controls fixed: Up to the top row, OK twice sends home, refused moves say so, distinct held/pointer, bigger cards - Star Chase maze with no lone walls or dead ends, solid walls, bigger stars; Comet Trail turn queue; paddle slide, held-Up spin, Zip-while-paused and Skydoku's main-thread puzzle making fixed - Eight code-drawn backdrops, one per Classic by default or one chosen for all; old choices carried over - Difficulty paces the four clock games (Normal unchanged); scores, Household keys and Skydoku's count untouched Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
# Classics family pass: verification (9 November 2026)
|
||||
|
||||
Branch `classics-family` from `chaos-smartsetup` (`7658d2b`), 0.111.0-classics-family, versionCode 301. Not installed, no adb,
|
||||
nothing pushed or merged. What it is: `docs/classics-family.md`.
|
||||
|
||||
| | 0.110.17-chaos-smartsetup (300) | 0.111.0-classics-family (301) |
|
||||
|---|---|---|
|
||||
| Build (debug, release) | passed | passed |
|
||||
| Kotlin unit tests | all passed | **997 run, 24 skipped, 0 failed** |
|
||||
| Lint | 0 errors, 87 warnings | **0 errors, 87 warnings** (one new warning seen, `ModifierParameter` on the play frame's key handling, suppressed with a note) |
|
||||
| Release APK | 47,957,599 bytes | 47,990,375 bytes (**+32,776**) |
|
||||
|
||||
APK: `apks/orbit-tv-0.111.0-classics-family.apk`, with its `.sha256`.
|
||||
|
||||
## New and changed tests
|
||||
|
||||
- `BackByContextTest` (5):
|
||||
- Back cancels what's in hand, otherwise pauses; play/pause always pauses; repeats and releases do nothing.
|
||||
- Patience: Back puts a held card back with nothing moved, and the next Back pauses.
|
||||
- Blast Off: Back from the tray returns to the board with the same shape.
|
||||
- The other Classics pause.
|
||||
- Backdrops: old saved choices carry over (Night Sky becomes each game's own, Moonrise becomes Rooftops), and every Classic
|
||||
has its own.
|
||||
- `PairsPatienceTest` (+3, 1 changed):
|
||||
- A column picked up whole moves as many as fit.
|
||||
- A refused move keeps the card and counts the refusal.
|
||||
- ▲ reaches the top row in one press.
|
||||
- OK twice sends home, or puts back when it can't go; Menu still works.
|
||||
- Long columns fit their space.
|
||||
- `OrbManTest` (+1, 1 changed): no wall stands on its own and no corridor is a dead end; the turning test moved to a corner of
|
||||
the new maze.
|
||||
- `SnakeGameTest` (+2): a second quick turn is kept for the next step and can't reverse the first; food is picked from the free
|
||||
squares exactly as before, without the list.
|
||||
- `TitleTextFitsTest` (+1), checked at the largest font scale (1.3). The box draws 960 × 540 dp at both 720p and 1080p, so
|
||||
one check covers both.
|
||||
- All eight names fit the title in Anton at 76 sp.
|
||||
- Every title and result button fits.
|
||||
- The three-button result (Skydoku out of hearts) fits its wider 600 dp card. It overflowed at 520 dp and was fixed.
|
||||
|
||||
## Backdrops and memory
|
||||
|
||||
- Drawn in code into their own layer (a display list, no bitmap, no offscreen texture), so there are no pictures to load and
|
||||
no extra GPU memory to speak of on the 2 GB box.
|
||||
- A game's frames replay the backdrop layer rather than redrawing it.
|
||||
- Not measured on the box.
|
||||
|
||||
## Not checked
|
||||
|
||||
- Nothing has been seen running: the screens, backdrops, cards, maze, focus and Back on the real remote.
|
||||
- The Star Chase and Brick Break models still allocate per tick, as they always have (see the doc's Known gaps).
|
||||
@@ -0,0 +1,124 @@
|
||||
# The Classics family pass (Step 1, 9 November 2026)
|
||||
|
||||
Branch `classics-family` from `chaos-smartsetup` (`7658d2b`), version 0.111.0-classics-family, versionCode 301. Not installed.
|
||||
From Paul: "they all have to look like same library of games you know from Orbit", plus his two rules:
|
||||
|
||||
1. **Fix Back properly, not just universally.** Back cancels what's in hand first, and only pauses when nothing is.
|
||||
2. **Keep Classic modes genuinely classic.** No gameplay changes to the existing modes apart from real bug fixes. Any new
|
||||
modes come later, separately, with their own scores.
|
||||
|
||||
## Back, by context
|
||||
|
||||
One rule, in one place: `backStep(key, down, repeatCount, active)` in `arcade/ArcadeInput.kt`, used through
|
||||
`Modifier.gameKeys(enabled, active, cancel, pause, onKey)`. It's caught in the screen's own key handler, before the TV spends
|
||||
Back on moving focus, which was why it didn't work in any Classic.
|
||||
|
||||
| Game | Back with something in hand | Back otherwise |
|
||||
|---|---|---|
|
||||
| Patience | puts the held card(s) back | pauses |
|
||||
| Blast Off | in the tray: back to the board with the same shape | pauses |
|
||||
| Pairs | (a turned card can't be undone) | pauses |
|
||||
| Skydoku | (a star is placed by its one press; nothing is pending) | pauses |
|
||||
| Star Chase, Brick Break, Block Drop, Comet Trail | (nothing is held) | pauses |
|
||||
| The Originals | already pause through the same helpers (`isBackKey`, `backPressActs`) | |
|
||||
| Menus | pause menu: resumes; How to Play: closes; a reset's confirm: cancels | |
|
||||
|
||||
The pause menu, How to Play and the confirm dialogs now also catch Back in their own key handler, so a focused button can't
|
||||
swallow it. Play/pause always pauses.
|
||||
|
||||
## Classic stays classic: the bug fixes
|
||||
|
||||
Rules, scoring and modes are as they were. What changed is only what was broken:
|
||||
|
||||
- **Patience** (why it "seemed broken": the controls, not the rules, which passed their tests).
|
||||
- ▲ from a column goes straight to the top row; it used to choose how many cards to take, one press per face-up card.
|
||||
- A column is picked up whole, and OK where it goes moves as many as fit there. Only one count ever can, so it's found,
|
||||
not chosen.
|
||||
- **OK twice sends a card home**: pick it up, OK again on the same pile. It used to need a Menu key the Xiaomi remote
|
||||
hasn't got; Menu still works on remotes with one.
|
||||
- A move that isn't allowed says "That can't go there" and keeps the card in hand. It used to do nothing at all.
|
||||
- Held cards are lifted and ringed in cyan; the pointer is the Arcade's yellow ring. They used to be two near-identical
|
||||
yellows.
|
||||
- Cards are bigger, 76 × 104 dp (were 64 × 88), with 18 sp labels. A column closes up so even the longest fits; it used
|
||||
to overflow.
|
||||
- **Star Chase**: the maze is redrawn with the same corridors, den, tunnel and power corners. There's no wall standing on its
|
||||
own (there were five "pillars"), no dead ends, and fewer one-square stubs (23, from 29). It has 135 stars, from 148. Walls
|
||||
are solid blocks with a bright edge facing each corridor, instead of thin pipes with round joints. Stars are bigger, with a
|
||||
soft glow. Ollie already moved on his own, retro style, with buffered turns; that's unchanged and the title now says so.
|
||||
- **Comet Trail**: a second quick turn is kept for the next step (two presses within one step kept only the last). It's off
|
||||
the TV-theme colours, and picking a star's square no longer builds a list of every square.
|
||||
- **Brick Break**: a held arrow is forgotten whenever play stops, so the paddle never slides on by itself after a pause.
|
||||
- **Block Drop**: holding ▲ turns the piece once, not round and round. Gravity runs only while playing.
|
||||
- **Blast Off**: Zip's fly-past stops while paused; it used to run on behind the pause menu.
|
||||
- **Skydoku**: puzzles are made off the main thread, the first while the title shows, so there's no stutter. Hearts are
|
||||
drawn to scale.
|
||||
|
||||
## The family look
|
||||
|
||||
`arcade/ClassicKit.kt`, the same layouts as the Originals (Stage B frames 30 to 33):
|
||||
|
||||
- **Title**:
|
||||
- AN ORBIT ARCADE CLASSIC, the name in Anton at 76 sp, the tagline and the blurb.
|
||||
- The host with a line.
|
||||
- Play (Deal, Today's puzzle and so on), How to Play and Back to Arcade.
|
||||
- The keys as key caps, with what the game is about.
|
||||
- The player's own numbers, a **Classic** mode chip, and the difficulty (or "No timer" for the puzzles).
|
||||
- A game with more than one mode will get a Mode button there, each mode with its own scores; none has one yet.
|
||||
- **Play**: the backdrop, the HUD down the left (labels 16 sp, numbers in Anton), the board on the Arcade's dark panel, and
|
||||
the remote's keys in a `KeyFooter`.
|
||||
- **Pause**: the shared `ArcadePauseMenu` in every game, with each game's Sound or Music line.
|
||||
- **Result**:
|
||||
- The game and how far it got, NEW BEST when it is, and the number big, with the best before it.
|
||||
- Play Again first, then Back to Arcade. Skydoku also offers Try it again or New puzzle.
|
||||
- The host on one side, a friend from the cast on the other.
|
||||
- **Colours and type**: `ArcadeColours` and the shared `Anton` throughout. Each file's own Marquee and Honey are gone, and so
|
||||
are the Night* and theme tokens on these screens, so the Classics no longer change with the TV's Orbit look.
|
||||
- **Difficulty**:
|
||||
- Respected by the four games on a clock: Star Chase, Brick Break, Block Drop and Comet Trail.
|
||||
- Normal is each game exactly as it was. Gentle runs it a fifth slower and Tricky a fifth quicker.
|
||||
- Kids profiles default to Gentle, so their clock games now run a little slower than before.
|
||||
- The four puzzles have no clock.
|
||||
- **Reduce motion and Reduce flashing**: Star Chase's frightened cast no longer blink, and its glow and hexagons hold
|
||||
steady. The rest were already respected (Zip's fly-past, the card turns, Comet Trail's crossfade).
|
||||
|
||||
## Backdrops: a small collection
|
||||
|
||||
`ArcadeBackdrop.kt`: eight night skies drawn in code, with no pictures.
|
||||
|
||||
| Backdrop | Classic it belongs to |
|
||||
|---|---|
|
||||
| Deep Space | Star Chase, and Comet Trail's start |
|
||||
| Aurora | Comet Trail's skies |
|
||||
| Rooftops (city skyline with TV aerials and a moon) | Brick Break |
|
||||
| Satellite Ring | Skydoku |
|
||||
| Nebula | Blast Off |
|
||||
| Test-Card Dusk | Pairs |
|
||||
| Meadow at Night | Patience |
|
||||
| Teletext Grid | Block Drop |
|
||||
|
||||
- Comet Trail's skies still change every hundred points, now through Deep Space, Nebula, Satellite Ring and Aurora.
|
||||
- Arcade Settings › Look › Backdrop starts at **Each game's own**, then steps through the eight. A choice applies to every
|
||||
game.
|
||||
- Old saved choices carry over: Night Sky (the old default) becomes each game's own, Nebula stays Nebula, and Moonrise
|
||||
becomes Rooftops.
|
||||
- Each backdrop is drawn into its own layer and replayed, never redrawn by the game's frames. No bitmaps and no extra GPU
|
||||
memory beyond the layer's display list. They're still, so Reduce motion has nothing to stop.
|
||||
- **Adding more** (approved for later: Seaside Pier, Drive-In, Snowfall, Sakura Night, Retro Living Room, Moon Base) takes
|
||||
three things: a new entry, its drawing in `arcadeBackdrop`, and optionally a game that uses it by default. The Backdrop
|
||||
button picks it up.
|
||||
|
||||
## Nothing anyone has is lost
|
||||
|
||||
- Score tables, score kinds, Household Record keys and settings keys are unchanged: `orb_man_best`, `brick_break_best`,
|
||||
`blast_best`, `block_drop_best`, `pairs_best`, `patience_wins`, `skydoku_solved`, `skydoku_daily`, `snake_best`, and the
|
||||
`sound`, `sounds` and `music` settings.
|
||||
- Skydoku's solved count (44 on both TVs) and its daily key `level["daily"]` work as before.
|
||||
|
||||
## Known gaps
|
||||
|
||||
- **Nothing has been seen running.** The new screens, backdrops, cards and maze are checked by the compiler, unit tests and
|
||||
text-fit checks only.
|
||||
- The game models of Star Chase and Brick Break still make new objects on every tick (data-class copies), as they always
|
||||
have. The drawing no longer does: Star Chase's walls and hexagons, Comet Trail's food. Making the models allocation-free
|
||||
is a rewrite of the simulation, left for its own step so the rules stay exactly as they were.
|
||||
- Star Chase now has 135 stars instead of 148, so its scores aren't quite like-for-like with before.
|
||||
Reference in New Issue
Block a user