Spaces:
Running
Running
Commit History
-
README: strip inline tag comments (they break tag parsing); explain tags in body Running
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>12cd631 -
README: add achievement:fieldnotes tag
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>4e0b65d -
README: hackathon submission — track/sponsor/achievement tags, demo video + social + Space links, refreshed write-up
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>b2e3f8c
-
Fix media persistence stall: never await IndexedDB on the critical path
In the HF Space's storage-blocked iframe, indexedDB.open() can hang forever (no onsuccess/onerror), so awaiting an IDB op stalled the server write/read and nothing persisted — portraits/voices still vanished despite the server store. _put now fires IDB as best-effort cache (not awaited) and awaits only the durable server write; _get caps the IDB read with a 700ms timeout before falling back to the server. So the server path always runs even when IDB hangs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>81c919a -
Persist portrait/voice/media server-side (durable in the HF Space iframe)
The client cached portrait/voice blobs in browser IndexedDB, which is blocked/ evicted inside HuggingFace's cross-origin Space iframe — so created heroes lost their portrait + voice on reload (the persona record itself survived via localStorage, which the iframe keeps). Fix: mirror media blobs SERVER-SIDE, keyed by the same id the client already holds in localStorage. Same-origin fetch works in the iframe; only browser storage is partitioned. - app.py: POST/GET/DELETE /api/blob/{store}/{id} (portraits, voices, skillIcons, skillArt, chatAudio). Path-traversal-guarded ids; content-type preserved via a sidecar. Stored under HF persistent storage (/data) when mounted, else a local user_data/ dir (override TINY_DATA_DIR). - personaStore.js: _put writes IDB (fast cache) + server (durable); _get reads IDB first, falls back to the server and re-caches. Covers all media stores. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>ca12a3d -
Fix first-spawn hero recognition; tour portrait/voice; lighter cinematic
- Created heroes now spawn with their roster id (openCreateModal carries savedId through to spawnWithFly), so portrait/voice/skills/chat are recognized on the FIRST spawn instead of only after re-picking from the roster. - Guided tour gains explicit "paint portrait" + "create voice" steps (data-tut markers + onPortrait/onVoice hooks) before Save & Play, so later skill/chat steps have real media. - Cinematic: harden startCinematic early-returns to tear down partial builds if cancelled mid-setup; cut warbands 6→4 anchors (~60 vs ~90 sprites) to fix title-screen slowdowns. (Armies were already cleaned up between runs.) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>710dcf3 -
Add local ACE-Step music sidecar + cinematic title sequence
ACE-Step (music + sung vocals) as a local sidecar, mirroring the aya/klein pattern so the main app generates audio without HF quota: - spaces/acestep-zerogpu/ (own .venv-acestep — ACE-Step pins transformers==4.50/ spacy==3.8 that clash with the other sidecars; needs torchcodec for WAV I/O) - run_sidecars.sh `acestep` case (port 7866, on-demand), .env TINY_ACESTEP_SPACE - app.py: _acestep_generate helper + POST /api/music route Cinematic hero-select title sequence (web/titleSequence.js, web/tiny.js, comboBattler startCinematic/stopCinematic/getCineAnchors): - ambient camera tour over decorative warbands (no-combat actors, ~15/group, phyllotaxis packing) behind the always-usable picker - TINY ARMY wordmark + letterbox/vignette overlay - ACE-Step title theme (web/audio/*, LFS) — tavern active, orchestral kept for reuse; music ducks when the game starts; mute button beside the char-sheet button - hero speaks their saved voice (IndexedDB) on the info page + on select Also: klein sid…ae61c19 -
Equip from skill detail now updates the live skill bar at once
Equipping a skill from its detail sheet patched the persona but never pushed the new bar to the on-field hero, so the skill only became usable after switching heroes or dying/respawning (which rebuild the player). The detail equip handler now calls comboCtrl.setHeroSkills(resolveEquipped(hero)) like the bar-management path already does — the engine bar + buttons rebuild immediately. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>63d105f -
Skill icons: show the spinner while painting, not a stale reused-id icon
Forged skill ids live in a reused 9000+ band, so getSkillIcon(id) could return a PREVIOUS skill's art for a brand-new pending one — the loading spinner never showed; the old icon did. Two layers of fix: - paintSkillIcon / skill detail / forge card now check iconPending FIRST and show the spinner (clearing any background image), only fetching the stored icon once it's no longer pending. - forgeSkillForHero deletes any existing icon for the (reused) id up front, so the store starts clean — new delSkillIcon() in personaStore. Also: Replay tour button on the hero-selection screen (only when no hero is picked yet) → tut.reset() restarts the guided tour. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>e46cfbf -
Tour: draggable callout with a grab handle (tap to flip up/down)
The tour callout was a fixed banner that could still cover controls on mobile. It now has a grab handle at the top: - DRAG it anywhere (clamped to the viewport). - TAP it (no real movement) to flip between two snap presets — DOWN (above the on-screen controls) and UP (just below the top UI). The chosen position persists across steps and is saved, so it stays put as the tour advances. Pointer events cover touch + mouse; a 5px dead zone keeps a tap from registering as a drag. Replaces the per-anchor REGION map (every step mapped to one banner anyway) with the two presets + free placement. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>7232e98 -
Tour: pulse-glow the control each step is waiting on
While a tour step awaits input, the button it points to now pulses with a gold glow so the eye is led straight to it. The glow follows the tour — it clears from the old control and lights the new one as steps advance, and it tracks controls that only appear once a modal/sheet opens or get re-rendered (picker card, skill buttons) via a light poll. - tutorial.js: inject .ta-tut-glow keyframes; trackGlow(selector) per step, cleared on teardown; steps gain an optional `target` CSS selector. - tiny.js: target selectors on the create/recruit/save/move/attack/dodge/sheet/ forge/talk steps; data-tut tags on the create card, Save & Play, ☰ sheet, Forge skill and Talk buttons. - heroCreator.js: data-tut="recruit" on the Recruit button. - comboBattler.js: rebuilt bundle (joystick/dodge/attack now carry data-tut). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>d77de70 -
Skill forge: usable immediately, character-in-skill art painted in background
Forging a skill no longer blocks on image generation. The coding model defines the skill, it's persisted + learned at once, and a single scene of THE CHARACTER using the skill is painted in the background (one image now, used as both icon and detail art — no separate icon + action art). - skillForge.js: persist with iconPending=true and return immediately; generateSkillImage() runs fire-and-forget, passing the hero's portrait to Klein as an identity ref so the actual character appears in the scene. Status names the coding model (like image/voice backends do). - app.py: /portrait accepts ref_image; both the sidecar path (_remote_klein_portrait) and in-process ZeroGPU path (_klein_portrait, via new _decode_ref_image) feed it as FLUX.2 identity conditioning. - imagen.js / imagenServer.js: thread refImage through to local + Klein engines. - tiny.js / skillForgePanel.js: gold spinner loading indicator while an icon is still painting; swaps to the art when iconPending clears (on…cedb3f2 -
Tutorial: pin coachmarks to a bottom banner so they never cover the UI
The center-anchored callouts (opener, create-modal steps) obscured the map/modal/picker. Route every step to one consistent banner low on the screen (centred, above the controls + picker) — readable, click-through everywhere else, and 'starts at the bottom'. Verified: opener sits in the bottom third with the picker fully clickable below it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>5b530db
-
Add first-run guided tour (non-intrusive coachmarks, in-world copy)
web/tutorial.js: a small coachmark engine — region-anchored callouts that advance as the player acts (or via Next), always skippable, first-run only, progress persisted to localStorage. tiny.js defines the 12 game-flavored steps (recruit → fight → forge → talk) and emits the advance events (create-open / persona / spawn / move / kill / sheet / forge); auto-starts ~0.9s after the Game mounts. Settings → Gameplay gets a 'Replay tutorial' button (window.tinyArmyReplayTutorial). Verified end-to-end: opener → create step (2/12) with Skip, positioned above the picker without blocking it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>620430e -
Game: weaker early foes, no-kite ranged, C=character sheet, hide sidebar toggle
- Early enemies weaker (HP*0.2, armor*0.25): most die in 2 Warrior basics, then ramp with threat via hpMul. Verified Swordsman/Spearman/Knight=2 hits, Archer/Scout=1. - Roam foes set noKite: ranged enemies hold ground + shoot instead of backing away. - Character sheet: press C to open/close + a 'C' indicator on the menu button. - Hide the app-sidebar toggle (it sat over the XP bar); show/hide the nav drawer with the backtick/tilde key instead. Both guarded against text inputs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>c5ee685 -
Rebuild comboBattler: no default skills
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>4dcaaae -
Fix gen UX: elapsed-time feedback + disable broken Qwen3 voice default
Root cause of 'stuck loading / frontend not updating': generation WORKS but is slow on ZeroGPU (~9-13s) and serializes — the static 'painting…' message with no progress read as stuck, and Qwen3-TTS (no DashScope key) 503'd as the saved default. - web/elapsed.js: a live elapsed-seconds counter; wired into the portrait + voice paint (heroCreator) and skill-icon (skillForge) statuses → 'painting via klein… 8s' ticks, so slow ≠ stuck. Verified the portrait blob does render (1024x1024) after ~12s. - Qwen3-TTS now reports available()=false (needs a server key / ?tts= bridge), so it's never the auto-selected default and a saved-on-qwen3 hero falls back to VoxCPM (which works). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>aab70c1 -
Diagnostics: timeouts + structured logging on all model/media calls
Root cause of 'stuck at loading': none of the image/voice/skill/text fetches had a timeout, so a slow/hung backend spun forever. Added web/diag.js — diagFetch (timeout + timing + console log + ring buffer) and diagStream (connect + idle timeouts for SSE): - image /portrait: 120s ceiling - voice /qwen-tts + /voxcpm (synth + clone): 90s - skill + text /text/generate/stream: 30s connect, 60s idle-stall Calls now FAIL LOUDLY with a clear timing-stamped error instead of hanging. Every call is logged ([tinyarmy:kind] ✓/✗ in Ns) and recorded; dump with tinyDiag() in the console, or open Settings → Diagnostics for a live readout. Skill-forge icon failures now warn too. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>c90f2a6 -
Rebuild comboBattler: procedural skill VFX
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>2cea337 -
Skill forge: powerful AoE skills + visual identity (element/shape/color/intensity)
Offensive forged skills are now signature-strong AREA skills: routed through the effect path (category 'spell', adrenaline-gated), every effect scoped area_around_caster (~7 tiles), higher damage clamps (capped). Each skill carries a validated 'visual' block the coding model fills (element/shape/hex color/intensity). Support skills stay self/ally. Verified: melee input -> AoE fire-nova spell; self heal stays single-target. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>f9e5860 -
Rebuild: AoE area_around_caster scope
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>33602dc -
Trickle spawns + remove dead code (attribute-point spend UI, level-up toast)
Rebuild comboBattler for the 1-2/wave trickle. Remove the now-unused attribute-point spend flow (openSpend, spendPoint, the spend button) and the old level-up toast — superseded by the roguelike perk draft. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>261c0fe -
Game: roguelike level-up cards, XP HUD, pause-on-sidebar, advancing waves
- Level-up now opens a 1-of-3 perk draft (levelUpCards.js: Vigor/Toughness/Might/ Berserker/Swiftness/Second Wind) that pauses the game; picking applies a persisted stat (progression.spent → statBonuses incl. speedMul) + an immediate live buffHero effect. Replaces the attribute-point grant (ATTR_PER_LEVEL=0). - XP/level chip on the HUD (top-left), updated on spawn + each kill. - Character sidebar open → comboCtrl.setPaused(true) freezes the game (verified: 0 px change over 2.2s). - Enemies advance toward the hero (aggroRadius null) in bigger threat-scaled waves. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>f3c5314 -
Rebuild: immediate basic attack (no cooldown) for the roam hero
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>ea06170 -
Chat voice loading indicator + rebuild combat gating/feedback bundles
Voice button now shows the loading state while the line is being generated (was jumping straight to stop). Rebuild engine/combo/sandbox bundles for freeCast-off gating, over-head 'no target'/resource feedback, and yellow skill text. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>f1fdeff -
Sidebar dismiss-on-tap + chat voice clones the character's created voice
- Character sidebar: a transparent backdrop over the game while it's open dismisses it on tap (nested overlays keep their own backdrops; sheet sits above it). - Chat voice: design engines (Qwen3/VoxCPM) now CLONE from the character's created voice (getAudio(id) reference + voiceQuote/voice), the same path heroCreator uses — so every chat line shares one consistent voice instead of re-designing (which drifts). Fixed-voice engines unchanged; falls back to design if no reference exists yet. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>68fbbfb -
Chat voice: speaker button right of bubble + real stop
Move the per-reply voice control to a 🔊 speaker button to the RIGHT of the bubble (horizontal row) instead of below it. Playback is now a proper toggle: tapping a playing line STOPS it (🔊⇄⏹) via stopAudio/stopVoiceLive — the same primitives the creation screen uses — and starting another line (or re-rendering) stops the previous one. Synth started-then-stopped no longer plays late (guarded). Fixes 'pause doesn't stop the voice'. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>a1a7733 -
Mobile: lock viewport (no pinch/double-tap/input-focus zoom) + hold-to-aim skills
app.py HEAD: re-assert a locked viewport (user-scalable=no, maximum-scale=1), inputs at 16px so iOS doesn't auto-zoom on focus, touch-action:manipulation to kill double-tap zoom, and block iOS gesture (pinch) events — fixes the readability drift on mobile. Rebuilt comboBattler with hold-to-aim/release-to-cast skill buttons + non-selectable HUD buttons. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>a0e5062 -
Fix: roam ranged ranges were whole-screen — scale to ~8 tiles
Ranged basic attacks + ranged skills used arena GW ranges (BOW_GW=1000 ~ 37 roam tiles) because the roam map is far smaller in field units. Apply ROAM_RANGE_MUL (0.22) to the hero + enemies so bow reach ~ 8 tiles and kite ~ 5 tiles. Melee + sandboxes untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>044958d -
docs: record fun + living-world milestone
3e1a2a0 -
Fun+living-world: personal-best records + shared Chronicle of legends
After-action now tracks each hero's best run (foes felled / threat / level) — a record to beat ('★ New record!'), shown on the character sheet. Fallen heroes' recaps post to a shared Chronicle (capped world feed); the after-action shows other heroes' recent legends so the world feels populated by past deeds. Verified: chronicle accumulates across heroes, bests persist per hero. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>8441cda -
Fun+LLM: death after-action report with in-voice war-diary recap
When a hero falls, intercept the death (snap.over) with an after-action screen: run stats (foes felled, threat reached, levels gained, time held) + a streamed first-person war-diary recap the fighter writes about THIS battle (load-bearing LLM). The recap is banked to the hero's event log as a 'battle' memory, so chat recalls past battles. Buttons: Fight again / Choose hero. Verified: overlay + real model recap + persistence. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>6ca2d09 -
Rebuild engine+comboBattler: dodge roll i-frames
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1eb2325 -
LLM: feed live combat state into character chat
buildStateTurn now takes a live snapshot (HP/%, in-combat, threat, kills, location) and renders it as in-voice 'right now' lines — so asking a fighter mid-run gets answers aware of their current wounds and the threat around them, not just persisted history. tiny.js passes comboCtrl.getHero()+getThreat() via getLive when this hero is the one on the field. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>71a4292 -
Rebuild comboBattler: combat HUD (adrenaline + threat)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>f467b2b -
Rebuild comboBattler: escalation waves/elites + hit juice
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>2394094 -
Fun: leveling now scales power + spend attribute points
statBonuses(level+spent) -> rank/hpMul/dmgMul fed into buildPlayer, so a higher-level hero is genuinely tougher and hits harder. Level-up triggers an immediate live buff + full heal. Attribute points are spendable (+5% HP / +5% DMG) from the character sheet. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>f92b745 -
Live-apply equipped-skill changes to the on-field hero's bar
writeEquipped now calls comboCtrl.setHeroSkills(resolveEquipped(hero)) so assigning/ clearing a skill bar slot (or the ★ toggle) updates the live combat bar + buttons immediately, not just on next spawn. Rebuilt comboBattler bundle. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>81baca3 -
Learn & manage skills from the in-Game character sheet
Extract the forge pipeline into shared skillForge.js (forgeSkillForHero: model → validate → Klein icon → persist), used by both the Skill Forge tab and the character sheet. On the Game character sheet add: a 3-slot Skill Bar (tap a slot to assign/clear a learned skill), an inline ★ equip toggle on each forged-skill card, and a '⚒ Forge a new skill' button that forges for the active hero in a bottom-sheet. Verified end-to-end (real forge produced a valid skill + Klein icon; slot picker + equip persist). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>727efc9 -
docs: mark RPG progression plan all-phases-complete
688ffc2 -
Phase 5: wire emotes into the Game + settings toggle + asset
Pass the emote sheet URL into comboBattler, fire a level-up heart via heroEmote, add a Gameplay > 'Show character emotes' toggle, copy the emote sheet to web/assets (served at /sprites/emotes.png) and add it to build.sh. Rebuilt comboBattler bundle. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>46e3cc5 -
Phase 3+4: character chat (woid context) with per-message voice playback
characterContext.js ports woid's two-part pattern client-side: a static identity system prompt + a dynamic state turn (level, equipped skills, a perception log of recent kills/level-ups/forged skills) + verbatim recent-chat memory. characterChat.js mounts a mobile chat thread that streams replies via the local text model (runtime.js) and persists history to the soul. Each reply gets a ▶ button that speaks it in the fighter's voice (tts.js), caching the WAV per message in IndexedDB. A 'Talk to <name>' button on the Game character sheet opens it as a bottom-sheet. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>72082c8 -
Phase 2: Skill Forge writes real engine skills + character-page detail screen
skillSchema.js validates/clamps model output into an engine-resolvable CB skill (safe op/condition whitelist, 9000+ ids, effect summaries, equip resolution). The forge panel now emits that IR, validates with one retry + fallback, paints a Klein icon, and persists the skill onto the hero (customSkills/learnedSkills). The Game character sheet lists forged skills as cards; tapping opens a detail bottom-sheet with a lazily-painted Klein action illustration of the hero performing the skill, flavor, effects, and equip/unequip (max 3). Equipped skills flow into live combat. Rebuilt engine/combo/sandbox bundles for the object-or-id skill bar. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>9fe1971 -
Phase 1: leveling — award XP on enemy defeat + character-sheet progression
Wire comboBattler's onEnemyDefeated to award XP to the active hero (enemyXpValue), persist via patchPersona, increment kills, log kill/level_up events, and pop a level-up banner. Track the active hero (setActiveHeroId) on spawn. Add a level chip + XP bar + kills/points block to the character sheet. Rebuild comboBattler bundle. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>f09b56f -
Phase 0: progression state foundations (personaStore + progression util)
Extend the soul schema with level/xp/kills/attributePoints, learnedSkills, equippedSkills, customSkills, chat.history and an events log — default-filled on read so the existing v1 roster migrates transparently. Add IndexedDB stores for skill icons, skill action-art, and per-message chat audio. Add active-hero selection and a merge-patch helper for hot writes (XP, chat turns). New web/progression.js holds the XP curve + applyXp + event helpers. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>d0eb71c
-
Add local GPU sidecars for tiny-aya + klein (off-ZeroGPU)
Run the polats/tiny-army-{tiny-aya,klein}-zerogpu Spaces locally on the 3090 so the main app doesn't burn HF ZeroGPU quota. Each mirrors its hosted Space's Gradio API contract, so the main app's gradio_client talks to them unchanged — only the .env TINY_{AYA,KLEIN}_SPACE vars switch from Space IDs to local URLs (.env is gitignored, so deploys are unaffected). - spaces/tiny-aya-zerogpu: spaces.GPU -> no-op shim, 4-bit NF4 load, VRAM cap, .env/token, host/port launch block. - spaces/klein-zerogpu: sequential CPU offload (fits the desktop-shared card; 4-bit OOMs at load-time warmup), weiner LoRA pre-applied + default. - run_sidecars.sh launcher (start/stop/aya/klein; binds 0.0.0.0 for LAN). - docs/local-sidecars.md. This is a local-dev branch; it is not the deployed Space branch. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>c377173
-
Smooth the joystick camera-follow (exponential ease via panTo)
The follow was a hard snap (flyTo ms=0 each frame; re-issuing the easeInOutQuad tween would have lagged heavily instead). Added chunkedMap.panTo(wx,wy) — a direct, clamped camera set with no tween — and the Game now lerps the camera toward the hero each frame with a ~0.12s time constant (frame-rate independent). Verified: the camera glides behind the hero with a small, stable trailing lag (~5px) and eases on start/stop instead of snapping. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>366b4b1 -
Joystick centers the map on the hero while held
While the virtual joystick is active, re-center the camera on the hero each tick (at the current zoom) so it never scrolls off-screen. When the joystick is released, drag/zoom stay fully manual. Verified: after joysticking up-right the camera tracks to the hero's world position (centered within ~6px). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>93d86ab -
Mobile UI: virtual joystick, attack bottom-right, character sheet drawer
- Virtual JOYSTICK (lower-left): drag the knob to move (8-direction, constant speed, dead zone); feeds the hero's move input ahead of WASD/tap. - ATTACK (big) + SKILL buttons moved to the BOTTOM-RIGHT (was centered). - Top-right ☰ button slides a CHARACTER SHEET in from the right (sidebar-style): portrait, name, class/profession, live HP bar, skill list, and a "Switch / New hero" button that reopens the picker. comboBattler exposes a new getHero() for the live hero info. Verified on the Battle tab: joystick moves the hero at full speed, attack/skills sit bottom-right, the sheet shows the Fighter (HP 452/520 + Sever Artery/Gash/ Final Thrust) and slides open/closed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>ae1fd94 -
Fix Game "invisible walls": walkability now matches what's drawn
The hero got blocked on open-looking grass ("blocked when there's nothing there"). Cause: gameWorldWalkable blocked raised PLATEAU TOPS (makeRoamWalkable v1 treats plateau tops as solid), but those tops render as ordinary grass — so the route came back unreachable and click-to-move stalled. gameWorldWalkable now matches the render: walkable everywhere EXCEPT solid house footprints and actual WATER (rivers, drawn blue). Roads + village clearings are always walkable (clearings draw flat grass), and plateaus/cliffs are roamable land. Shared villageClearing() keeps the bake (render) and collision in agreement. Verified: previously-blocked plateau cells are walkable and the hero reaches the lower-right grass it was stuck against. (+ a why(x,y) dev probe on window.__gw.) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>490b520