Skip to content

次の惑星の出だしに前の惑星の吹き出しが残らないよう、盤面を始めるたびに重ねた効果を片付ける - #7

Merged
uphy merged 1 commit into
mainfrom
clear-effects-on-start
Oct 1, 2026
Merged

uphy merged 1 commit into
mainfrom
clear-effects-on-start

Conversation

@uphy

@uphy uphy commented Oct 1, 2026

Copy link
Copy Markdown
Owner

惑星めぐりで次の惑星へ渡ると、前の惑星で出した「10 CHAIN」や「+3」が新しい盤面の出だしに残っていた。

  • Effects.clear() を足し、吹き出し・粒・輪・閃き・光の柱・帯・攻撃の弾・揺れ・閃光をまとめて片付ける
  • beginPlay でこれまでの resetShow()(決着の演出だけ)の代わりに呼ぶ。1 人用の「もう一度」や対戦のリベンジも同じ道を通る

確認: 追加した e2e(e2e/effects.spec.ts「新しい盤面を始めると、前の盤面の吹き出しと帯は残らない」)が修正前に落ちることを確かめた。typecheck・e2e/effects.spec.ts・e2e/versus.spec.ts・e2e/tour.spec.ts

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

@uphy
uphy merged commit 0cc60c0 into main Oct 1, 2026
4 checks passed
@uphy
uphy deleted the clear-effects-on-start branch October 1, 2026 12:23
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.

1 participant