Jump to content

Unity.Rea.ProjectVania/SPEC

From MindAttic Docs

Unity.Rea.ProjectVania — Product specification

The complete product, written down before it is built (owner, 2026-11-30, MAT-T360). Every epic, feature and story the finished product will have is listed here, built or not. The ticket tree mirrors this file one to one: every ID below is a ticket. Nothing gets built unless it is here, and anything taken out of here is closed wont-do in the tree. docs/RELEASE.md says which part of this the current milestone delivers.

1. Product definition

A product in docs/ECOSYSTEM.md (Games): a Unity.Rea faithful port; owner rule: fix bugs only, never change the gameplay. A Unity 6 rebuild of the owner's XNA ProjectVania platformer sandbox: acrobatic characters on a 16 px grid with a slide-down console, a live map editor and a main menu, kept to the original's per-frame numbers.

The finished product is the original engine demo, faithfully reproduced (fix bugs only, never change the gameplay), shipped as Installed Windows players, with its online mode (host, join by IP or code, seats) proven between two machines.

2. Scope boundary

2.1 In the product

  • Engine-free core, data, a code-built project and every original asset
  • Movement on the 118 by 75 grid: run, jump, kneel, wall jump
  • Animated characters, with Shanoa and Leo playable
  • Backdrop, camera, HUD, filter effects and sound
  • The main menu, the console and the live map editor
  • Online play on the shared kit beside local play
  • Installed Windows players, headless launch

2.2 Never in the product

A request that lands here is closed wont-do, not filed as proposed.

  • Any change to gameplay, controls feel or content (owner rule).
  • The XML key setup the original only had as a TODO.
  • New levels, enemies or abilities beyond the engine demo.
  • Mobile, console or store builds.

3. Users and roles

  • The owner: plays it, signs off each milestone.
  • Players: one locally, or several online, one seat each.
  • Agents and tooling: the scripted end-to-end run and headless launch.

4. Requirements

Status is built (closed ticket, with evidence) or the milestone that delivers it: MS-88 (active, docs/RELEASE.md) or MS-143 (planned, the finished product). Every unbuilt item is approved and prioritised in build order; the planner splits a story into tasks when the queue reaches it.

E1. Foundations — U.VAN-T57 — built

Engine-free core, data, a code-built project and every original asset

F1.1 Core, data and assets — U.VAN-T58 — built

Stories A1 to A3, A16 and A17

  • S1.1.1 Engine-free Core (A1) — U.VAN-T4 — built Build U.VAN-US-A1 (owner 2026-10-23, in build order): As the owner, the rules live in an engine-free Core assembly (noEngineReferences, no UnityEngine) that steps at exactly 1/60 s with an accumulator, changes state only through commands carrying a player id that produce events, and is tested with dotnet test outside Unity, with Runtime, Editor and Tests as separate one-way asmdefs, so the original's per-frame arithmetic is copied exactly and presentation never mutates the game (RECONSTRUCTION 0, 1, 2). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T4 closed.
  • S1.1.2 Every number in data (A2) — U.VAN-T5 — built Build U.VAN-US-A2 (owner 2026-10-23, in build order): As the owner, every tuning number, content definition and text is data validated on load behind a settings registry (the player constants of section 4.2, the 16 px grid and the bridge level, the animation table, the menu tree, the camera and console constants, the audio cue table, the segment definitions and the name list), so nothing is a magic number in behaviour and a test proves each file loads (RECONSTRUCTION 4.2, 5, 9, 13). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T5 closed.
  • S1.1.3 Project built in code (A3) — U.VAN-T6 — built Build U.VAN-US-A3 (owner 2026-10-23, in build order): As the owner, the project is a modern Unity 6 setup built in code: URP behind a pipeline-agnostic layer with a pixel-perfect 800x600 reference, the Input System, Unity.Shared profiles and settings, a scripted batch build and test entry point, a trimmed package manifest, and scenes and UI composed by a code-built bootstrap instead of hand-wired Inspector state (RECONSTRUCTION 0). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T6 closed.
  • S1.1.4 Unwired original content kept (A16) — U.VAN-T19 — built Build U.VAN-US-A16 (owner 2026-10-23, in build order): As the owner, everything the original built but never wired is kept as data and inert behaviour (the eleven segment definitions and the segment atlas, the 16 ledge slots, the Sun day-night cycle, the action cross, the seven portraits, the skill icons, the five area layers, the particle, selector, banner and sprite-sheet art, the Shanoa, Leo and Richter art), so the rebuild loses nothing the original contained (RECONSTRUCTION 5.1, 9.1, 13, 15). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T19 closed.
  • S1.1.5 Every original asset (A17) — U.VAN-T20 — built Build U.VAN-US-A17 (owner 2026-10-23, in build order): As the owner, every sprite, texture, sound, font and data file the original loaded is in the rebuild, proven by a test that diffs the original's live asset list (RECONSTRUCTION 13) against the rebuild's content registry, with the poisondart and consecrate icons imported as their own files. Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T20 closed.

