Skip to content

Add Civ Lite combat feedback#66

Merged
leocagli merged 4 commits into
Bitcoindefi:mainfrom
YfengJ:codex/game-feel-23
Jun 30, 2026
Merged

Add Civ Lite combat feedback#66
leocagli merged 4 commits into
Bitcoindefi:mainfrom
YfengJ:codex/game-feel-23

Conversation

@YfengJ

@YfengJ YfengJ commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Closes #23.

Summary

  • adds a tested feedback model for floating combat text and screen shake decay
  • shows damage labels, KO callouts, stronger hit particles, and capture feedback in the Civ Lite canvas
  • applies subtle screen shake during combat/capture while preserving the existing movement tween and render loop

Validation

  • find demo/civ-lite -name '*.test.mjs' -print | sort | xargs node --test\n- node --check demo/civ-lite/feedback-model.js && node --check demo/civ-lite/game.js && node --check demo/civ-lite/sprites.js\n- git diff --check\n- Chrome/Playwright smoke against demo/civ-lite/index.html: canvas rendered nonblank, no page errors, all app resources loaded

@YfengJ

YfengJ commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

CI note: SonarCloud passed with 0 new issues. The only red check is the existing Godot Web export preset configuration failure (Cannot export project with preset "Web" due to configuration errors), which is unrelated to this Civ Lite JS feedback change.

Local validation completed:

  • find demo/civ-lite -name '*.test.mjs' -print | sort | xargs node --test\n- node --check demo/civ-lite/feedback-model.js && node --check demo/civ-lite/game.js && node --check demo/civ-lite/sprites.js\n- git diff --check\n- Chrome/Playwright smoke: page loaded, canvas rendered nonblank, app resources loaded

@leocagli leocagli merged commit 4edab37 into Bitcoindefi:main Jun 30, 2026
1 check passed
@sonarqubecloud

Copy link
Copy Markdown

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.

CIV-visual: animaciones y game feel (movimiento, combate, partículas)

2 participants