Today
Your main task belongs here. Use Items to browse the collection.
# Build an app or game that fits its display An interactive Hackemist build should behave like an application. Keep navigation, Back/Close, primary actions and game controls reachable inside the player's current viewport. Organize features as screens, workspaces and contextual panels rather than a stack of website sections. Do not make users scroll a long document to find a timer, finish a workout, pause a game or reach another feature. **Scrolling is normal app behavior.** Feeds, chats, collections, timelines, tables, editors, forms and reading views can scroll where that helps the task. The goal is an app feel, not a ban on scrolling or mandatory pagination. Keep the application shell stable while its content moves. This applies to manual Studio uploads and agent/MCP builds. The player displays your authored interface; it cannot reorganize an arbitrary website into an app. A screenshot or a responsive declaration alone does not prove all screens work. Use the [screen matrix and preview tools](/docs/layout-testing.md) to test 16:9, 20:9 and 21:9 phones, other custom aspect ratios, 1920 × 1080, QHD, ultrawide and 4K. Studio offers CSS viewport presets/rotation and an on-demand control-geometry report. `project_layout_plan` gives MCP creators the same target catalog and a credential-free local helper with mobile/touch/DPR emulation and explicit state assertions. Wider coverage runs on the creator's computer. Desktop publication includes 1920 × 1080 within the existing eight-target server bound. ## Choose the experience honestly Declare the experience on the HTML or body element: - `data-hackemist-experience="app"`: planners, editors, trackers, dashboards and other interactive tools. Use a bounded application shell, persistent navigation and contained panels. - `data-hackemist-experience="game"`: menus, gameplay, HUD, pause, settings and results must fit. A game world may move within a clipped scene; its required controls must remain accessible. - `data-hackemist-experience="document"`: an article, manual or reading-first report may scroll vertically. Do not use this to disguise an overflowing interactive app or game. Also declare `data-hackemist-layout="responsive"` for a reflowing layout or `adaptive` for implemented logical layouts. `data-hackemist-viewport="fit"` explicitly requires both-axis fit. Interactive responsive layouts now require both-axis fit by default; a genuine scrolling document opts into `document`. Existing published versions keep working; an updated build is checked against the current rules. Legacy fixed stages can retain the player's uniform Fit mode, but scaling alone does not make small controls usable. ## Adapt the interface before removing anything Design a deliberate composition for each supported form factor: mobile, tablet, desktop and any other advertised display. Customize the navigation, information hierarchy, panel arrangement and interactions to that space and input method. Reuse components and state, while allowing genuinely different interfaces for the same task. Each app should have its own product design; the starter's workspace appearance is not a platform-wide skin. Start by resizing and reflowing content to the available **width and height**. Use flexible tracks, wrapping toolbars, bounded spacing and typography, and a game renderer sized to its actual content area. Scale a game scene uniformly where appropriate; keep HUD text and touch controls readable. Do not shrink an entire desktop interface until its labels and controls become unusable. | Form factor | Application behavior | | --- | --- | | Large desktop / TV | Use the available space for a navigation rail, working area and optional detail/inspector panels. TV needs readable controls and keyboard/remote navigation. | | Tablet / small desktop | Resize panels, reduce spacing and use a compact rail. Move secondary panels to a drawer or dedicated screen only when they no longer fit usefully. | | Phone portrait | Use reachable bottom or compact navigation. Show the primary task; open secondary tools and details with a button and a clear Back/Close route. | | Short landscape / reduced height | Reflow HUD and controls beside the work area, reduce nonessential spacing and keep primary actions visible. Consider the phone keyboard as a height change. | Preserve selected items, entered text, focus, scroll position and game progress across resizing and navigation changes. Hidden desktop panels need a working alternative entry point; hiding a feature alone is not adaptation. Choose breakpoints from the content, not from device names. Do not intercept native touch scrolling or disable browser zoom to make a layout fit. ## The shared Studio and MCP starter New empty Studio and MCP projects both use the same [complete application starter source](/docs/app-shell.html). Save that source as UTF-8 `index.html`, or read `hackemist://examples/app-shell` through MCP. It has desktop navigation and an inspector, a compact tablet rail, phone bottom navigation, a mobile detail screen with Back, a naturally scrolling collection, working edits and an accessible settings dialog. Resize an active edit to try the transitions. Its inputs and controls remain usable instead of shrinking the whole desktop screen. The source is served as inert text on the documentation origin; preview uploaded builds through the isolated player. The starter holds demo data in the current session. Connect durable data to the [save SDK](/docs/save-sdk.md). A layout template does not implement account saving. Replace the workspace with your own app or game architecture; the starter is an example, not a required visual style. ## A smaller paging example This smaller alternative has working navigation, optional pagination, a named keyboard-accessible content panel and an Add button. Use paging when it helps the task; a naturally scrolling collection is equally valid. Save it as UTF-8 `index.html` and connect durable data to the save SDK. ```html
Your main task belongs here. Use Items to browse the collection.