Implemented on feat/game-experience-rework, 2026-10-23. This is the production integration of the approved Obsidian / Porcelain Bronze direction and round-six playable reference. Earlier research and mockups remain decision history.
The More menu starts with one PixelLab row: Connect PixelLab, Reconnect PixelLab for a rejected key, or the compact PixelLab usage meter. The meter shows used and total generations, a progress bar, percent used, and credits when the quota is exhausted. The chevron opens the local sheet. Connected users see the full usage meter, refresh, key management and the external account link; the key form is only shown for setup, reconnection or replacement. Activity keeps its detailed meter beside jobs. Workspace copies omit the PixelLab row because generation is disabled there.
The PixelLab row is followed by character actions (demo copy and phone shortcuts), Settings, a Language recovery shortcut, contextual wardrobe visibility, library backup, Activity, and app actions (installation, updates, and help). Studio audio is enabled by default at low levels and starts after a gesture in the active tab. Settings > Audio uses positive switches for Play audio, Music, and Sound effects. Any switch can silence its scope while preserving the volume choices. People can also set either volume to zero. The Characters, New character, and Customize top bars link directly to Audio while either channel is enabled at a nonzero volume. In the Characters top bar, Audio sits to the left of New character. Settings opens over the current screen, including New character, where the draft and its scroll position stay in place. The browser remembers the choices. Both themes share one longer original synthesized soundtrack. The soundtrack and its player download on demand, and the interface cue buffers are synthesized only when used. Separate channel levels follow familiar game audio settings, and the positive switch wording follows macOS sound settings.
The version button lives in Settings and opens a popover to view source code, open the displayed commit, or copy the
version details for support. The row uses -pre for prereleases, no suffix for stable builds, and -dev for the
Vite dev server regardless of release status. The dev commit is the checked-out revision and does not include local edits. The PixelLab affiliation
notice stays last.
Connect PixelLab and the More popover share AffiliationNotice.svelte: "Powered by PixelLab. Not an official app."
Connect uses two lines; More wraps between sentences only when needed, without smaller text.
"Not an official app." uses Bronze's bu-muted utility. The notice centers its icon vertically and aligns it with the
other More menu icons. Vertical spacing sits outside the bu-notice so its left border follows the text height. It uses
Bronze's transparent informational recipe without a warning tone, dismissal or live announcement. The full notice links
to PixelLab in a new tab through the reusable NoticeLink.svelte presentation wrapper, with Bronze hover, pressed and
keyboard-focus feedback, an external-link indicator and a 44px minimum touch target. The wrapper also supports warning
tone and title/body content for plan notices without nested controls.
Connect relies on its form gap rather than extra notice padding; More has no extra bottom padding. In Connect it appears immediately
above the Get Secret API Key / Connect action row; in More it follows the app actions. The same wording stays on one line in the
README, website metadata and GitHub description. No notice is overlaid on the character scene, and onboarding remains a
separate task.
Context-menu gestures share the typed attachment in app/src/lib/input/contextMenu.ts. Apply {@attach contextMenu(open)} to a row or tile wrapper; the callback receives that element, while the caller owns the actual menu. The attachment owns gesture detection, release-click suppression and listener/timer cleanup. Character rows and item tiles use this same API without their own gesture handlers.
Use a literal ... suffix and a trailing right chevron on labeled actions when the cue helps users anticipate a menu, dialog, or picker before anything happens. Add the three ASCII dots after translation, on the action label rather than its cost or count. Normalize an existing translated ellipsis on the label, not punctuation in a user-entered name. Standalone icons, including horizontal and vertical More buttons, keep their single icon and plain tooltip. Compact layouts hide the chevron when they hide the label. Leave character, item, slot and move names, Wardrobe section headers, move status rows, notices and their buttons, Add slot and New item, obvious file inputs and drop targets, native install prompts, dropdown values, inline disclosures, selections, and immediate actions alone. A distinct in-app pane with its own Back action can use the cue, as in Export Settings. Keep the native dropdown icon for dropdowns and the external-link icon for links that open another site or tab.
Character rows in the library and character picker have a sibling ⋮ control for Download ZIP and Delete character. On devices whose primary pointer can hover, the ⋮ stays invisible until its row or tile is hovered or holds keyboard focus; devices whose primary pointer cannot hover always show it. An open menu keeps it visible, and it keeps its place and hit area so nothing shifts. The same rule covers item tile and outfit and move row menus, including hybrid touchscreens, which follow their primary pointer. Right-click, Shift+F10 and touch/pen long-press open the same menu without selecting the character. Deletion remains confirmed and unavailable during pending generation work; the bundled demo cannot be deleted, so its Delete stays in place, unavailable, with the reason underneath. Delete character… and Delete item… use the danger color. Deleting a character or item and canceling a running item each confirm in one short centered alert (ConfirmDialog): a question, at most a line of consequence, Cancel (focused) and the danger action; Escape cancels it without leaving the screen behind. Item menus also offer Download ZIP. Character downloads preserve the current look and saved outfits; item downloads contain that item and its fitted base body, with current colors and an editable copy. The Characters header keeps New character visible while the library scrolls. It shows the full label on wider screens and a plus icon with a 44 px target on phones. The menu offers Create from scratch…, Import from device… and Import from PixelLab…. Import sources open separate dialogs rather than tabs.
Moves and saved outfits use Bronze's tile action recipe for the same subtle resting surface as character selection, with package-owned hover, selection and focus states. Their 56 px artwork boxes remain transparent instead of adding a dark square. Outfit actions reserve an inset 44 px sibling delete target, using the character list's action geometry. The current outfit uses the selected tile styling and exposes aria-pressed, without a redundant text badge. The save-look form replaces the add button at the same vertical position, aligns with both edges of the outfit rows, and uses a stretching name field, an 8 px control gap, and aligned 44 px controls. The outfit scroll area reserves a 5 px left gutter for focus rings without shifting the rows or form.
Saved outfit thumbnails are static south-facing composites of the saved equipment and colors, normalized with the same hand policy as applying the outfit. They are created only while Outfits is open, without image requests, new stored thumbnails or background preloading, and are released when leaving the tab. Presentation availability is checked once per project revision; per-outfit recoloring receives only the chosen pose's source images, including stored mirror directions. Animation metadata is still traversed, so this is bounded pixel work, not constant-time processing. Playback frames do not invalidate the stills. A character without usable south-facing artwork gets a neutral character icon rather than a mislabeled facing.
Outfit thumbnails trim transparent margins around the complete equipped still, including padded held items. Like character-list and item thumbnails, they use whole-device-pixel enlargement and shrink only when the art exceeds its box. Animated move thumbnails retain their fixed window so their scale and alignment do not jump between poses. Their composed frames are reused lazily within the open Moves tab and invalidated when the project artwork, equipment, or colors change; leaving the tab releases the cache. Retained frame pixels are capped at 4 MiB per mounted Moves tab with first-in-first-out eviction. Frames larger than the budget bypass it, so large animation working sets can fall back to recomposition rather than grow memory without limit.
Selectable character rows (including the header picker), outfits and moves share a fixed 74 px height and 4 px vertical padding. This fits the largest 64 px character thumbnail plus its border, while single-line names and two-line name/metadata blocks stay centered at the same height. Names and metadata each truncate with an ellipsis instead of wrapping or expanding the row; full text remains in the accessible button content. Add/New controls and contextual menu actions retain their compact 44 px minimum targets because they are actions, not selectable records.
Apply simplicity-first design to changes in these workflows: keep common tasks direct, reveal necessary secondary options in context, and preserve costs, errors, accessibility and recovery. The guide defines interaction principles; this document retains the workflow and theme ownership contracts.
Studio uses selective text selection. Buttons (including tabs and menu commands), disclosure triggers, and compact choice controls are click targets first. Suppress accidental text selection on those targets, not on their surrounding panels or on the page. Keep native selection for text entry, navigation links, prose, notices, and diagnostic output. Do not intercept pointer events or change keyboard activation to manage selection.
- Characters: full-screen world, actual locally saved characters and bundled demo, south-view thumbnails, selection by click, focused WASD/arrows or wheel. A second click on the selected character customizes it. The bar reads "PixelDoll | Characters" with the count; library cards show each character's facts (size, directions, moves, items). No invented demo identities or simulated saved characters.
- Character carousel: loaded character changes move the upright artwork between the existing center and side positions in a bounded 220 ms transition. Fast input redirects current motion rather than queuing animations. Departing actors keep their canvases until their exit finishes, without restarting their exit clock; cached artwork remains shared. Entries and exits travel only to adjacent virtual slots, never a viewport-sized offscreen destination. Against-strip relocations, including two-character swaps, fade along independently eased half-duration legs and change sides only while invisible. The name and Customize action stay outside the motion and follow the loaded document. Two characters exchange their existing left and center positions in either direction without duplicate actors; one character never moves on navigation. Filtering, resize, DPR changes and reduced motion settle immediately. Motion does not change wheel sensitivity, native list scrolling, the theme or the loading/failure contract.
- Create: the complete production CharacterForm in a full-screen scene-backed surface. Name, linked Appearance/Prompt, help, API preview/copy, Enhance/Undo, body/frame, camera, original direction/mirror controls, seed, validation, costs, results and recovery retain their real behavior.
- Customize: a single persistent shell with Preview, Top-down and Side-scroller. The top bar has a quiet Customization panel toggle between Full screen and More (after Back with a left dock), and optional actions move into More from left to right as the bar runs out of room. Equipment controls dock on the right by default, with a saved Left / Right preference in Appearance. Phones and portrait tablets use a bottom sheet with the view switch below the bar. Very short windows show the editor in the space below those controls. Closing the panel gives its space back to the scene. The panel starts open in Preview. Compact touch visits to either Live View start with the editor hidden by default, with a switch in Live views settings to keep it open. A manual change during that visit stays in effect between live modes, and Preview restores its editing context. See the Studio panel design plan.
- Preview: animation choice, pause/play only when the displayed move has multiple distinct timeline cells, declared facing controls, Still feedback for an unavailable selected clip/facing, and an icon-only Inspect action with its accessible name and tooltip. Static moves and still fallbacks omit playback without changing the saved pause state. Requested facing remains selected even if the chosen animation has no artwork there.
- Live views: continuous elapsed-time movement, camera following, touch joystick, nearest-direction animation resolver and deliberate fallbacks. Missing movement animation never disables movement. Equipment unavailable for a sequence is hidden for that presentation only, without changing the saved outfit. Missing artwork, unavailable attacks, and character errors appear at the lower left of the stage. The stack grows upward from the stage edge, above the phone's equipment panel, independently of panel height. Malformed data can still raise a reportable warning.
- Inspect: the original precise direction grid, frame stepping, zoom and checkerboard tools in a native modal. The world and equipment layout remain consistent when it closes. This is intentionally separate from the immersive, uncluttered Preview.
- Wardrobe / Colors / Outfits / Moves: real existing components and actions, including item details, quality notes, layer controls, shared designs, fitting, generation and recovery. Wardrobe is one continuous list of every category in
GROUPS(no More menu) with sticky headers, a slot rail on the right that follows and drives it, Empty as the first tile and a New tile only for an empty category. Each saved item tile has a ⋮ options menu in its top-right corner, a 28 by 25 px target inside its border whose top dot is level with the top of the worn check or status in the top-left corner (an arrowed popover at every size that the same ⋮ toggles and Tab closes: a fixed-name Wear toggle witharia-pressedin its header, Details…, Try again…, Delete item…, then focus on the next tile, else the previous one, else the category heading; a press on a tile while the menu is open only closes it, and a menu closed because its ⋮ scrolled away leaves focus on that ⋮) and shows its status on the tile, missing frames included; there is no selected-item row. Item details lead with warnings and review, then Wear/Try again/Delete item…, then a Recolor link to that item's Colors section, then layering and technical details. Shared designs from other characters sit inside their category's section. Item colors live in Colors: a Character section plus one per worn item. Random is scoped: the top bar changes items and colors, a category changes to a different item with its colors, Colors changes colors only; each press is one labeled undo step. Moves keeps its tab position in live views, aria-disabled with its reason (movement picks idle or walk there); Tab reaches it so the reason is announced, and arrows step past it. - Item thumbnails: saved and generating items show an item-only, transparent-bound crop. While running, a draft's first usable extracted preview fits inside the progress ring's clear center at 12px, keeping the percentage and bottom rows unobstructed. Terminal draft previews use a 40px box to leave room for status; the stage and explicit review sheet retain larger inspection artwork. Static thumbnails use native backing pixels with nearest-neighbor CSS containment. Frame selection and cropping depend on artwork changes, not playback, progress ticks or viewport measurements; the stage retains its existing pixel scaling.
- Shared-item visibility: More options contains Wardrobe visibility in the character library and every wardrobe. The New character screen uses the same controls in its Wardrobe visibility popover. All characters hides incoming offers in every wardrobe, including the demo's. The active character's switch appears only in an open non-demo wardrobe and applies to that wardrobe. Adventurer (Demo) is always available and hides offers from Adventurer in other wardrobes by default; it does not hide the demo's own gear or offers from saved characters in the demo's wardrobe. No switch changes outfits, owned copies or saved project data. The switches are saved in this browser, and the individual preference follows the active character's ID so a rename does not reset it. While All characters is on, the other switches are checked and disabled. Turning it off restores their saved choices.
- Import, setup, rename/delete, account, Activity, API disclosure, export: existing dialogs, state and storage implementations remain in use. Paid-request safeguards are not replaced by the presentation runtime.
- Share preview: Move/Direction and Size/Animated use matching equal-width, wrapping control rows. A Bronze divider separates settings from Copy PNG/Share to actions and the full-width Download action. Sizes are 1x, 2x, 3x, 4x, 6x, 8x and 10x; the download label identifies PNG or GIF and shows the actual pixel resolution. All outputs preserve frame padding and use nearest-neighbor scaling. Animated sharing and all app views repeat continuously, including moves set to play once on export. Copy PNG stays visible in either mode and copies the fixed first GIF frame when Animated is on, or the static output when off. PNG data is prepared before activation to preserve clipboard user permission. No control tooltips or permanent first-frame explanation are shown. Per-frame output is limited to 16,777,216 pixels to bound working raster memory; oversized selections show an error and can be reduced.
- Export: one native dialog with the shared sheet chrome (an X at the right; Back at the left only inside Export settings, opened from a Settings row at the top of Export). Format, Include dressed character sheets and Play animation once names are global preferences persisted in IndexedDB by
lib/store/export-settings.ts. Playback checkboxes list unique canonical names across saved characters, the current character and remembered selections. Names match case-insensitively without aliases or semantic guesses; unselected names loop. Renamed/new names use their own rule, and deleting a character retains remembered names for future characters. Opening or reactivating Export refreshes metadata; atomic single-field saves merge concurrent changes, with cross-tab invalidation. Export resolves preferences only on a manifest copy, including the editable copy shipped in the ZIP; importing a file never changes global preferences. App previews and shared GIFs always loop. Combined sheets are extra PNGs for the current look and saved outfits; disabling them retains separate layers and outfit definitions. Current settings remains concise and Files included has its own disclosure. Dialog height stays stable when navigating, with reduced-motion support.
Export reports invalid saved preferences and offers an explicit reset of only those preferences, preserving characters and outfits. An unrelated character with invalid animation names is omitted from the global name catalog with an identifying warning; it does not prevent exporting the current character. Invalid current-character data remains blocking. Loading or unavailable settings never display default values as though they were saved choices.
Settings is the home for rules that apply beyond the current task, not an inventory of everything the browser saves. Studio opens it on PixelLab for connection and usage; closing Account or Activity from there returns to that page. Desktop keeps a steady Settings title and a visible section list. Compact layouts show the current section title and a labeled Settings back button instead of a breadcrumb trail. When entering from Export, Back returns to Export and All settings opens the index. Search matches localized setting names and useful terms, opens the related section, and never executes a command. This combines Android's adaptive settings navigation, Discord's mobile settings search, VS Code's distinction between user and document scopes, and Apple's guidance to keep task options in context.
| Area | Placement and control |
|---|---|
| Appearance | The Theme row toggles Dark and Light; each segment selects its value directly. The language picker keeps native names and browser detection. |
| Wardrobe | Settings holds the global shared-item switches. A visibility override for one character stays alongside the wardrobe it changes. |
| Export | Settings holds the default export target, play-once choices, and the combined-sheets checkbox. Export opens the same section directly. Play once changes exported results, not Studio playback. |
| PixelLab | Connection status and generation and credit balances are shown without displaying or copying the API key. Connect, Replace, and Forget stay in the connection flow. Workspace copies do not show this section. |
| About | Version, source and commit links, and a copy action for support. Development and pre-release builds show a build label; standard production builds do not. |
| Character and item properties | Keep names and IDs, directions/mirroring, slots, attachment points, colors, outfits and rig setup in their character, item or creation flows. They describe the work, not how PixelDoll behaves for all work. |
| Temporary view and task options | Keep pose, facing, frame, playback, zoom, mount display, asset selection and share size in the view or task they affect. Draft forms and restoring the last selection are not preferences just because some state is recoverable. |
| Actions and status | Import, export downloads, backups, installation, updates, review, deletion and paid generations stay where consequences and recovery are visible. Search does not trigger them or index user content or secrets. |
Choose controls by the effect of the setting: use a switch for an immediate independent rule, named radio choices for a small exclusive set, a picker for longer lists, and a labeled navigation row for a separate flow. Register a section and its searchable entries in SettingsContent.svelte and use openSettings(section) for contextual links. Reuse each feature's existing read and write API. Reset settings restores the app-wide theme, language, global wardrobe, export and developer preferences, not per-character choices, work, backups, jobs or credentials. It reports partial save failures; other tabs may need to reload to see the updated theme, language or wardrobe. There is no new storage format or change to backup contents.
Inside Settings pages, use SettingsItemButton for full-width outlined actions, SettingsItemToggle for persistent switches, and SettingsItemSegmented for small sets of exclusive choices. Keep the sidebar on its quiet navigation rows and use Bronze's bu-separator for dividers. One-off options such as including archived data in a backup remain checkboxes.
The Developer preview uses the same ApiPeek controls as Activity with offline example data, including a hidden background call that can be revealed. Contextual inspectors sit first in each sheet's right action group. Developer mode adds the isolated backup opener to Library and Developer. Internal harnesses are not Settings actions.
Generating items keep progress and an approximate countdown inside their tiles, leaving the dressing view uncluttered. All pending tiles retain the same width and height as neighboring item tiles. A percentage sits above a 24px circular progress ring aligned with the Empty icon. The bottom always reserves two single-line rows: concise time or status, then the item name. Both truncate instead of wrapping, with full details available through the tile's accessible name and menu. The estimate shares the creation sheet's budget, starts at the first submission and survives reload; extra queue delays can extend it, and overruns say Taking longer rather than promising zero time. Preparing, Queued, Paused and Checking frames replace misleading countdowns. Percentage reflects request progress, not a frame-by-frame completion guarantee.
Each draft's ⋮ menu holds status details, Activity and cancellation. Review opens explicitly in a sheet, including from notifications. Cancellation defaults focus to Keep generating and explains that used generations are not refunded and sent requests may finish and charge. It stops unsent continuation without deleting paid request evidence. Failed cancellation saves remain retryable; another tab must cancel from its generating tab.
The shared header offers a quiet Lucide expand/contract button immediately before More on Characters, Preview, Top-down and Side-scroller. It stays on the bar at every width, including where Undo, Redo and Random look move off it on narrow phones. This is a global presentation action, so a stable header position keeps entry discoverable and exit one tap away on touch devices. Putting it inside More would reduce header density but add a second interaction to both entry and exit. It uses the existing Bronze button recipe and a minimum 44px width, with an accessible action name and native title. From 761px through 1279px the view tabs used to stay in the character details; since the 2026-11-11 refinement they are centered in the bar (icons only under 1000px, a floating row under the bar on phones). Native modal sheets use the shared chrome below; New character, which covers the bar, repeats Full screen and More at the same position.
One contract (app bars plan) governs the top bar and every sheet, confirm, popover panel and
toast. The top bar ends with Full screen and More on every screen. Undo, Redo and Activity keep reserved slots and hide with
visibility when empty or idle, so nothing shifts; phones keep Activity in More and mark More with a dot instead. Sheets use
SurfaceHeader: Back only at the start and only inside an inner pane (or back to New character when opened over it), the centered
title, header tools, then an X named Close. A footer exists only for a commit: a note first, then actions with the primary last,
wrapping in the same order when narrow; it never repeats Close, Cancel, Done, Hide or Later. The X, Escape, the backdrop and browser
Back share one close request: an edited form asks Discard changes? first, and an atomic save disables it. Closing running work keeps
it running in Activity. Confirms stay centered with the safe choice first and the named action last.
Entry is optional and starts only from activation. Nothing is saved or automatically restored. The
standard Fullscreen API targets document.documentElement, keeping the scene, dialogs, popovers and
notifications together. Browser fullscreenchange events determine the icon/action, including browser-owned
exits. Pending requests cannot overlap, and failures show an error notification with a recovery suggestion.
Escape remains browser-owned; app navigation does not also handle Escape while API fullscreen is active.
No keyboard/pointer lock, orientation lock, custom shortcut, dependency or CSS imitation of fullscreen is needed.
Research and PWA handoff (2026-11-02):
- Browser/PWA chrome varies by platform. An in-app control supplies a consistent location; desktop Window Controls Overlay exposes title-bar space only for installed desktop PWAs and would add a separate layout contract. It does not solve browser tabs or mobile access, so it is unnecessary here.
- The Fullscreen API and
requestFullscreen require
support/permission and transient user activation. Feature detection hides the button where unavailable
or prohibited. Requesting
navigationUI: 'hide'expresses the immersive preference; the browser controls the resulting UI. No vendor-prefixed compatibility layer is added. - The Fullscreen standard reserves an exit mechanism for the user. Its state/events are authoritative; window/screen dimensions are not used to guess fullscreen.
- Prefer manifest
display: standalonewhen PWA support is added, retaining this optional game-style toggle. Manifest fullscreen is independent of API fullscreen: the app can already occupy the screen withfullscreenElement === null.exitFullscreen()cannot turn that launch mode into a window. Hide the control whenever(display-mode: fullscreen)matches without an API fullscreen element, including browser-owned fullscreen. Watch both display-mode changes and API events. Standalone/window-controls-overlay launches retain the toggle when supported. - Platform support remains uneven. WebKit's Safari 16.4 notes introduced unprefixed element fullscreen on macOS and iPadOS; MDN's compatibility data still identifies the iPhone limitation. A home-screen standalone app removes browser navigation UI without requiring this API. Real iPhone/iPad/Android and installed-PWA behavior needs device validation during PWA delivery; browser automation covers actual Chromium API transitions and simulated launch modes.
Report is available on failure toasts, failed and lost Activity requests, failed item generation, and error notices in sheets and panes.
Explicit toast actions use outlined buttons in a leading-aligned row below the description, including Report and Back up library.
When a toast has a pressable surface, the surface takes its accessible name from the title and description.
Uncaught errors and unhandled rejections show one warning toast per distinct error when the notification area is free of
pending or actionable work.
Warning toasts offer Report when they carry an error or explicitly opt in. A notification that opens a failure view can leave
reporting to that view. Report opens a centered preview of the exact public issue text with Close, Copy report and Open on GitHub
(it stays open in case the new tab is blocked), which opens GitHub's issue form prefilled through problem-report.yml query
parameters; the user posts it with their own account and writes the steps to reproduce if they know them. A report is built
from an allow-list in app/src/lib/report/report.ts (version, build channel and commit, browser and OS families, device and
screen class, language, the area, the key and English template of an app message with its variables hidden, an error-class
name, PixelLab status and normalized endpoint path, queue states and timings), then every string passes a sanitizer. It
never contains images, prompts, names, IDs, hashes, project data, request bodies or storage. A failure before the Studio
loads has no Report: its code is not loaded yet, and loading it there would pull Studio modules into the startup page.
@shilo/bronze-ui 0.2.2 remains the owner of semantic colors, light/dark surfaces, component states, borders, focus, shadows, radii, scrollbars and transparent scrollbar tracks. The refinement's reusable pieces (rail tabs, item tiles, sticky section headers with stickyFade, edge fades, hidden-scrollbar rails, the top toast region and a 20px spacing step) belong to Bronze too, pending its 0.3.0 release. No GlassKit and no new theme dependency. UI design contract: Design Contract to Preserve.
app/src/studio/experience/theme.css imports package tokens/components without reset and aliases existing production workflow variables. layout.css owns composition, responsive constraints, reading-gradient placement and component sizing. Native controls receive Bronze recipes rather than a second palette. Shared-theme defects must be fixed and released in the Bronze repository; workflow geometry and scene artwork stay here.
config.ts owns per-state background URLs and floor projection art values. Code-only reflection settings and rendering live in reflection.ts. Both source backgrounds are copied unchanged from the approved reference, with hashes recorded in Production world artwork. Shared URLs reuse browser/cache resources. Top-down and side-scroller use different projections of the same world material; no unrelated pillars or new scene theme.
WorldStage.svelte owns canvas/input coordination. movement.ts and presentation.ts resolve vectors, facing, body/equipment coverage and animation timing independently of UI. Production compositor, pivots, oversize layers, recoloring and saved variants remain authoritative. No world lighting, tint or filtering is applied to actor pixels. Reflection is a separate optional copy. Resize, blur, modal entry and view/character changes release input safely.
Character selection anchors the chosen carousel slot at the viewer center, with symmetric neighbor positions. The chosen character stays aligned with the caption and navigation even with only one or two characters or neighbors of different widths. An absent neighbor leaves its side empty rather than shifting the chosen character or duplicating a character. Selection order, navigation, animation timing and character loading remain unchanged.
Preview places facings in uniform slots, with the selected slot centered for odd counts and consistently left of center for even counts. Each facing's visible bare-body rest is anchored by its horizontal bounds center and bottom edge, rather than assuming the saved rig pivot is at its feet. When rest art is unavailable, the union of that facing's body poses supplies a stable anchor. Mirrored facings flip the source anchor. This display-only translation also applies to equipment, reflection, hit bounds and fitting, never to saved or exported pixels. The anchor does not follow individual animation frames or worn gear, so motion remains authored rather than being recentered each frame. It is a painted-bounds anchor, not anatomical foot detection; a jumping pose can intentionally move away from the ring.
Selection thumbnails normalize their standing-body height to the same display size and anchor that body's horizontal center and feet, not the padded image bottom. Frame dimensions, weapon padding and thumbnail backing-scale rounding therefore cannot shift the feet or make a companion's body larger than the chosen body. This is display-only; customization, stored artwork and exports are unchanged. Companions retain 75% of the chosen body's height and sit higher by 6.25% of the chosen nominal frame height.
The selected slot has one stationary accent floor ring, including a single-character library. It shares Customize's radius, floor foreshortening, rise and 1.5 screen-pixel stroke math. Reflections paint below the ring and sprites above it. The caption clears the ring's front edge by at least 12 px at automatic fit and remains outside the zooming camera. On bottom-sheet layouts, the character library starts at least 12 px below the measured caption, including its navigation row, so Search cannot cover the pager.
Horizontal fitting uses the largest centered painted silhouette across the filtered library, including equipment, instead of reserving transparent square-frame margins. Once thumbnails load, this common envelope keeps the fitted body height stable when switching characters. Each neighbor is positioned against the chosen silhouette's actual edge, so narrow bodies do not inherit a weapon-sized empty gap. Neighbor gaps and minimum edge insets are 18% of the fitted nominal frame height (23.04% of standing-body height), clamped to 16–80 px. Fitting solves character size and padding together; narrow screens shrink the trio slightly more to preserve breathing room. Silhouettes and their asymmetric click targets never overlap at automatic fit. Width-bound screens reduce the trio together; height-bound screens retain the intended body height. Zoom, reflections and culling share the grounded placement. Normalization may use fractional display scales with nearest-neighbor rendering; the existing shared absolute inspection-zoom policy is unchanged. A regression sweep samples 13,144 viewport sizes from 240×240 through 3840×2160 with narrow, ordinary and oversized silhouette envelopes; mixed frame sizes, asymmetric padding and DPRs are checked separately.
reflection.ts is the single reflection renderer for world sprites: the selection carousel, every Preview facing and the moving actor in Top-down and Side-scroller. Live actors use the same per-facing standing-body grounding, fitting and reach as Preview, so live camera framing also follows that stable reference instead of the saved pivot. CastReflection.svelte consumes the already composed thumbnail from stills; it never mounts a second CharacterThumb or recomposes the outfit. Creation has no separate world actor: existing world sprites keep their reflection behind the dialog, while checkerboard generation and inspection previews remain unmodified.
The mirror plane is the last visible row's bottom edge in the bare standing body, not the full image box, the selection ring or the current animation frame. A missing standing reference falls back to the stable body-pose union, including a single stored pose. No animation, rig or export data is changed. Equipment and transparent padding cannot move this plane or stretch the fade. Motion can separate feet from the floor; a cape or weapon below the plane is clipped from the reflected copy instead of folding upward through the actor.
Reflected pixels retain the displayed facing, equipment and animation cell without horizontal flipping. They project downward on screen toward the camera, but all reflections paint beneath all actors. The selection carousel gives the reflection layer the same transition frames as the actor layer. Its material samples the resting cast plane rather than jumping to a destination slot's perspective during a transition. Camera translation and zoom transform the two together. Reflection preparation is cached weakly by immutable image identity and ground/fade geometry. Camera-only motion changes placement, not pixels, and the world stage retains its unchanged-frame paint recorder.
This is a restrained glossy-floor effect, not a physical 3D mirror or a cast shadow. REFLECTION owns visibility, peak opacity, vertical compression bounds, fade distance and overhead attenuation. Distance below the active floor horizon divided by its focal length controls foreshortening: static scenes use the placed background's geometry, live scenes use the actual floor projection. More overhead views shorten and weaken the effect, but vertical scale stops at 0.25 so top-down reflections remain legible rather than flattening into a thin smear. Lower-angle compression and opacity are unchanged. Current bounds are 13.2–22% opacity and 0.25–0.35 vertical scale, with a linear fade over 70% of standing-body height. Source sampling stays nearest-neighbor; fractional vertical compression intentionally resamples reflection rows, never the original sprite. Reflections may extend behind floating controls or below the viewport, preserving existing scene fitting and input priority.
The approach follows MDN's canvas guidance to pre-render reusable artwork and avoid unchanged paints. True screen-space reflection is a different 3D technique with depth/visibility limitations and extra rendering cost, described in Godot's environment documentation. A second scene render, ray tracing, blur pass or opposite-facing approximation would add cost without reconstructing the missing 3D body.
For comparison, Playdead's The Rendering of INSIDE, GDC 2016 uses localized screen-space reflections for puddles, with Fresnel-controlled opacity and explicit occlusion workarounds, but a separate planar-camera approach for large water surfaces. The useful lesson here is to match the technique to the surface and available scene information, not to import a 3D reflection pipeline into a client-side sprite editor. PixelDoll has composed sprite pixels and a floor projection, not a 3D body or depth buffer.
Selected and hovered rings rise by 1/32 of their own facing's rendered standing-body painted height, capped at half the ellipse's vertical radius and rounded down to whole device pixels. This is a conservative visual heuristic for standing humans, not an anatomical ratio or pixel-art standard. Transparent canvas padding and equipment do not affect it. Only the marker moves; sprite grounding, reflections, fitting, hit bounds and exports remain unchanged. Tiny art may receive no rise. Without rest art, adding more extreme body poses can change the union-based reference height.
Preview controls remain bottom-anchored and may wrap without reducing their 44px touch targets. Their observed border-box height, not a guessed row count, is shared by the layout, actor fitting, floor ring, world horizon and offline banner. Extra rows reserve room above the controls; shrinking back to one row releases it. A sheet that no longer fits shrinks, or hides when less than its usable 200px minimum remains. The measurement never switches between sheet and side rail or changes toolbar width, avoiding resize feedback loops. Hidden controls in the live views use the single-row baseline rather than retaining Preview's wrapped reservation.
Stage notices sit at the lower left and list each cause and its fallback or recovery briefly. In Preview they sit above the toolbar and stay outside its height measurement, so appearing or wrapping leaves the controls in place.
Actor fitting uses a cached union of painted bounds across the body's poses and currently visible equipment, measured around the real pivot. Transparent oversize padding must not make the hero unnecessarily small. The union stays stable through playback; full compositor frames and exported pixels are unchanged. Integer physical-pixel scale is preferred; large imported artwork can minify with nearest-neighbor sampling when necessary. geometry.ts owns the scene composition: the hero fills 75% of the free stage height on Customize (about 60% on Characters), its feet sit just above the playback bar in every view, and the world image is scaled uniformly with its horizon on the character's eye line and its vanishing line on the character (no stretching; the live views' sky and the side view's floor horizon use the same eye line). Phones use the bottom sheet (a side rail would leave no stage at 320×400), and compact heights such as 320×568 shrink the sheet so the hero keeps a 2x whole-pixel scale; a phone too short for a 200px sheet moves the panel beside the stage when a 200px stage fits, else keeps a 200px sheet when the stage still fits above it and otherwise hides the panel until the window grows (never a 1-199px sheet). A phone held sideways (short, side rail) lowers the playback bar to 8px above the window edge and lets the hero fill 90% of the free height, so 568×320 keeps a 2x hero. The playback bar never rises above the header and floating view tabs, and the feet always stand above it. A stage 430px wide or less moves Inspect into More so playback controls stay 44px; under 300px one 44px facing button ("Facing: South") steps through the directions, so the bar is always one row. The world grows up to 1.3x to keep its vanishing line on the character and is clamped past that, so resizing never makes it jump. Selected names and playback controls center within the world area, excluding the equipment rail; toasts do too beside a tall rail, but span the whole width in short landscape (on Customize, below the panel tabs) and over a sheet, and never reach down over the playback bar. Up to 430px on phones, Undo, Redo, Random look and Share remain available in More; past that, optional actions move into More from left to right only when the bar runs out of room, with Full screen last.
The direct prototype parity review corrected the first integration's typography, hierarchy, scale and creator composition. The 2026-11-11 refinement (lab round 5, default options) replaced the identity block with the top bar's name menu, the category tabs and More menu with the continuous Wardrobe list and slot rail, and the None action with an Empty first tile. Phones keep search with New and Import above the cast list; the studio uses the bottom sheet. Native dialog content scrolls while its action footer remains accessible.
The modular slot contract keeps this continuous list and existing sheet/menu design. The full flexible category-heading area opens its contextual menu and supports tolerant mouse and hold-armed touch dragging. Random and New item stay separate. A persistent Add slot action at the bottom of the navigation rail opens unused built-ins and custom creation; blank names use Accessory. A bottom Not shown disclosure offers Show and dragging out to a shown position, never drag-to-hide. The separate organizer list is removed. Advanced custom behavior stays in its contextual editor; built-ins are copied rather than redefined. Browsing order never changes artwork. Menus provide non-drag movement, and ordinary touch scrolling remains available before drag arming. A floating slot label follows the drag; reordering preserves the list's scroll offset and the rail tracks the slot actually visible afterward. Eye-button restoration instead keeps Not shown stationary, including repeated reveals. Rail icons also reorder with the same gesture inside the rail; a non-draggable Not shown shortcut follows all slot icons and Add slot stays pinned below. Focus remains visible rather than scrolling after a moved header. The Add slot sheet groups creation above unused built-ins, and full-width Not shown rows restore slots with eye icons. Empty-only hiding includes pending work, and destructive populated deletion confirms its consequences and commits atomically. The Base never appears as a removable category. Physical-device drag usability is not established by browser emulation.
focus.ts restores actual activation targets, including WebKit pointer behavior, and positions the menus, Share panel and API Peek inspector against their triggers with four-side collision handling and the Bronze pointer. Help tooltips use the same pointed shell with top/bottom placement. Native selects and modal sheets keep their native presentation. appearance.js restores the saved light/dark choice before the app initializes, including native color-scheme.
Characters, Preview, Top-down and Side-scroller share the chosen absolute pixel scale. A null choice restores each view's own automatic fit; playable views keep their original single-body fit rather than Preview's lineup fit. Each presentation's latest fit joins the shared ladder, and Studio exposes reset whenever a choice exists, including an explicit fit. Wheel, keyboard, trackpad, touch pinch and middle-click reset use the same scene attachment in all views. Inspect remains separate.
Playable zoom changes presentation only. Simulation position, movement-camera lag, speed, animation selection and playback time retain their original world units. The procedural floor applies the environment's screen-space transform to its projection anchor, horizon and focal length without changing depth or world camera. Actor dimensions use the chosen pixel scale, while their feet follow that environment projection, including below the finite backdrop's coverage clamp. The sky, static fallback and floor use the same environment placement. At the clamp, actors can keep shrinking without sliding relative to the ground; their eye-line relation to the backdrop necessarily changes. Loading the optional renderer does not change the zoomed fallback ground anchor.
A second world touch cancels the joystick before taking ownership of the pinch. Remaining fingers stay in that gesture until all are released; movement requires a fresh touch. Native controls retain their own touch behavior. Mode changes, sheets, cancellation, blur and resize invalidate pending gesture settlement. This uses the existing animation loop, cached immutable-image bounds and final-device-pixel snapping, with bounded projection arithmetic and no per-frame pixel scans.
The absolute scene scale is CSS pixels per art pixel, shown as a percentage, so 100% draws every art pixel one CSS pixel wide and 400% draws it four CSS pixels wide. Physical screen pixels also depend on device pixel ratio. Each view opens at its automatic fit, unchanged, which reads its real percentage (for example 600% on a desktop or 300% on a phone), kept exactly. The fit is the selected character's actual scale: on Characters, its thumbnail's whole-device-pixel backing, any shrink to its box and the carousel's width cap; in Customize, the lineup or actor scale. Captions, menus, playback and equipment controls stay fixed. The New character modal is a form, not this scene.
Wheel, trackpad pinch, or touch pinch on the artwork or empty space zooms. Wheel notches, keys and buttons step through every whole multiple (100, 200, 300, 400%, ...) with even steps between them while a step would exceed 25% (125, 150, 175, 250 and 350%), plus both screens' latest fits. Both screens step through that same list, and a fit appearing or changing only adds a level, so stepping one way and back always retraces the same levels, wherever a level was chosen; stepping onto a fit returns to it. A fit right beside a ladder level (696.6% next to 700%) leaves that small step. A step at a bound stores nothing. A mouse notch is one step however large, and small trackpad scrolls add up to one. A pinch follows the fingers precisely and, released within 4% of a fit or a whole multiple, lands on the nearest one (this screen's fit on a tie) unless something else changed the zoom since; the next step from between levels goes to the nearest level that way. On Characters, the minus, percentage reset and plus buttons appear whenever the shown percentage differs from fit; returning to it hides them and moves their keyboard focus to the scene. Preview keeps these controls visible for any chosen inspection scale, including fit equality, until reset restores automatic composition. On Characters, a wheel turned while Ctrl or Cmd is held steps through the characters anywhere on the screen (a trackpad pinch also reports Ctrl, so only a physically held Control key counts), and a one-finger sideways swipe of at least 48 px steps on touch; Preview zooms with any of these wheels. With the scene itself focused, + or = zooms in, - zooms out, and 0 returns to the fit. Middle-clicking the artwork or empty scene does the same without activating a character. Native fields, buttons, dialogs, and popovers keep their own input behavior.
A chosen scale is shared by both screens, so it reads and draws the same size on each, and survives switching views and resizing; it is never saved in a project. Until the person zooms, each screen shows its own fit. Input runs from 100% (or a smaller fit) to a shared ceiling of twice the largest fit seen this session, which never shrinks; a chosen level is never clamped by bounds that moved after it was chosen. Above the current screen's fit, the selected bare body's painted bounding-box center moves vertically toward the usable stage's midpoint as its height grows, normally reaching that midpoint when the body fills the usable height and remaining centered thereafter. This transition spans at least a 25% increase over fit, so a nearly full-height baseline does not jump when resizing through capacity. The usable area excludes the header and the fixed caption on Characters, or the view tabs and playback controls in Preview, as well as the side rail or bottom sheet. Oversized artwork may extend behind those controls, centered around that midpoint. At or below fit, the vertical pivot is the body's painted ground point, not the padded frame bottom. Both policies meet continuously at fit and depend on the current scale, not the last gesture's direction. The body reference is its standing rest, or the stable union of body poses when no rest is available; equipment and individual animation frames do not move it. Characters caches this metadata with its still and maps it through the actual thumbnail size and carousel cap. Pixel scans reuse the existing immutable-image bounds cache, never the wheel or animation loop.
Preview distinguishes automatic composition from a chosen inspection scale. Automatic fit retains its centered group, including the selected facing's off-center slot in an even lineup. Any chosen scale instead centers the selected body's horizontal reference in the usable stage immediately, including below or exactly at fit. Its neighboring directions use selected-relative slots from the maximum available facing set, not the changing automatic lineup count. Companions hide only when their artwork or floor ring would cross horizontal clearance; vertical clipping is allowed during inspection. Visibility never repacks the row or changes the chosen scale, camera, or canonical fitted ring lift. Reset clears the choice and restores automatic composition. Preview keeps its reset controls visible even when a chosen scale equals fit. Characters retains its existing controls gate and gradual horizontal framing policy.
Inspection sprites snap their final camera-transformed drawing origins to physical pixels. Culling, hit regions, and reflections share those origins instead of magnifying automatic-fit rounding errors. Ring radius minimums, stroke width, and rise rounding use final screen units. These are bounded calculations for at most five facings inside the existing drawing path, with no new pixel scans, timers, or rendering loops. Resizing can still change vertical framing and the automatic fit used by reset, while horizontal inspection spacing depends only on artwork and the chosen absolute scale.
The background uses pixelated image sampling when magnified; its original photographic softness is still part of the source artwork. Camera translation participates in its coverage constraints, including inspection offsets at or below fit; if a tight plate needs additional coverage, only the backdrop grows further, never the character. The finite plate zooms out only until it would expose an edge; past that only characters, floor rings and hit regions keep shrinking around the grounded pivot. This preserves the selected ground point but cannot also preserve the enlarged eye-line relation once the background stops. Decorative reflections may fade below the stage. Headers and controls retain their stacking and input priority over enlarged artwork.
The prototype's fake three-character cast becomes the user's actual library. Real equipment categories and all workflow forms remain accessible. The creator has working validation and cost/recovery states rather than decorative fields. Short phones reserve space for the actual painted sprite and permit equipment scrolling/expansion; the sprite is not enlarged through overlapping controls. Source pixels and original clip proportions take precedence over generated mockup embellishment.
Run npm run check, npm test, npm run build and the standard browser suite from app/. The focused playwright.experience.config.ts runs against an already-served normal app (BASE, default port 5207): five screens × desktop/mobile × light/dark, real equipment/Undo/outfits, import/export, form validation, direction fallback, camera/input/focus, and painted-sprite clearance on short phones. All tests use isolated storage and blocked or mocked PixelLab traffic.
Review native dialogs and popovers, not only the five hero screens. Test 320×568 and 844×390 alongside 390×844 and desktop; confirm text/control bounds, native select colors, attached mirror edges, unclipped swatches, focus restoration and scroll reachability. The original integration verification report is historical evidence, not proof of visual parity. Use the direct parity review and its matching-size capture script for subsequent changes. Keep screenshots local under ignored test results.