# AGENTS.md - Experience - Rob Revisited An ORIGINAL first-person 3D survival adventure (WebGL, desktop + browser). No name, text or asset of any existing game. Rob Calder crash-lands on the moon Ysor and must escape on the old colony shuttle, one part per human group. Texts are French; code and comments English. Design and module contracts: `docs/reborn.md` (read it first). ## Code (`src/Revisited`, excluded from the container: plain classes created with `new`) - `Sim/`: body physiology (`Body`), `Items` / `Catalog2` (133 items), `Inventory`, `Crafting` (71 recipes), `Weapons`, `Environment`. - `Land/`: `Game` (whole state, pure logic, no GL/SDL), `Zone` + `ZoneFactory` (6 outdoor zones + caves1-3), creatures and AI (`Wildlife`), humans (`People`, `Talk`, `Dialogues`, `Folk`), `Quest`, `Escape` (shuttle parts), `Economy`, `Companions`, `Raft`, `Wildfire`. - `Render/`: `Graphics`, `View`, `Terrain`, `Models`, `Props`, `Bodies`, `Shaders`, `Atlas`; textures generated by `tools/reborn/`. - `Ui/`: `Hud`, `Screens`, `BodyPanel` / `BodyFigure`, `MapView`, `ScannerView`, `SleepView`, `VitalMenu`, `Controls`, `Hints`, `Canvas`. - `Audio/`: `Soundscape`, `Mixer` (`EngineMixer`, `MemoryMixer` for tests). - Scene: `src/Scene/RevisitedScene.php` (input, loop, save/load, test params). ## Test params (`JUMPHP_SCENE_PARAMS`, RevisitedScene) `seed`, `new:true`, `help:false`, `continue`, `quality`, `touch`, `zone` (valley canyon jungle marsh plateau coast caves1-3), `minutes` (game minutes since day 1 07:00; 660 = sunset, 850 = night), `weather` (clear rain storm snow fog) + `amount`, `screen` (inventory craft body scanner map journal), `talk` (a People key, e.g. maeva), `at` (a thing kind) + `dist`, `x`, `z`, `yaw`, `pitch`. Zones start at a cave door facing a wall: use `at` or x/z/yaw for a good view. ## Tests and checks `bin/jumphp test rob-revisited` (tests/Revisited*Test.php: Sim, Land, Escape, Audio, scene) and the 600-frame smoke test. GL shots: `JUMPHP_GL=1 bin/jumphp shot rob-revisited 90 var/screenshots/x.png`. ## Web site (`site/`, fr + `en/`) Regenerate: `games/rob-revisited/tools/site/shots.sh` (real GL shots, `ONLY="s-night"` retakes one), `python3 -I .../images.py` (site images, og.png, assets/thumbnail.png, assets/icon.png), `python3 -I .../pages.py` (index.html fr/en, robots, sitemap). Check: `bin/jumphp build:site rob-revisited` then `bin/jumphp siteshot rob-revisited`, and open `var/screenshots/site-*.png`.