diff --git a/AI_MAP.md b/AI_MAP.md index 36b8cf4..6c04a96 100644 --- a/AI_MAP.md +++ b/AI_MAP.md @@ -6,7 +6,7 @@ Purpose: static Japanese browser simulation/game. Optimize context by reading th - Entrypoint: `index.html` defines the app shell, canvas, dialogs, right panels, and exact script order. - Runtime style: plain browser JS, global IIFEs, exports on `window`, no bundler/module loader. -- Version/cache: `app_manifest.json`, `js/version.js`, and generated `service-worker.js` share `39.15.101`. +- Version/cache: `app_manifest.json`, `js/version.js`, and generated `service-worker.js` share `39.15.103`. - Main loop: `js/main.js` initializes assets/audio/world/UI/save, then drives update/render. - Update order: `js/system_order.js` calls phase facades from `js/simulation_systems.js`. - Command path: UI/input emits command objects; `js/command_dispatcher.js` routes tool, pointer, selection, save, reset, and UI intents. diff --git a/BUILD_NOTE.txt b/BUILD_NOTE.txt index 72ad9b0..106d468 100644 --- a/BUILD_NOTE.txt +++ b/BUILD_NOTE.txt @@ -3,4 +3,4 @@ tarinai_king_fix_v10 - Burning tarinai and ants draw lightweight flame-shaped overlays. - Flame firecracker is redder and shows a countdown timer; normal firecracker is darker. - Standalone flame and fire particles use a simpler flame silhouette. -- Version: 39.15.101 +- Version: 39.15.102 diff --git a/FILES.json b/FILES.json index fd9ff73..376200a 100644 --- a/FILES.json +++ b/FILES.json @@ -1,6 +1,6 @@ { "purpose": "Token-efficient machine-readable routing for tarinai_. Use scripts/ai_inventory.py for exact current file expansion.", - "version": "39.15.101", + "version": "39.15.103", "entrypoints": { "app": "index.html", "runtime": "js/main.js", diff --git a/GAME_FEATURES.md b/GAME_FEATURES.md index d71fcb5..8a77557 100644 --- a/GAME_FEATURES.md +++ b/GAME_FEATURES.md @@ -16,7 +16,8 @@ The core loop is: ## Main UI - **Canvas / field**: the main simulation area. Tarinai, items, effects, ants, weather, and terrain are drawn here. -- **Top buttons**: pause/resume, speed control, ecology guide, sound settings, credits, save, and reset. +- **Top buttons**: pause/resume, speed control, ecology guide, sound settings, credits, save, display settings, and reset. +- **Display settings**: manually adjust effects, shadows, and drawing detail. `High` keeps quality-preserving optimizations active, while lower tiers cut heavier visuals for crowded scenes without lowering object limits. - **Mobile mode controls**: auto, camera, and tool modes for touch screens. - **Right panel tabs**: jump between main game, selected tarinai data, tools, colony, events, and family tree. - **Tarinai data panel**: appears when a tarinai is selected. Shows health, needs, personality, active effects, relations, inventory, behavior reason, and records. diff --git a/README.md b/README.md index 5376277..b85e8c8 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ AI-first entrypoint for a static browser simulation/game. Keep this file small; ## Runtime Shape -- No bundler; `index.html` loads ordered global-IIFE scripts with `?v=39.15.101`. +- No bundler; `index.html` loads ordered global-IIFE scripts with `?v=39.15.103`. - Mutable runtime lives on `window`; primary entities are `World`, `Tarinai`, items, structures, ants, family graph, weather, and save snapshots. - Update loop: `main.js` creates the world/UI loop; `World.update` delegates to `TarinaiSystemOrder.update`; `system_order.js` runs named phases. - UI loop: pointer/tool/UI intents go through `command_dispatcher.js`; canvas drawing is in render modules; side panels are `ui_*.js`. diff --git a/app_manifest.json b/app_manifest.json index 120434a..c7f4c56 100644 --- a/app_manifest.json +++ b/app_manifest.json @@ -1,5 +1,5 @@ { - "version": "39.15.101", + "version": "39.15.107", "css": [ "css/base.css", "css/layout.css", diff --git a/css/panel.css b/css/panel.css index c9818a8..0dc1763 100644 --- a/css/panel.css +++ b/css/panel.css @@ -412,27 +412,27 @@ body::before { width: 100% !important; max-width: 100% !important; position: static !important; + display: flex !important; + flex-direction: column !important; + gap: 1px !important; } .lineage-family-tree .tree-node .family-copy strong, .lineage-family-tree .tree-node .family-copy > span:not(.family-personality-tags) { max-width: 100% !important; } .lineage-family-tree .tree-node .family-copy > .family-personality-tags { - position: absolute !important; - left: 7px !important; - right: 7px !important; - bottom: 5px !important; - width: auto !important; - max-width: none !important; - height: 26px !important; - max-height: 26px !important; - margin: 0 !important; - grid-auto-rows: 12px !important; + position: static !important; + width: 100% !important; + max-width: 100% !important; + height: 24px !important; + max-height: 24px !important; + margin: 2px 0 0 !important; + grid-auto-rows: 11px !important; gap: 1px 3px !important; z-index: 3 !important; } .lineage-family-tree .tree-node .family-personality-tags em { - height: 12px !important; - line-height: 10px !important; - font-size: 7px !important; + height: 11px !important; + line-height: 9px !important; + font-size: 6.8px !important; } diff --git a/index.html b/index.html index f829e79..fb2185f 100644 --- a/index.html +++ b/index.html @@ -7,11 +7,11 @@ - - - - - + + + + +