E2. Platforming — U.VAN-T59 — built

Input, the grid world, movement and the characters

F2.1 Movement — U.VAN-T60 — built

Input, the 16 px grid world, running, jumping, kneeling and wall jumps

  • S2.1.1 Keyboard and Xbox pad (A4) — U.VAN-T7 — built Build U.VAN-US-A4 (owner 2026-10-23, in build order): As a player, my keyboard and Xbox pad do exactly what the original's did in each game state (Play, MainMenu, Console, MapEditor): A/D move, S kneels, Space jumps on press, [ and ] or L1/R1 cycle players, Esc/Start the menu, tilde/Back the console, R resets, F12 fullscreen, U the quick bar, C the camera mode, M or middle mouse the editor, the scroll, zoom and rotate keys, and the wheel zoom, with the original's edge and hold semantics (RECONSTRUCTION 3). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T7 closed.
  • S2.1.2 The 118 by 75 grid world (A5) — U.VAN-T8 — built Build U.VAN-US-A5 (owner 2026-10-23, in build order): As a player, the world is the original's 118x75 grid of 16 px cells (Hard, Soft, Empty) with the starting bridge level (a full floor on row 30 and two full-height walls on columns 20 and 40) and the original's floor, ceiling and horizontal collision queries, including the partial-wall rule, proven by Core tests that reproduce the original's cell lookups (RECONSTRUCTION 5). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T8 closed.
  • S2.1.3 Run and jump numbers (A6) — U.VAN-T9 — built Build U.VAN-US-A6 (owner 2026-10-23, in build order): As a player, my character runs to a steady 116 px/s on the ground and 130 px/s in the air, jumps a full fixed curve of about 76 px that releasing the key does not shorten, falls under 10 per frame to 500, kneels on a terminal-speed landing, slides out of a run, wall slides at 83 px/s, wall jumps and drops after one idle second on a wall, all as the original's per-frame state machine, proven by Core tests that replay traced frame sequences (RECONSTRUCTION 4.2-4.7, 4.9). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T9 closed.
  • S2.1.4 Kneel release fixed — U.VAN-T23 — built Releasing S stands the character up from a kneel (owner 2026-10-23: fix what is broken): in the original the character stays kneeling after S is released until it moves or jumps; the rebuild stands it back up when S is released, recorded in the BIBLE as a fixed defect Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T23 closed.
  • S2.1.5 Wall jump fixed — U.VAN-T24 — built A wall jump pushes off the wall (owner 2026-10-23: fix what is broken): the original's wall jump goes straight up the wall with no push away from it; the rebuild kicks the character out away from the wall at the start of a wall jump, tuned to the original's jump curve and air speed, recorded in the BIBLE as a fixed defect Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T24 closed.

F2.2 Characters — U.VAN-T61 — built

