From 3525060d33f04075a56f51067df7df71b15b2d31 Mon Sep 17 00:00:00 2001 From: mlangkabel Date: Thu, 16 Apr 2026 22:59:52 +0200 Subject: [PATCH] requirements for game speed controls --- docs/requirements.md | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/docs/requirements.md b/docs/requirements.md index 7ac13ad..a8a2408 100644 --- a/docs/requirements.md +++ b/docs/requirements.md @@ -140,25 +140,26 @@ The screen is divided into three vertical sections: +-------------------------+------------------------+ ``` -- REQ-UI-1: The header bar spans the full width above the game world and always shows the elapsed survival time and the current global building blocks stock. -- REQ-UI-2: The game world view occupies 70% of the remaining screen height below the header bar. -- REQ-UI-3: The UI panel occupies the remaining 30% of the screen height, split horizontally into a selected building panel (left) and a build button grid (right). +- REQ-UI-1: The header bar spans the full width above the game world and always shows the elapsed survival time and the current global building blocks stock on the left, and game speed controls on the right. +- REQ-UI-2: The game speed controls in the header bar are buttons for 0×, 0.5×, 1×, 2×, and 4× speed. The currently active speed is shown as selected. All game simulation (production, movement, threat accumulation, wave timing) scales with the selected speed. 0× pauses the game. +- REQ-UI-3: The game world view occupies 70% of the remaining screen height below the header bar. +- REQ-UI-4: The UI panel occupies the remaining 30% of the screen height, split horizontally into a selected building panel (left) and a build button grid (right). ### Game World -- REQ-UI-4: The player scrolls the view horizontally across the scrollable area by pressing A (scroll left) and D (scroll right). +- REQ-UI-5: The player scrolls the view horizontally across the scrollable area by pressing A (scroll left) and D (scroll right). ### Selected Building Panel -- REQ-UI-5: When no building is selected, the panel is empty. -- REQ-UI-6: When one building is selected, the panel shows: building name, current recipe or blueprint selection, input buffer contents, and output buffer contents. -- REQ-UI-7: The player selects multiple buildings by box-drag or by Ctrl+clicking individual buildings to add or remove them from the selection. -- REQ-UI-8: When multiple buildings are selected, the panel shows how many of each building type are selected. No per-building detail is shown. -- REQ-UI-9: Recipe, blueprint, ship stance, and target priority configuration for a selected building is shown and changed inline within this panel. -- REQ-UI-10: When one or more belt or splitter tiles are selected, the panel shows a "Clear" button that removes all items from the selected tiles. This can be used to resolve stalled belts and splitters. +- REQ-UI-6: When no building is selected, the panel is empty. +- REQ-UI-7: When one building is selected, the panel shows: building name, current recipe or blueprint selection, input buffer contents, and output buffer contents. +- REQ-UI-8: The player selects multiple buildings by box-drag or by Ctrl+clicking individual buildings to add or remove them from the selection. +- REQ-UI-9: When multiple buildings are selected, the panel shows how many of each building type are selected. No per-building detail is shown. +- REQ-UI-10: Recipe, blueprint, ship stance, and target priority configuration for a selected building is shown and changed inline within this panel. +- REQ-UI-11: When one or more belt or splitter tiles are selected, the panel shows a "Clear" button that removes all items from the selected tiles. This can be used to resolve stalled belts and splitters. ### Build Button Grid -- REQ-UI-11: All placeable building types are shown as a flat grid of buttons with no grouping. -- REQ-UI-12: Each button caption shows the building name and its building block cost, e.g. "Belt: 2 Blocks". -- REQ-UI-13: Buttons for buildings the player cannot currently afford are shown as disabled. +- REQ-UI-12: All placeable building types are shown as a flat grid of buttons with no grouping. +- REQ-UI-13: Each button caption shows the building name and its building block cost, e.g. "Belt: 2 Blocks". +- REQ-UI-14: Buttons for buildings the player cannot currently afford are shown as disabled.