# Inversion — local singleplayer edition

Official v1.4.4 revision 4c9687d30ac066485579a4a9a90f6f46dce947ca. Copyright (c) 2022 Ben Budnevich, Menglin "Mark" Xu. MIT code: [LICENSE](LICENSE). [Original repository](https://github.com/remarkablegames/inversion/tree/4c9687d30ac066485579a4a9a90f6f46dce947ca). Original credited programmers/level designers: benox3 and remarkablemark. mikewesthad is credited upstream for the Phaser tilemap tutorial. The original README and exact original preferred inputs are retained in [UPSTREAM-README.md](UPSTREAM-README.md) and [upstream-source.zip](upstream-source.zip).

## Artwork and runtime dependencies

The retained industrial tiles, animated player and spike image are upstream extruded/cropped derivatives of 0x72's [16x16 Industrial Tileset](https://0x72.itch.io/16x16-industrial-tileset), independently licensed CC0 1.0 Universal. The author's asset page explicitly permits any use under CC-0 and identifies the asset license as Creative Commons Zero v1.0 Universal (checked 2026-10-22). [CC0 terms](https://creativecommons.org/publicdomain/zero/1.0/). The small 16-by-16 geometric box.svg is original PlayDo edition artwork, released under MIT with this edition; Phaser rasterizes it to the upstream 32-by-32 box size. No unverified original box/player images, logos, screenshots, music, effects or font files are redistributed. Composer emex is credited by the original README, but all sixteen upstream OGG files are omitted because the code license does not establish their redistribution rights.

Phaser 3.90.0 and eventemitter3 5.0.4 use MIT; full copyright/license notices are retained in dependency-notices/. Exact dependency versions, registry integrity hashes and build dependencies are in source/package-lock.json. Build tools are not browser runtime dependencies. System Arial and monospace are used. No external assets are loaded.

## Modifications — October 22, 2026

Removed all audio asset imports, preloads, music lifecycle and sound calls; disabled Phaser audio. Replaced analytics with a typed no-op, removed Google Analytics and GitHub Corners integration, removed remote page metadata and unused public media. Replaced the uncertain box artwork without changing its physical size. The sixteen original map JSON/TMX files, stage order, player controls, gravity, collision and progression are unchanged. One player controls both characters: arrow keys or WASD move and jump; Space/I swaps the mirrored directions; R restarts. Touching the two characters advances a stage; spikes/falling restart; finishing stage sixteen wraps to stage one. There is no persistent progress or save system.

## Rebuild

The original curated source archive excludes all media without an established grant. It is copied directly from a SHA-256 verified official ZIP rather than a working-tree traversal. Complete modified preferred source is under source/. With Node 24 and npm: cd source; npm ci --ignore-scripts; node node_modules/vite/bin/vite.js build --base ./ --outDir rebuilt. Copy rebuilt/index.html, rebuilt/style.css and rebuilt/assets/ to a fresh deployment directory, preserving the source and notices alongside them. Do not use the upstream npm build wrapper on Windows because its clean command uses rm -rf. The exact lock is preserved.

To regenerate the full curated package on Windows, run its [recipe](package-inversion.ts) from an arcade checkout with Node 24, npm and PowerShell. Its optional argument is the downloaded official source ZIP. A fresh destination is required. It verifies the immutable input hash before extracting only selected entries. The original source ZIP itself is not redistributed because it includes the omitted media. No source maps, development server or node_modules are deployed.