Animated characters, Shanoa and Leo playable

  • S2.2.1 Animated characters (A7) — U.VAN-T10 — built Build U.VAN-US-A7 (owner 2026-10-23, in build order): As a player, I see the original's characters animated from their sprite sheets (Morris with idle, run, jump, fall, wall slide, kneel and slide; Shanoa and Leo with idle and run) at the original frame times, drawn at a bottom-centre origin and flipped by facing and wall jump, with a random name from the original name list drawn over each player in red and yellow, and two players of whom [ and ] choose the driven one (RECONSTRUCTION 4.1, 4.8). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T10 closed.
  • S2.2.2 Shanoa and Leo playable — U.VAN-T25 — built Shanoa and Leo become playable (owner 2026-10-23): the original loads a second character who only stands idle while [ and ] cycle control. Shanoa has her full set of animations, so she becomes fully playable with the same moves as Morris (run, jump, fall, wall slide, kneel, slide). Leo (an FFVI sprite) lacks the frames for a full move set but can jump, so he is playable with idle, run and jump, and the world gets structures built out of blocks (map cells) for him to climb and jump across; switching between the three with [ and ] or L1/R1 works properly Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T25 closed.

E3. Presentation — U.VAN-T62 — built

Backdrop, camera, HUD, filter and sound

F3.1 Screen and sound — U.VAN-T63 — built

Stories A8, A9, A12, A13 and A15

  • S3.1.1 Painted backdrop (A8) — U.VAN-T11 — built Build U.VAN-US-A8 (owner 2026-10-23, in build order): As a player, I see the painted mountain-farmhouse backdrop at its original size, the white map outline, and every Hard cell drawn from the tileset at its source rectangle, with every cell visible while the editor is open, drawn on the CornflowerBlue clear colour in the original's order of outline, layers, then cells (RECONSTRUCTION 5, 6). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T11 closed.
  • S3.1.2 Camera modes (A9) — U.VAN-T12 — built Build U.VAN-US-A9 (owner 2026-10-23, in build order): As a player, the camera eases toward the current player in Loose mode with the original's 0.02 pull and 0.7 damping, can be locked to the player, follow the editor cursor, or run free (C cycles them), clamps its centre to the map, and responds to the scroll, zoom (scale cubed) and rotate keys and the wheel exactly as the original's (RECONSTRUCTION 7). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T12 closed.
  • S3.1.3 HUD (A12) — U.VAN-T15 — built Build U.VAN-US-A12 (owner 2026-10-23, in build order): As a player, the original's HUD is always drawn: the portrait frame and quick bar (U slides it), the falling and fading message stack with its six start-up messages and the gamepad notice, the full-screen fade lens driven by the fade commands, and the debug readout of player, camera, cursor, selected cell and frame rate at the original positions (RECONSTRUCTION 9.1). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T15 closed.
  • S3.1.4 Sound cue table (A13) — U.VAN-T16 — built Build U.VAN-US-A13 (owner 2026-10-23, in build order): As a player, I hear the original's sounds from a cue table: the menu and console ambience cues, the run step and wall-slide drag cues (throttled to once per animation frame and per clip), and the two songs started only by the console, with mute and pause working, and the unplayed footstep, step1, jump1 and music1 cues kept in the table (RECONSTRUCTION 11). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T16 closed.
  • S3.1.5 Filter effects (A15) — U.VAN-T18 — built Build U.VAN-US-A15 (owner 2026-10-23, in build order): As a player, the world draws through the original's filter effect (a mild vignette) and the other four shaders (bloom, negative, pause, water) exist as selectable post-process presets that nothing enables, as in the original (RECONSTRUCTION 6.1). Draw the filter exactly as the original does, per sprite, not as a full-screen vignette (owner's rebuild standard: the BIBLE's per-sprite to full-screen deviation is withdrawn). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T18 closed.

E4. In-game tools — U.VAN-T64 — built

Main menu, console and live map editor

F4.1 Menu and console — U.VAN-T65 — built

Stories A10 and A11

  • S4.1.1 Three-level main menu (A10) — U.VAN-T13 — built Build U.VAN-US-A10 (owner 2026-10-23, in build order): As a player, Esc opens the original's three-level main menu (Game, Video with Toggle Fullscreen, Audio, Controls, Quit) over a darkened screen with its arrow indicator, titles, descriptions, wrap-around navigation and sounds, the world freezes while it is open, and Quit exits, with the game states Play, MainMenu, Console and MapEditor changing as the table in RECONSTRUCTION 2 says. Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T13 closed.
  • S4.1.2 Slide-down console (A11) — U.VAN-T14 — built Build U.VAN-US-A11 (owner 2026-10-23, in build order): As a player, the tilde key slides a 200 px console down over the world with its blinking prompt, 100-line history, command recall and typed-key rules, and runs the original's script language (say, yell, fade, play music, play battle, msg hi, exit, version, pause, mute, lee, console clear/full/text/history/bg and the colour parameters) with no crash on a short command (RECONSTRUCTION 10). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T14 closed.

