Repository navigation
端末別画質・フライト設定保存・ブラウザ回帰テストを追加 - #13
Merged
Merged
Conversation
kai987
marked this pull request as ready for review
November 2, 2026 01:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
端末のGPU負荷に合わせて画質を選択し、次回の飛行で設定を復元できるようにします。自動/低/中/高の画質、タッチ感度・加速時間・上下反転を日中英で設定でき、機体・マップ・飛行モード・視点・風・昼夜・音声も保存します。設定画面から公開ビルドIDとGitHubコミットを確認できます。
描画は地域単位に分割し、遠い小物を省略。山区の地形を16タイルに分割し、端末別のテクスチャ・影・岩雪シェーダー予算を適用します。山体は分岐する山稜とカールで輪郭を不規則化し、配置データをJSONからTypeScript/Rustへ生成して乖離を検出します。全6マップの事前準備は維持します。
CI/Pagesには本番distを対象とするChromiumのデスクトップ/タッチ回帰テストを追加し、描画・昼夜・機庫・設定復元・タッチ入力・WebGL復旧を確認してから公開します。Viteの互換パッチも更新しました。
検証: npm run check(Node 429件、Rust 52件、型検査、生成一致)、npm run build、npm run test:e2e(10件成功、対象端末による意図的スキップ2件)、git diff --check、npm audit 0件。日本語の設定画面は390px幅でも確認。山区41,377点のRust高度は前版と完全一致しました。
比較計測では描画三角形が都心43%、山区29.5%減少しました。一方、都心は描画命令とCPU描画送信時間が増え、両版とも約60fpsのためFPS倍率の改善とは評価していません。実機iPhone/Safariの検証は未実施です。