feat(studio): refine Play workspace and project preferences (WRK-001D)
This commit is contained in:
+42
-2
@@ -177,11 +177,38 @@ shield follows actual opening steps and remains visible for at least one second,
|
||||
counted in parallel with preparation. Opening a project does not compile or start
|
||||
the game. Closing its window stops execution and returns to the launcher.
|
||||
|
||||
The launcher inherits presentation preferences and has no language, theme,
|
||||
typeface or scale controls. Closing it exits Studio. `./gradlew run` at the root
|
||||
The launcher inherits presentation preferences and offers **Prometeu Studio > Preferences**
|
||||
instead of permanent appearance selectors. This dialog also sets the machine-local
|
||||
runtime default; **Project > Settings** configures an optional override and save
|
||||
media. Interactive Play freezes the effective runtime for both asset capacity
|
||||
qualification and launch, leaving inherited project configuration null. Headless
|
||||
and MCP configuration remains project-specific.
|
||||
|
||||
The global Play/Stop button and Pause/Resume toggle stay on the right above the
|
||||
Gameplay tab, moving together onto a second right-aligned row when navigation
|
||||
needs the space. State text
|
||||
lives in the project header. The equal-height footer follows the selected tab and
|
||||
shows Gameplay's effective scale. Native tabs use stepped upper corners and a flat,
|
||||
open base joining the content, without a button's lower bevel. Studio identity
|
||||
appears once in the launcher's menu. Gameplay automatically fits the native frame
|
||||
to its surface; the optional manual slider
|
||||
uses 25–400% scale, with scrolling for oversized images. Window geometry is stored
|
||||
in `~/.prometeu-studio/window-state.json`; the runtime default is stored separately
|
||||
in `~/.prometeu-studio/runtime-settings.json`. Neither is portable game metadata.
|
||||
Closing the launcher exits Studio. `./gradlew run` at the root
|
||||
launches only the product; the independent shell/gallery require their explicit
|
||||
module commands and do not run after the product closes.
|
||||
|
||||
The active tab's gold outline encloses its content with an opening below the tab
|
||||
header. The product workspace uses a plain surface and equal top/bottom margins;
|
||||
there is no additional decorative frame around the tabs. The standalone foundation
|
||||
shell retains its panel. Gameplay contains a vertical SplitPane: game/local scale controls above,
|
||||
logs below, initially around 80/20. Drag its horizontal divider to prioritize logs
|
||||
or game. Automatic fitting follows the resulting render area, including while
|
||||
paused; manual mode preserves the chosen scale and uses scrolling. The split stays
|
||||
with the open view and is not stored as a project preference. Header/footer stay
|
||||
outside the split. The outline decoration does not participate in layout or hit testing.
|
||||
|
||||
Qualify these windows without a native runtime using disposable projects and
|
||||
isolated presentation storage:
|
||||
|
||||
@@ -194,6 +221,19 @@ Scene captures and environment metadata are written to
|
||||
wizard, appearance, geometry, failure feedback and late-session cleanup; the
|
||||
separate Play gates below exercise the native process and game lifecycle.
|
||||
|
||||
Check command position and painting with real Robot mouse events, screen captures
|
||||
and a repaint reference across themes, locales and text scales:
|
||||
|
||||
```bash
|
||||
./gradlew :prometeu-app:studioControlsDesktopTest
|
||||
```
|
||||
|
||||
Captures and pixel comparisons are written to
|
||||
`prometeu-app/build/controls-desktop-captures`. The diagnostic fixture retains the
|
||||
old wrapping layout to measure displacement; the stable-layout gate exercises the
|
||||
current execution bar. These checks do not replace human confirmation of a reported
|
||||
artifact that cannot be reproduced on the qualification machine.
|
||||
|
||||
Requires a desktop environment and an installed native runtime:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user