F4.2 Map editor — U.VAN-T66 — built

Story A14

  • S4.2.1 Live map editor (A14) — U.VAN-T17 — built Build U.VAN-US-A14 (owner 2026-10-23, in build order): As a player, M or the middle mouse button opens the map editor: the camera becomes a mouse-look joystick over a cursor, left click paints a Hard cell from the selected palette tile, right click erases it, the highlight tints the cell under the cursor, a player can be dragged with the mouse, and holding Space switches to the palette cursor to pick a tile, with no painting outside the grid (RECONSTRUCTION 8, 12). Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T17 closed.

E5. Online and verification — U.VAN-T67 — built

Online play and the end-to-end checks

F5.1 Online — U.VAN-T68 — built

Online play on Unity.Multiplayer

  • S5.1.1 Online on Unity.Multiplayer — U.VAN-T31 — built Online-ready (rebuild standard point 9): adopt the shared Unity.Multiplayer kit beside unchanged local play, as Unity.Chain (U.CHN-T26) and Unity.Hare did: one authority holds Core's world, each connection is a NetEntity carrying its seat as the PlayerId its commands carry, clients forward commands to the authority and draw the authority's state, local play keeps the same command path; no gameplay change Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T31 closed.

F5.2 Verification — U.VAN-T69 — built

Scripted end-to-end run and headless launch

  • S5.2.1 End-to-end verification (A18) — U.VAN-T21 — built Build U.VAN-US-A18 (owner 2026-10-23, in build order): As the owner, the finished game is verified end to end by a scripted run that plays every state and mechanic of the original (run, jump, kneel, slide, wall slide, wall jump, camera modes, menu, console commands, editor painting, audio) and captures screenshots, settles the two kept-pending behaviours (kneel release, wall jump push-off), and compares them with RECONSTRUCTION, so the repo can be called a complete proof of concept of the original. Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T21 closed.
  • S5.2.2 Headless launch — U.VAN-T39 — built Adopt the shared off-by-default --headless launch mode (Unity.Shared) Acceptance: the behaviour matches the original as recorded in docs/RECONSTRUCTION.md. Evidence: U.VAN-T39 closed.

E6. Faithful port — U.VAN-T46 — MS-88

Confirmed bugs fixed and a recorded Release play-through that matches the original

F6.1 Faithful play without bugs — U.VAN-T47 — MS-88

Fix every confirmed bug without changing gameplay

  • S6.1.1 Exhaustive bughunt — U.VAN-T44 — MS-88 (task) Hunt Unity.Rea.ProjectVania for real bugs (rooms, input, saves, edge cases) against docs/RECONSTRUCTION.md and fix every confirmed one without changing gameplay (owner rule: fix bugs only); any fix too big for this session goes to its own fix task under Faithful play without bugs

F6.2 Release play-through — U.VAN-T48 — MS-88

The deployed Release player played start to finish against RECONSTRUCTION

  • S6.2.1 Release play-through — U.VAN-T52 — MS-88 (task) Play the Release player from R:\MindAttic\Apps\Unity.Rea.ProjectVania\Release start to finish (run, jump, slide and wall-cling across the level, console, live map edit) against docs/RECONSTRUCTION.md, record the run and its evidence in RECONSTRUCTION.md, and file a fix task under Faithful play without bugs for each gap

E7. Windows release — U.VAN-T49 — MS-88

Players deployed on R: and the owner sign-off

F7.1 Installed Windows players — U.VAN-T50 — MS-88

Debug and Release players deploy to R:\MindAttic\Apps and launch

  • S7.1.1 Unity.Rea.ProjectVania on R: — U.VAN-T45 — MS-88 (task) Unity.Rea.ProjectVania: adopt (or confirm) the shared run menu over deploy-lib.ps1 Publish-Unity, run Redeploy, and confirm the Development (Debug) and Release Windows players land and start at R:\MindAttic\Apps\Unity.Rea.ProjectVania\Debug and \Release; repoint anything in the repo still naming an old build path. Outcome: both players exist under R: and launch

