Spaces:
Running
Running
Commit History
-
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: AoE area_around_caster scope
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>33602dc -
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 -
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 -
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 -
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
-
Rebuild bundles: safe Pixi teardown across all co-mounted sandbox viewers
Picks up auto-battler's teardown fix for scene/tile/sprite/sandbox viewers, so no map-sandbox pill switch or tab change crashes the co-mounted Game renderer. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>c8f2ab9
-
Game: free-roam overworld with biome-themed enemy spawning
Rebuild the Game page from a fixed arena into a free-roam map: the hero roams the whole three-band overworld and enemies spawn around it as you explore — RTS humans on the Forgotten Plains, orcs in the Orc Kingdom, the Dark Brotherhood in the Necropolis — culled as you move on. - web/*.js: rebuilt bundles (comboBattler + map/classes/enemies sandboxes) from auto-battler. - web/tiny.js: per-biome enemy rosters wired into the Game page. - app.py: full-screen #battle-stage; relocate Gradio footer links into the sidebar. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>992a52d -
Game page: directly-controlled Forgotten Plains battle; rename to "Game"
Replace the Battle tab's combat window with the new single-sim map game (web/comboBattler.js, bundled from auto-battler): control the persona with WASD/tap, attack + cast skills (Space / 1–3 / on-screen ⚔ buttons), enemies aggro on proximity, camera drag/scroll/pinch like the World Map sandbox. - tiny.js: mount mountComboBattler on #battle-stage (persona → engine profession + class skills; enemy band with aggroRadius); drop the old hardcoded 4v4 loop. - build.sh: esbuild web/comboBattler.js; sed the sidebar label "Combo-Battler" → "Game" (Space-only; auto-battler's own nav is unchanged). - personaPanel.js: export CLASS_SLUG (single-source the class→slug map). - Rebuilt bundles pick up the additive teamBattle terrain/aggro hooks. - app.py + requirements.txt: load a local .env for `python app.py` (python-dotenv; no-op on the Space where real secrets are used). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>5bdce49
-
Add Classes + Enemies sandbox tabs (synced from auto-battler)
Wire the shared Classes/Enemies playgrounds (web/classesSandbox.js, web/enemiesSandbox.js, bundled by build.sh from auto-battler) into the Space: gr.Tab + #classes-stage / #enemies-stage full-bleed CSS, link classes.css, and mount them from web/tiny.js (remapping /assets/ → /sprites/). The engine bundle (web/engine.js) and nav.json refresh too. build.sh: esbuild the two sandbox modules, copy classes.css + classes.json + enemies.json + effects.json, and curate the ~44 CB skill icons + condition pips into web/gw (served via a new /gw mount). The customize panel is read-only on the Space (no /api). Future combat changes cascade with one build.sh run. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>38a1e17