[ゲームエンジンを比較](https://bloomengine.dev/ja/compare)

# Three.jsゲームをネイティブアプリとして配布

まず、既存のウェブビルドをスマホでプロファイリングし、レンダラーを維持するためのワッパーを選択し、最も難しいシーンでのブリッジをテストする。必要であれば、ネイティブ制御を必要とする部分をBloomに移行する。[\[6\]](https://github.com/mrdoob/three.js "出典 6 · 最終確認時 2026-12-02")[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "出典 1 · 最終確認時 2026-12-02")[\[8\]](https://bloomengine.dev/ja/blog/one-racing-game-six-ways "出典 8 · 最終確認時 2026-12-02")[\[7\]](https://github.com/Bloom-Engine/three/tree/0392aa5 "出典 7 · 最終確認時 2026-12-02")

最終確認時 2026年12月2日

| 項目 | Bloom Engine | Three.js |
| --- | --- | --- |
| ゲームの言語 | TypeScript[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "出典 1 · 最終確認時 2026-12-02") | JavaScript / TypeScript[\[6\]](https://github.com/mrdoob/three.js "出典 6 · 最終確認時 2026-12-02")[\[8\]](https://bloomengine.dev/ja/blog/one-racing-game-six-ways "出典 8 · 最終確認時 2026-12-02") |
| エンジンのライセンス | MIT[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "出典 1 · 最終確認時 2026-12-02") | MIT[\[12\]](https://registry.npmjs.org/three/latest "出典 12 · 最終確認時 2026-12-02") |
| 現在のバージョン | 0.4.19[\[2\]](https://registry.npmjs.org/@bloomengine/engine/latest "出典 2 · 最終確認時 2026-12-02") | r187 (0.187.0)[\[12\]](https://registry.npmjs.org/three/latest "出典 12 · 最終確認時 2026-12-02") |
| エディタ | 別途存在するWorld Editor[\[3\]](https://github.com/Bloom-Engine/editor#status "出典 3 · 最終確認時 2026-12-02") | Three.js Editor[\[13\]](https://threejs.org/editor/ "出典 13 · 最終確認時 2026-12-02") |
| 対応プラットフォーム | macOS · Windows · Linux · iOS · tvOS · watchOS · visionOS · Android · Web[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "出典 1 · 最終確認時 2026-12-02")[\[4\]](https://github.com/Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md "出典 4 · 最終確認時 2026-12-02") | デスクトップおよびモバイルブラウザ[\[6\]](https://github.com/mrdoob/three.js "出典 6 · 最終確認時 2026-12-02") |
| レンダリング | wgpu · Metal · DX12 · Vulkan · OpenGL · WebGPU / WebGL · SwiftUI / SceneKit[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "出典 1 · 最終確認時 2026-12-02")[\[4\]](https://github.com/Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md "出典 4 · 最終確認時 2026-12-02") | WebGL / WebGPU[\[6\]](https://github.com/mrdoob/three.js "出典 6 · 最終確認時 2026-12-02") |
| 物理演算 | サポートされているネイティブターゲットではJoltを使用。watchOSでは別のバックエンドが使用されます。[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "出典 1 · 最終確認時 2026-12-02")[\[4\]](https://github.com/Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md "出典 4 · 最終確認時 2026-12-02") | オプションのRapier統合[\[14\]](https://github.com/mrdoob/three.js/blob/dev/docs/pages/RapierPhysics.html.md "出典 14 · 最終確認時 2026-12-02") |
| エージェントの作業手順 | PerryでコンパイルされたTypeScriptファイル[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "出典 1 · 最終確認時 2026-12-02") | コードエージェントでソースファイルを編集[\[8\]](https://bloomengine.dev/ja/blog/one-racing-game-six-ways "出典 8 · 最終確認時 2026-12-02") |
| 価格 | エンジンは公開されたライセンスの下で無料です。[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "出典 1 · 最終確認時 2026-12-02") | エンジンは公開されたライセンスの下で無料です。[\[12\]](https://registry.npmjs.org/three/latest "出典 12 · 最終確認時 2026-12-02") |

## 同じゲーム、同じエージェント

### MacおよびiPhone

Claude Code の Claude Opus 5.5 で各方式を1回ずつ実行した。作業時間に人間の対応待ちは含まない。マシンとビルド対象は方式によって異なる。Apple M1 Max を使用。移植版、Bloom ネイティブ版、ハイブリッド版は実機の iPhone 16 Pro でも動作を確認した。Bevy の iOS 版はシミュレーターのみ、Web 版は Chrome で実行した。

| エンジン | エージェントの作業時間 | macOS パッケージ | iOS パッケージ | 入力トークン | 出力トークン |
| --- | --- | --- | --- | --- | --- |
| Chrome での Three.js | 33 分 | — | — | 1200万 | 17.5万 |
| Bloom での Three.js ポート | 158 分 | 94 MB | 103 MB | 3630万 | 11.2万 |
| Bloom ナイティブ | 73 分 | 71 MB | 76 MB | 6170万 | 18.4万 |
| Three.js と Bloom のハイブリッドシステム | 132 分 | — | ≈107 MB | 3740万 | 15.6万 |
| Bevy 0.20.1 | 145 分 | 131 MB | 130 MB | ≈4420万 | ≈21.4万 |

入力トークンを最も多く使ったのは Bloom ネイティブ版。1行変更後の再ビルドは 5.4 s。低画質設定の iPhone 16 Pro で 60 fps を維持した。エージェントが記録した難点は 29 件。

計測した方式の中ではブラウザー版が最も早く完成し、入力トークンも最少だった。Apple M1 Max 上の Chrome で両者を交互に5回測定。メモリはレース中の Chrome 全プロセスの使用量の中央値。両ゲームの描画エフェクトには差がある。 どちらも 120 fps を維持した。Bloom WASM のほうが読み込みが遅く、メモリ使用量が多かった。

| エンジン | 読み込み時間 | ブラウザーのメモリ使用量 | FPS |
| --- | --- | --- | --- |
| Three.js | 0.56 s | 994 MB | 120 |
| Bloom WASM | 3.44 s | 1,378 MB | 120 |

移植で変更した 428 行のうち、ゲーム本体の変更は 2 行。iOS アプリは 103 MB、1行変更後の再ビルドは ≈16 s。WebView ラッパーの所要時間は測定していない。

棒の長さは同じ列・同じマシンで比較する。横線は同条件のパッケージがないことを示す。ハイブリッド版は Mac のバイナリと個別のアセット、Three.js は Web ビルドを出力した。 未完の folio-2025 移植は別のプロジェクトで、所要時間の記録はない。

[実験を読む](https://bloomengine.dev/ja/blog/one-racing-game-six-ways) · [コードとログ](https://github.com/Bloom-Engine/racer-experiment) · 最終確認時2026/12/02

## ストアアプリへの3つのルート

WebViewはブラウザゲームをパッケージ化します。ブリッジはThree.jsのシーングラフを維持し、レンダラーを置き換えます。BloomネイティブはBloomでレンダリングとゲームプレイシステムを使用します。ハイブリッド実験ではThree.jsのレンダリングを維持し、Bloomの物理、入力、音声、HUDを追加しました。[\[7\]](https://github.com/Bloom-Engine/three/tree/0392aa5 "出典 7 · 最終確認時 2026-12-02")[\[8\]](https://bloomengine.dev/ja/blog/one-racing-game-six-ways "出典 8 · 最終確認時 2026-12-02")[\[9\]](https://raxxo.shop/blogs/lab/shipping-a-three-js-game-to-the-ios-app-store "出典 9 · 最終確認時 2026-12-02")

RAXXO は、公開済みのラッパーでメモリ逼迫時に WebKit の GPU プロセスが終了したと報告している。別のフォーラム投稿にはコンテキスト消失の報告がある。WebKit の課題 294338 は未解決。iOS 26 の観察はインストール済み Web アプリでのもので、埋め込み WKWebView のリフレッシュレートは未確認。[\[9\]](https://raxxo.shop/blogs/lab/shipping-a-three-js-game-to-the-ios-app-store "出典 9 · 最終確認時 2026-12-02")[\[10\]](https://discourse.threejs.org/t/how-to-fix-context-lost-android-iphone-ios/56829 "出典 10 · 最終確認時 2026-12-02")[\[11\]](https://bugs.webkit.org/show_bug.cgi?id=294338 "出典 11 · 最終確認時 2026-12-02")

## スプライトを動かす

スプライトは毎秒 120 単位で右に進み、640 に達すると先頭に戻る。 [sprite.png をダウンロード](https://bloomengine.dev/compare/sprite.png)

### Bloom Engine

sprite.pngを実行ファイルの隣に配置し、そのディレクトリから起動してください。PerryとRustを使用したリリース済みエンジンを用いてください。[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "出典 1 · 最終確認時 2026-12-02")[\[2\]](https://registry.npmjs.org/@bloomengine/engine/latest "出典 2 · 最終確認時 2026-12-02")[\[3\]](https://github.com/Bloom-Engine/editor#status "出典 3 · 最終確認時 2026-12-02")[\[4\]](https://github.com/Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md "出典 4 · 最終確認時 2026-12-02")

main.ts

```
import { initWindow, runGame, clearBackground, Colors } from "@bloomengine/engine";
import { loadTexture, drawTexture } from "@bloomengine/engine/textures";

initWindow(640, 360, "Bloom");
const sprite = loadTexture("sprite.png");
let x = 0;
runGame((dt) => {
  x = (x + 120 * dt) % 640;
  clearBackground(Colors.BLACK);
  drawTexture(sprite, Math.floor(x), 180, Colors.WHITE);
});
```

### Three.js

three パッケージを入れた Web プロジェクトでモジュールを配信し、サイトのルートに sprite.png を置く。[\[6\]](https://github.com/mrdoob/three.js "出典 6 · 最終確認時 2026-12-02")[\[7\]](https://github.com/Bloom-Engine/three/tree/0392aa5 "出典 7 · 最終確認時 2026-12-02")[\[8\]](https://bloomengine.dev/ja/blog/one-racing-game-six-ways "出典 8 · 最終確認時 2026-12-02")[\[9\]](https://raxxo.shop/blogs/lab/shipping-a-three-js-game-to-the-ios-app-store "出典 9 · 最終確認時 2026-12-02")[\[10\]](https://discourse.threejs.org/t/how-to-fix-context-lost-android-iphone-ios/56829 "出典 10 · 最終確認時 2026-12-02")[\[11\]](https://bugs.webkit.org/show_bug.cgi?id=294338 "出典 11 · 最終確認時 2026-12-02")

ブラウザー側の例は THREE.Sprite を使う。ブリッジはこれを描画しない。Bloom 側の例はテクスチャを直接描画する。[\[7\]](https://github.com/Bloom-Engine/three/tree/0392aa5 "出典 7 · 最終確認時 2026-12-02")

main.js

```
import * as THREE from "three";

const renderer = new THREE.WebGLRenderer();
renderer.setSize(640, 360);
document.body.appendChild(renderer.domElement);
const scene = new THREE.Scene();
const camera = new THREE.OrthographicCamera(0, 640, 360, 0, 0.1, 10);
camera.position.z = 1;
const map = await new THREE.TextureLoader().loadAsync("sprite.png");
map.colorSpace = THREE.SRGBColorSpace;
const sprite = new THREE.Sprite(new THREE.SpriteMaterial({ map }));
sprite.scale.set(32, 32, 1);
sprite.position.y = 180;
scene.add(sprite);
renderer.setAnimationLoop((ms) => {
  sprite.position.x = (120 * ms / 1000) % 640;
  renderer.render(scene, camera);
});
```

## Bloom が向いている場合

コンパイルされたストアアプリを提供したい場合で、サポートされていないマテリアル、パーティクル、DOMが重いHUD要素を置き換えることができます。[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "出典 1 · 最終確認時 2026-12-02")[\[2\]](https://registry.npmjs.org/@bloomengine/engine/latest "出典 2 · 最終確認時 2026-12-02")[\[3\]](https://github.com/Bloom-Engine/editor#status "出典 3 · 最終確認時 2026-12-02")[\[4\]](https://github.com/Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md "出典 4 · 最終確認時 2026-12-02")[\[8\]](https://bloomengine.dev/ja/blog/one-racing-game-six-ways "出典 8 · 最終確認時 2026-12-02")

## Three.js が向いている場合

あなたのゲームはブラウザAPI、パーティクルスプライト、カスタムシェーダー、またはプレイヤーがリンクから開く必要がある場合です。[\[6\]](https://github.com/mrdoob/three.js "出典 6 · 最終確認時 2026-12-02")[\[7\]](https://github.com/Bloom-Engine/three/tree/0392aa5 "出典 7 · 最終確認時 2026-12-02")[\[8\]](https://bloomengine.dev/ja/blog/one-racing-game-six-ways "出典 8 · 最終確認時 2026-12-02")[\[9\]](https://raxxo.shop/blogs/lab/shipping-a-three-js-game-to-the-ios-app-store "出典 9 · 最終確認時 2026-12-02")[\[10\]](https://discourse.threejs.org/t/how-to-fix-context-lost-android-iphone-ios/56829 "出典 10 · 最終確認時 2026-12-02")[\[11\]](https://bugs.webkit.org/show_bug.cgi?id=294338 "出典 11 · 最終確認時 2026-12-02")

## 移行に関する注記

ブラウザー版を基準として残す。重いマテリアルや HUD を使うシーンを対象の実機で、まずラッパー、次にブリッジで動かし、描き直しが必要な箇所を記録する。[\[6\]](https://github.com/mrdoob/three.js "出典 6 · 最終確認時 2026-12-02")[\[7\]](https://github.com/Bloom-Engine/three/tree/0392aa5 "出典 7 · 最終確認時 2026-12-02")[\[8\]](https://bloomengine.dev/ja/blog/one-racing-game-six-ways "出典 8 · 最終確認時 2026-12-02")[\[9\]](https://raxxo.shop/blogs/lab/shipping-a-three-js-game-to-the-ios-app-store "出典 9 · 最終確認時 2026-12-02")[\[10\]](https://discourse.threejs.org/t/how-to-fix-context-lost-android-iphone-ios/56829 "出典 10 · 最終確認時 2026-12-02")[\[11\]](https://bugs.webkit.org/show_bug.cgi?id=294338 "出典 11 · 最終確認時 2026-12-02")[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "出典 1 · 最終確認時 2026-12-02")

## よくある質問

### どの部分を最初にテストすべきですか？

シェーダー、透過性、パーティクル、テクスチャ付きの空、およびDOM HUDから始めましょう。代表的なシーンを比較し、残りの部分を移植する前に確認してください。[\[6\]](https://github.com/mrdoob/three.js "出典 6 · 最終確認時 2026-12-02")[\[7\]](https://github.com/Bloom-Engine/three/tree/0392aa5 "出典 7 · 最終確認時 2026-12-02")[\[8\]](https://bloomengine.dev/ja/blog/one-racing-game-six-ways "出典 8 · 最終確認時 2026-12-02")[\[9\]](https://raxxo.shop/blogs/lab/shipping-a-three-js-game-to-the-ios-app-store "出典 9 · 最終確認時 2026-12-02")[\[10\]](https://discourse.threejs.org/t/how-to-fix-context-lost-android-iphone-ios/56829 "出典 10 · 最終確認時 2026-12-02")[\[11\]](https://bugs.webkit.org/show_bug.cgi?id=294338 "出典 11 · 最終確認時 2026-12-02")

### Three.js の利用費用は？

エンジンは公開されたライセンスの下で無料です。[\[12\]](https://registry.npmjs.org/three/latest "出典 12 · 最終確認時 2026-12-02")

### Bloomに移行する際に何を再利用できますか？

シーングラフとゲームルールを引き継ぐ。Points、Sprite、Line、InstancedMesh、法線・ORM マップ、空の背景、HUD の描画負荷を実機で確認する。[\[6\]](https://github.com/mrdoob/three.js "出典 6 · 最終確認時 2026-12-02")[\[7\]](https://github.com/Bloom-Engine/three/tree/0392aa5 "出典 7 · 最終確認時 2026-12-02")[\[8\]](https://bloomengine.dev/ja/blog/one-racing-game-six-ways "出典 8 · 最終確認時 2026-12-02")[\[9\]](https://raxxo.shop/blogs/lab/shipping-a-three-js-game-to-the-ios-app-store "出典 9 · 最終確認時 2026-12-02")[\[10\]](https://discourse.threejs.org/t/how-to-fix-context-lost-android-iphone-ios/56829 "出典 10 · 最終確認時 2026-12-02")[\[11\]](https://bugs.webkit.org/show_bug.cgi?id=294338 "出典 11 · 最終確認時 2026-12-02")[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "出典 1 · 最終確認時 2026-12-02")

### この決定において、Bloomのどの制限が重要か？

Bloom はプレビュー段階で、公開パッケージは 0.4.19。ビルドに Perry と Rust が必要。エコシステムは小さく、ゲームロジックはコードで記述する。別ツールの World Editor は地形編集とエンティティ配置に対応し、プレハブ作成機能は開発中。 Bloom に汎用のビジュアルゲームプレイエディターは同梱されない。[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "出典 1 · 最終確認時 2026-12-02")[\[2\]](https://registry.npmjs.org/@bloomengine/engine/latest "出典 2 · 最終確認時 2026-12-02")[\[3\]](https://github.com/Bloom-Engine/editor#status "出典 3 · 最終確認時 2026-12-02")[\[4\]](https://github.com/Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md "出典 4 · 最終確認時 2026-12-02")

[Bloom と Three.js の比較](https://bloomengine.dev/ja/compare/threejs)

## ソースコード

最終確認時 2026年12月2日

1.  [github.com /Bloom-Engine/engine/tree/3cde2788](https://github.com/Bloom-Engine/engine/tree/3cde2788)
2.  [registry.npmjs.org /@bloomengine/engine/latest](https://registry.npmjs.org/@bloomengine/engine/latest)
3.  [github.com /Bloom-Engine/editor](https://github.com/Bloom-Engine/editor#status)
4.  [github.com /Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md](https://github.com/Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md)
5.  [apps.apple.com /us/app/bloom-jump/id6761447092](https://apps.apple.com/us/app/bloom-jump/id6761447092)
6.  [github.com /mrdoob/three.js](https://github.com/mrdoob/three.js)
7.  [github.com /Bloom-Engine/three/tree/0392aa5](https://github.com/Bloom-Engine/three/tree/0392aa5)
8.  [/blog/one-racing-game-six-ways](https://bloomengine.dev/ja/blog/one-racing-game-six-ways)
9.  [raxxo.shop /blogs/lab/shipping-a-three-js-game-to-the-ios-app-store](https://raxxo.shop/blogs/lab/shipping-a-three-js-game-to-the-ios-app-store)
10.  [discourse.threejs.org /t/how-to-fix-context-lost-android-iphone-ios/56829](https://discourse.threejs.org/t/how-to-fix-context-lost-android-iphone-ios/56829)
11.  [bugs.webkit.org /show\_bug.cgi](https://bugs.webkit.org/show_bug.cgi?id=294338)
12.  [registry.npmjs.org /three/latest](https://registry.npmjs.org/three/latest)
13.  [threejs.org /editor](https://threejs.org/editor/)
14.  [github.com /mrdoob/three.js/blob/dev/docs/pages/RapierPhysics.html.md](https://github.com/mrdoob/three.js/blob/dev/docs/pages/RapierPhysics.html.md)

[マーカード](https://bloomengine.dev/ja/alternatives/threejs-native-app.md)