F7.2 Owner sign-off — U.VAN-T51 — MS-88

The owner plays the Release player end to end

  • S7.2.1 Owner plays Release — U.VAN-T53 — MS-88 (task) OWNER ACTION, not for agents: play the Release player from R:\MindAttic\Apps\Unity.Rea.ProjectVania\Release end to end (run, jump, slide and wall-cling across the level, console, live map edit) and sign off the faithful-port milestone, or file what is wrong

E8. Online play verified — U.VAN-T70 — MS-143

Online play, already built (the Online scene (-online / play.ps1 -Online) on the shared kit: Host, Join by IP, Join by code, the lobby and seats), proven between two machines and released as 1.1

F8.1 Two-machine online session — U.VAN-T71 — MS-143

A host and a joining player on two machines play a full session by the original's rules

  • S8.1.1 Host and join on two machines — U.VAN-T72 — MS-143 As a player, I host the Release player on one PC and a friend joins from another, so we play ProjectVania together online. Acceptance: given two Windows Release players on different machines, when one hosts and the other joins, then both stay in the same game state through a full session; each gap found is filed as a fix task under this feature.
  • S8.1.2 Online keeps the original rules — U.VAN-T73 — MS-143 (after U.VAN-T72) As the owner, an online session plays by exactly the rules of local play, so the port stays faithful online. Acceptance: given the same inputs, when played locally and online, then outcomes match docs/RECONSTRUCTION.md; any difference is a bug, recorded and filed as a fix task.

F8.2 Polish and release 1.1 — U.VAN-T74 — MS-143

Fit and finish, docs current, players redeployed to R:, owner sign-off of the finished product

  • S8.2.1 Redeploy, docs current, sign-off — U.VAN-T75 — MS-143 (after U.VAN-T73) As the owner, the 1.1 players are redeployed to R:\MindAttic\Apps\Unity.Rea.ProjectVania, docs/overview.md, BIBLE and RECONSTRUCTION describe the online mode as verified, and I sign off the finished product. Acceptance: given the redeployed Release player, when the owner plays local and online sessions, then the owner signs off or files what is wrong (owner action for the sign-off).

5. Non-functional requirements

Windows only. Keyboard and Xbox pad. Fixed per-frame numbers from the original. No accounts, no secrets.

6. Interfaces and dependencies

  • Platform repos used, by concern (docs/ECOSYSTEM.md §2.1): engine kits: Unity.Shared (profiles, settings, headless mode) and Unity.Multiplayer (online host and join); shipping: the shared run menu. Installed players require Unity.Shared's stable package (MAU-T25); online play requires Unity.Multiplayer release 3 (UM-T98). Unity 6 with URP and the Input System; com.mindattic.unity.shared; Unity.Multiplayer and MindAttic Components (online); the shared run menu to deploy to R:. Nothing consumes it.

7. Release sequence

  1. MS-88 — faithful playable port (active, docs/RELEASE.md): U.VAN-T46 Faithful port (900), U.VAN-T49 Windows release (800). Bugs fixed, a recorded Release play-through, Installed Windows players, the owner's sign-off.
  2. MS-143 — Unity.Rea.ProjectVania 1.1: online play verified (planned, the finished product): U.VAN-T70 Online play verified (700), ending with polish and release (U.VAN-T74, 780). When it is reached, the product is finished.

8. Change log

Date Change to scope Ticket
2026-11-30 Specification written from the BIBLE, RECONSTRUCTION, charter, code and ticket history. Every built story is a closed ticket under a built epic. The one unbuilt capability the docs describe, the online mode (built, never proven between two machines), became planned milestone MS-143. For the owner: confirm that verifying online play is the right finish line. MAT-T380
2026-11-30 MAT-T462 single-source pass: 2 renamed (renamed to capabilities (features named for an install path or an activity), summaries stripped of paths, scripts and class names), 0 buckets dissolved, 7 requires added (2 cross-repo to the Unity platform kits), 0 platform re-points (the game already uses the owner kits; links make the order explicit) MAT-T473
From Unity.Rea.ProjectVania/docs/SPEC.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.