Name box in the New world panel (t10)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+3
-3
@@ -370,9 +370,9 @@ The title screen art.
|
||||
- functions: buildTitleCells, drawTitle
|
||||
- variables: FONT5, TITLE
|
||||
|
||||
### src/ui/saves.js (177 lines)
|
||||
### src/ui/saves.js (178 lines)
|
||||
Saves in IndexedDB, world files (export / import) and the blueprint library.
|
||||
- functions: newWorldId, worldWrite, listWorlds, putWorldEntry, worldNewest, deleteWorld, renameWorld, migrateWorlds, saveWorld, newestSave, b64FromBytes, bytesFromB64, gz, exportWorld, importWorldFile, libLoad, libSave, bpEncode, bpValid, bpDecode
|
||||
- functions: newWorldId, worldWrite, listWorlds, putWorldEntry, worldNewest, deleteWorld, cleanWorldName, renameWorld, migrateWorlds, saveWorld, newestSave, b64FromBytes, bytesFromB64, gz, exportWorld, importWorldFile, libLoad, libSave, bpEncode, bpValid, bpDecode
|
||||
- variables: DB, worldIdTime, worldIdCounter, worldWrites
|
||||
|
||||
### src/ui/session.js (125 lines)
|
||||
@@ -431,7 +431,7 @@ Previews drawn under the cursor: build ghosts, drill aim and pulses, selections,
|
||||
Events from the simulation (emit) turned into sounds, toasts and cards.
|
||||
- functions: drainEvents
|
||||
|
||||
### src/ui/loop.js (119 lines)
|
||||
### src/ui/loop.js (126 lines)
|
||||
The frame loop and boot.
|
||||
- functions: scanVisible, frame, boot
|
||||
- variables: lastT, acc, lastRender, frameMs, simMs, fpsSm, ambientT
|
||||
|
||||
@@ -4,6 +4,17 @@ What agents have done, newest first. Add an entry for every piece of work: the d
|
||||
note or request it was for, what changed, the files touched, the tests run, and anything left
|
||||
open or not verified. Keep each entry short; the git history has the details.
|
||||
|
||||
## 2026-10-24: t10 World name box for a new world (Claude Code, Codex)
|
||||
|
||||
- `src/shell.html`, `src/styles/style.css`: a Name box across the top of the New world panel.
|
||||
- `src/ui/loop.js`: opening the panel fills it with the next `World N` and selects it; Enter in
|
||||
Name or Seed generates. `src/ui/session.js`: `startNewWorld(seed, w, h, name)`.
|
||||
- `src/ui/saves.js`: `cleanWorldName` (trim, 40 characters, else a fallback), shared with
|
||||
`renameWorld`.
|
||||
- `test/play.py`: a typed name reaches the Worlds list and the pause menu; the default and an
|
||||
all-spaces name both give `World N`. Screenshot `shots/play/new-world.png` checked.
|
||||
- Tests: `run_all.py --browser` all pass.
|
||||
|
||||
## 2026-10-24: t7 Option to turn off smooth pan following the mouse (Claude Code, Codex)
|
||||
|
||||
- New setting `cameraLead` (Display: "Camera looks toward the pointer", on by default):
|
||||
|
||||
Reference in New Issue
Block a user