Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [0690] フリーズアローヒット時の割込み処理を実装 #1473

Merged
merged 2 commits into from May 3, 2023

Conversation

cwtickle
Copy link
Owner

@cwtickle cwtickle commented May 3, 2023

🔨 変更内容 / Details of Changes

  1. フリーズアローヒット時の割込み処理を実装しました。
    下記のカスタム関数オブジェクトに関数を追加することで実装します。
    • 通常のフリーズアロー: g_customJsObj.judg_frzHit
    • ダミーフリーズアロー: g_customJsObj.judg_dummyFrzHit

使い方

  • 引数にジャスト時からの差分フレーム数を指定できます。
function addProcessInFrzHit(_difFrame) {
    // 割込み処理を記述
}
// 定義した関数を追加
g_customJsObj.judg_frzHit.push(addProcessInFrzHit);

🔖 関連Issue, 変更理由 / Related Issues, Reason for Changes

  1. 判定時の処理割り込みはありましたが、フリーズアローヒット時の処理割り込みは無かったため。

📷 スクリーンショット / Screenshot

📝 その他コメント / Other Comments

  • changeHitFrz関数の処理末尾に追加する形となります。

@codeclimate
Copy link

codeclimate bot commented May 3, 2023

Code Climate has analyzed commit 1a5196d and detected 0 issues on this pull request.

View more on Code Climate.

@cwtickle cwtickle merged commit eb44288 into develop May 3, 2023
4 checks passed
@cwtickle cwtickle deleted the feature/0690-frzhit-interrupt branch May 3, 2023 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant