Rebuild Finella with a sculpted head, cloth shells, and a dark palette - Sculpted head with a tapered jaw, cheekbones, brow, chin, and upper eyelids - Hair and hood are open shells that rise over the brow and drop at the nape, with a fold ripple on the hood - Thighs, calves, and arms are rounded capsules with a muscle bulge - Vampire palette: pale skin, black hair and cloth, tarnished bronze and gunmetal, red-glowing eyes Part names and bone bindings are unchanged so the rig and dagger hooks still bind. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Merge pull request 'Paint the dirt and village grass instead of loading kit maps' (#13) from t3/downscale-terrain-texture-resolution into main ## Summary - Replace the 64px kit ground maps with procedural 512px dirt and grass textures painted at load time, so crumbs, gravel and blades still read when a tile covers about a metre. - Share one wrapped value-noise sampler between the albedo and the dirt normal map, and draw every detail across wrapped neighbours so each tile stays seamless. - Retile the battlefield floor at roughly one metre and route the repeat, `RepeatWrapping` and anisotropy through a single `tileGround` helper. - Reuse the painted dirt for the village road, clamped to whole tiles across its width, and drop the grain overlay from `0.7` to `0.34` now that the base map carries the detail. - Stop shipping the two ground PNGs from the bundle; the pond texture is the only ground file still loaded. ## Testing - `bun test` — 49 pass, 0 fail. - `bun scripts/check.js` — all game modules bundle cleanly. - `bun scripts/bundle.js` — still bundles, now with 72 assets and no ground PNGs. - `bun scripts/shot.js village` and `bun scripts/shot.js battle` against a local port — both scenes render with clean diagnostics, including forced close-up cameras to inspect the ground detail. - Not run: manual play-through on the dev server, since it serves a different checkout.
Paint the dirt and village grass instead of loading kit maps - Draw 512px tiling dirt and grass albedo maps procedurally, wrapping every detail so seams never show - Share one value-noise field between the dirt albedo and its relief map, and drop the 64px ground/path textures from the bundle - Tile the battlefield near one metre and add anisotropic filtering so repeats hold up at grazing angles
Merge pull request 'Add a main menu, save slots, and a village campaign economy' (#12) from t3/main-menu-save-heroine-shop into main ## Summary - Collapse the campaign to the single gate encounter, 'Their Hatred Takes Form', and remove the old three-level progression. - Add a title screen with New game, Load game, and How to fight; a new game starts by choosing Aislinn, Finella, or Atlanta. - Add honor and gold rewards: honor earned per Torment unit broken recruits the other heroines at the hall, while gold from kills and victories buys cards at the market. - Start each heroine with three of her five cards and sell the remaining two in the village market; cards can only be bought for heroines already in the party. - Add three localStorage save slots reachable from the title, village, and battle; mid-battle saves preserve shuffled decks and resume identically. - Extend the village curtain wall beyond the frame, rebuild houses from finer half-unit modules, and increase spacing between village buildings. - Keep the market and hall as markers on existing village pieces rather than adding castle-kit buildings. - Update the README, screenshot scenarios, and session tests for the new flow. ## Testing - `bun test` — 49 tests pass, including new coverage for rewards, recruiting, market purchases, and save/load. - `bun run check` — clean. - Playwright end-to-end run: choose a starter, win the battle, recruit, buy, save, reload the page, load the save, and save and resume mid-battle; no page errors. - Reviewed screenshots of the title, heroine picker, village, market, hall, save panel, battle, result, and resumed battle. - Not run: balance playtesting for a solo heroine against five enemies.
Add a saved campaign with honor, gold, and a village hub - Title screen starts a new game (picking a starter) or loads one of three save slots - Village hall recruits heroines for honor; the market sells their remaining cards for gold - Heroines fight with the cards owned, battles serialize mid-fight, and the three encounters collapse into the gate battle
Merge pull request 'Tint hand cards by heroine and run the west wall into a village' (#11) from t3/color-heroine-cards-by-hero into main ## Summary - The hand now takes its colours from the acting heroine: `heroinePalette()` converts the unit's `0xRRGGBB` colour to `--hero-h/-s/-l` and a matching `--hero-icon` rotation, set inline per card with a gold fallback when no unit is active. - Card border, inner frame, hover/selected glow, art plate, cost gem, name and rules text all read from those variables, so switching heroines restyles the whole hand. - The battlefield floor is one continuous dirt field instead of a raised slab with a dark panel; a single curtain wall stands behind the heroines with the gatehouse at their backs. - That wall now runs well past the arena into the fog, with varied tower heights, rotations and scales, extra buttresses, weathered parapet gaps and a subtle per-instance stone tone. - A village sits outside the west wall: six individually sized, painted and weathered houses with different roof pitches, plus trees, shrubs, barrels, crates, fencing, a market stall and warm lantern glows. - Weeds scatter across the margins rather than lining the old slab, and the shade veil feathers from the field into full darkness so the lit ground meets the black without a seam. ## Testing - `bun run check` — all game modules bundle cleanly. - `bun test` — 41 pass, 0 fail. - `bun scripts/shot.js battle:1` with the wall in place — screenshot renders with clean diagnostics. - `bun scripts/shot.js menu` — menu scene still renders with clean diagnostics. - Manually compared cropped battle screenshots across the wall iterations to confirm the curtain reads as continuous and the village houses stay visually distinct. - Not run: manual play in a browser to confirm the card palette updates on every heroine swap.
Tint the hand cards with the active heroine's palette - Convert the acting heroine's colour into HSL custom properties and apply them to every card in hand - Rebuild the arena around a single west curtain wall, a continuous dirt field, and a village backdrop
Merge pull request 'Fix heroine facing so allies look east at the Torment' (#10) from t3/fix-heroine-facing-enemies into main ## Summary - Corrected the yaw applied to authored heroine models in `BattleView.buildHeroUnit()` from `-Math.PI / 2` to `+Math.PI / 2`. - The heroine GLBs author their front as local `+z`, matching the procedural figures; the old value turned allies west toward the castle gate instead of east toward the Torment. - Added a comment noting the front-facing convention so future unit art keeps it. ## Testing - `bun test` — 41 pass, 0 fail. - `bun run check` — all game modules bundle cleanly. - Captured battle screenshots from the east side of the board and confirmed Aislinn, Finella, and Atlanta all face the enemy ranks with their backs to the gate.
Fix heroine facing so allies look east at the Torment - Flip the heroine group rotation from -PI/2 to PI/2 in buildHeroUnit - Match the procedural figures' local +z front and face the enemy, not the gate
Merge pull request 'Serve Torment on port 9999' (#9) from t3/torment-port-9999 into main Port 8080 is used by another local app, so the dev server, the screenshot harness and the docs now default to 9999. `bun run serve`, `mise run dev` and `bun run shot` all agree on the port.
Serve Torment on port 9999
Merge pull request 'Make the main page a village defending its wall' (#8) from t3/village-menu-scene into main The landing screen is now a village scene built from the castle kit, and the encounters read as defending the village border.
Merge remote-tracking branch 'origin/main' into t3/village-menu-scene # Conflicts: # src/assets.js # src/view.js
Make the main page a walled village scene
Merge pull request 'Open the Torment side and move the gate to the village' (#7) from t3/open-torment-side-west-gate into main The east wall is open to darkness so the Torment walks in from it, and the gatehouse now stands on the heroines' west side.
Merge remote-tracking branch 'origin/main' into t3/open-torment-side-west-gate # Conflicts: # src/view.js
Open the arena's east side to darkness and move the gate west
Merge pull request 'Face the Torment at the heroines' (#6) from t3/face-torment-at-heroines into main Heroines now face the Torment (+x). Their GLBs are authored facing -z, so the +pi/2 yaw turned them away; the Torment (already facing -x) is unchanged. Also rebuilds the Torment figures as armoured male silhouettes (footman, archer, Sorrowbrute) with the same colour roles and front on local +z.
Rebuild Torment figures as armoured male silhouettes Replace the robe-like cone torsos with helmeted, armoured men: footman with shield and sword, archer with bow and quiver, Sorrowbrute with pauldrons, horns and great axe. Same colour roles, front on local +z.
Turn heroines to face the Torment Heroine GLBs are authored facing local -z, so the +pi/2 yaw turned them away from the enemies. Use -pi/2 so they face +x, toward the Torment.
Merge pull request 'Lay a dirt courtyard and gate hex tiles to selection' (#5) from t3/arena-dirt-floor-tile-gating into main ## Summary - Replaces the stone platform and permanently drawn hex tiles with a packed-dirt courtyard floor built from the dirt ground texture, a bump map, and a procedural multi-octave normal map for real surface relief. - Adds close-range detail on top of the dirt: a tiled grit/chip overlay, a stain pass with wall-shade gradients, damp and dry patches, hairline cracks, boot trails, and two cart ruts running in from the gate. - Scatters seeded set dressing across the yard: ~320 grit pebbles biased toward the edges, 40 larger half-buried blocks along the wall footings, ~160 straw and twig pieces, and 70 dry weed clumps on crossed billboards growing along the wall bases. - All procedural detail uses a small seeded PRNG, so the layout is identical on every load. - Hex tiles are now an overlay rather than the floor: they only appear while a heroine is selected on the player's turn, using a painted hex texture with distinct colours and opacities for hover, targets, reachable cells, and the current cell. - Clears tile highlights when there is no active battle, so stale overlays cannot linger on non-battle screens. ## Testing - `bun run check` — all game modules bundle cleanly. - `bun test` — 41 passing, 0 failing across 2 files. - `bun scripts/shot.js battle:1` — battle renders with clean diagnostics and no console errors. - `git diff --check` — no whitespace errors. - Manual: confirmed the courtyard reads as dirt with visible clods, grit, weeds, and debris at both default and 2x screenshot scale, and that hex tiles stay hidden until a unit is selected.
Lay a dirt courtyard and gate hex tiles to selection - Swap the stone platform and per-cell floor tiles for a packed-dirt yard with normal, grain, and stain maps - Scatter instanced pebbles, twigs, and wall-footing grass tufts for close-up detail - Draw hexes as a painted overlay that only appears while a heroine is selected on the player's turn
Raise the castle ring and rebuild the courtyard as a ruin Stack the wall modules in four courses under a crenellated parapet, add buttresses, arrow loops and weathered merlon gaps, and give the gate a gatehouse with flanking towers. Place the ring through instanced batches so the extra masonry costs no extra draw calls. Replace the oversized courtyard columns with a collapsed colonnade of broken shafts, toppled drums, rubble and weeds.
Merge pull request 'Add castle kit agent rules and halve the wall piece scale' (#4) from t3/document-castle-asset-usage-rules into main ## Summary - Add `AGENTS.md` with agent notes on castle kit usage, so future agents stop treating low-resolution castle modules as unit-scale art. - Document that the `BattleView` castle ring is intentionally built from many small pieces at reduced scale, keeping the overall footprint unchanged. - Require asking the user before assembling any new wall, gate, or building from castle pieces. - Call out heroine models and procedural enemy silhouettes as the only unit art. - Reduce `CASTLE_SCALE` from `0.8` to `0.5` and raise `WALLS_ACROSS` from 21 to 33 and `WALLS_DEEP` from 15 to 24, so the wall segments shrink while the ring still encloses the 13x10 hex field. ## Testing - `bun test` — 41 passing, 0 failing. - `bun run check` — all game modules bundle cleanly. - Rendered a battle screenshot and confirmed the castle ring still surrounds the playfield with no scene diagnostics.
Add castle kit agent rules and halve the wall piece scale - Document in AGENTS.md that castle kit is set dressing, not unit art - Rebuild the ring from more, smaller pieces so the footprint stays the same
Merge pull request 'Run the playfield left to right and dress up the arena' (#3) from t3/playfield-left-to-right into main ## Summary - Reorient the battlefield left-to-right with a wider 13-column board, heroines on the left edge, and the Torment on the right. - Move encounter and ally starting positions to match the new layout, and tighten the camera and courtyard walls around the longer field. - Dress the arena with textured platform and hex tiles, zone tinting, a ward border, a rotating rune, broken columns, braziers, embers, and drifting dust. - Add environment-based lighting plus fill and rim lights to separate units from the walls. - Add hover tooltips with portraits, HP, range, damage, armour, and active statuses, and show portraits in the turn order. - Bundle the new column models and platform texture, and carry attack range through combat events for ranged attack presentation. ## Testing - `npm test` — updated hex and battle suites. - Manual: start each encounter and confirm allies deploy on the left, the Torment on the right, and all units begin on valid hexes. - Manual: hover allies and enemies to verify tooltip portraits, HP bars, stats, and status chips, and confirm turn-order portraits track current and dead units. - Manual: exercise melee and ranged attacks, including retaliation, and confirm projectiles and impacts match the attacker's range. - Visual: verify textured tiles, the ward frame, rune, columns, braziers, embers, dust, and courtyard walls render without clipping. - Not run: full cross-browser visual pass.
Rig heroine GLBs and drive their battle animations - Add a Blender rig that shrinks head parts and generates Idle, Walk, Attack and Hit clips. - Export the animated GLBs and play clips through Three.js AnimationMixer. - Preserve the procedural fallback for models without animation data. - Document the heroine model build commands in the README.
Run the playfield left to right and dress up the arena - Widen the board to 13 columns, staging heroines on the left and the Torment on the right - Reposition encounters and reshape the castle walls for the wider field - Add braziers, embers, dust, a rune circle, and broken columns to the arena - Show a hover unit tooltip with portrait, stats, and statuses - Give initiative entries portraits and spawn projectiles for ranged attacks
Add and harden Torment targeting and pathing Enemies now plan and execute as one decision: they focus a reachable heroine, finish one a blow would break, price retaliation, and value dangerous targets. Ranged units kite to the edge of their range and avoid backing into melee. Approach pathing follows the walk-distance map, refuses dead ends while a path exists, and holds position instead of shuffling. Tune the scoring weights for a stable difficulty curve and add finish, kiting, detour, and multi-seed stall invariants.
Add Finella and Atlanta heroine models Build both heroines from procedural Blender sources on the shared hero_parts.py helpers, export their GLBs, and register them in HERO_MODEL_FILES so battles and the model gallery use the authored models. Refit Finella's braid, cowl and ragged cloak, connect both heroines' boots to their feet, slim Atlanta's face and bust, and thicken the feathered mantle.
Merge pull request 'Add Aislinn's authored 3D model and load heroine GLBs' (#2) from t3/create-aislin-3d-model into main ## Summary - Adds Aislinn's procedural Blender source (`tools/blender/aislinn.py`) and exports her as `assets/models/aislinn.glb` (~26k triangles, no textures). - Models her to match the Lake Bala origin: pale mist-blue slip dress, bare feet, long moonlit hair, ankle mist, water coils, and orbs of mist between her palms; no hood or cape. - Adds a four-view turnaround preview at `assets/models/aislinn-preview.png`. - Introduces `HERO_MODEL_DIR` / `HERO_MODEL_FILES` in `src/assets.js` and loads heroine GLBs in `src/view.js`, replacing the procedural silhouette for that heroine when a model is available. - Clones the authored model per unit with independent materials so combat flashes don't bleed across units, and reuses the shared HUD builder for health bars and status dots. - Includes heroine models in the deploy bundle and documents the rebuild command and asset layout in the README. ## Testing - `blender -b --factory-startup -P tools/blender/aislinn.py -- --out assets/models/aislinn.glb` — exported successfully (105 meshes, 25,900 triangles). - `python3 -m py_compile tools/blender/aislinn.py` — syntax OK. - `bun test` — 32 pass, 0 fail. - `bun run check` — all game modules bundle cleanly. - `bun run bundle` — dist built successfully with the new heroine asset included. - `bun scripts/shot.js battle:2` — battle renders Aislinn in place, diagnostics clean. - Visual turnaround reviewed from front, three-quarter, side, and back renders.
Add Aislinn's authored 3D model and load heroine GLBs - Build aislinn.glb from a procedural Blender source in tools/blender/aislinn.py, with a preview render - Load HERO_MODEL_FILES per unit in the renderer and clone authored meshes with independent materials so combat flashes stay per-unit - Extract the shared unit HUD builder and include heroine models in the bundle - Document the hero model pipeline in the README
Merge branch 't3/reorganize-hero-markdown-dirs'
Move heroine notes into heros/ and add story pages
Ignore docs/plans again
Add screenshot, model gallery, and Blender tooling Screenshot scenes headlessly with Playwright via `bun scripts/shot.js`, browse every GLB with the model gallery, and export Blender models to GLB for the game. Adds a deterministic seed parameter and a small window.torment automation handle, plus a fix for the shadow type removed in Three r187.
Scale the castle kit to the battlefield The castle modules were sized at one unit per hex column, so the walls and towers sat on the edge of the field. Scale the kit to 0.8, build the wall ring from segment counts so it tiles exactly, centre the gate on the north wall, and leave a courtyard margin around the field. Pull the camera back so the full castle is in frame. Rules and hex layout are unchanged. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Merge pull request 'Rewrite the game as a Three.js hex tactics battle' (#1) from t3/remove-game-code-keep-assets into main ## Summary - Replace the Rust/Bevy auto-battler with a Three.js hex tactics game. - Initiative order, movement, retaliation, and per-heroine ability card decks. - Three encounters, enemy AI, and a menu → battle → result flow. - Bun-only tooling: dev server, tests, module check, and a deployable `dist/` bundle. - Keep the original assets and character lore. ## Test plan - `bun test` — 32 passing - `bun run check` - `bun run bundle`, then load `dist/` in a browser
Rewrite the game as a Three.js hex tactics battle - Replace the Rust/Bevy auto-battler with an ES-module web game: initiative turns, hex movement, and ability cards - Add Bun dev server, bundle/check scripts, and headless rules tests - Remove the Rust sources, Cargo setup, and save format; keep the bundled assets and vendored Three.js
chore: release 0.1.2
chore: release 0.1.1
cleanup
reset
Update Finella.md
chore: release 0.1.2
chore: release 0.1.1
mini game
small setup
starting
Initial commit