Skip to content

Add calm battle feedback animations - #82

Merged
season179 merged 1 commit into
mainfrom
feat/50-calm-battle-fx
Jul 20, 2026
Merged

Add calm battle feedback animations#82
season179 merged 1 commit into
mainfrom
feat/50-calm-battle-fx

Conversation

@season179

Copy link
Copy Markdown
Owner

Summary

  • add transient-overlay attack lunges, defender shakes, warm hit flashes, and floating damage numbers
  • animate fainted creatures before reward, switch, or respawn flow continues
  • arc capture balls into the wild creature, shake on contact, then resolve catch or break-free
  • lock input in a short FX phase while preserving render() / destroyChildren rebuilding

Verification

  • npm test — 529 passed
  • npm run typecheck
  • npm run check:metas
  • Cocos Creator 3.8.8 web-mobile build — expected success exit 36
  • 1280×720 local smoke with real R2 art:
    • sampled player and wild lunge positions plus defender shake/popup movement at 16 ms
    • observed ball contact before the break-free branch
    • observed faint drop/fade before the faint message and reward card
    • calm wrong-answer path remained intact
    • failed throw changed balls 3→2; potion/team unchanged; clean browser console/errors

Closes #50

@season179
season179 merged commit 3a352e8 into main Jul 20, 2026
1 check passed
@season179
season179 deleted the feat/50-calm-battle-fx branch July 20, 2026 08:21
@season179

Copy link
Copy Markdown
Owner Author

Deployed the merged client to production.

  • Worker version: 31885a55-e366-4314-aa41-be800e3df3af
  • Production bundle SHA-256 matches the clean build from merge commit 3a352e8: 1cc2eb15456632b041898384e4d2bc93f7a10afbbce0484b823592089d9cacd9
  • https://game.pokemath.fun/login returns 200 at 1280×720
  • Production bundle contains the new capture-ball and damage-popup FX markers
  • Production login console/errors: clean

Pre-merge focused battle smoke covered both lunge directions, shake/popup movement, ball contact before resolution, faint-before-reward sequencing, calm wrong-answer feedback, and ball/potion/team accounting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add calm battle FX — shake, flash, lunge, popup, faint, ball arc

1 participant