Compare game engines

Ship a Three.js game as a native app

Start by profiling the existing web build on a phone. Choose a wrapper to retain its renderer, test the bridge on your hardest scene, or move systems to Bloom when you need native control.[6][1][8][7]

Last checked

FeatureBloom EngineThree.js
Game language TypeScript[1] JavaScript / TypeScript[6][8]
Engine licence MIT[1] MIT[12]
Current version 0.4.19[2] r187 (0.187.0)[12]
Editor Separate World Editor[3] Three.js Editor[13]
Game targets macOS · Windows · Linux · iOS · tvOS · watchOS · visionOS · Android · Web[1][4] Desktop and mobile browsers[6]
Rendering wgpu · Metal · DX12 · Vulkan · OpenGL · WebGPU / WebGL · SwiftUI / SceneKit[1][4] WebGL / WebGPU[6]
Physics Jolt on supported native targets. watchOS uses a different backend.[1][4] Optional Rapier integration[14]
Agent workflow TypeScript files compiled with Perry[1] Edit source files with your coding agent[8]
Price The engine is free under its published licence.[1] The engine is free under its published licence.[12]

Same game, same agent

Mac and iPhone

One run per arm using Claude Opus 5.5 in Claude Code. Agent working time excludes waits for a human. The machines and build targets differed.Apple M1 Max. The port, Bloom native and the hybrid also ran on a physical iPhone 16 Pro. Bevy ran only in the iOS simulator. The web game ran in Chrome.

EngineAgent working timemacOS packageiOS packageInput tokensOutput tokens
Three.js in Chrome33 min——12M175K
Three.js port on Bloom158 min94 MB103 MB36.3M112K
Bloom native73 min71 MB76 MB61.7M184K
Three.js + Bloom systems132 min—≈107 MB37.4M156K
Bevy 0.20.1145 min131 MB130 MB≈44.2M≈214K

Bloom native used the most input tokens. A one-line rebuild took 5.4 s. On Low it held 60 fps on the iPhone 16 Pro. The agent logged 29 points of friction.

The browser game finished fastest and used the fewest input tokens of the measured arms.Five alternating benchmark rounds in Chrome on the Apple M1 Max. Memory is the median footprint of all Chrome processes during the race. The two games rendered different effects. Both held 120 fps. Bloom WASM loaded more slowly and used more memory.

EngineLoad timeBrowser memoryFPS
Three.js0.56 s994 MB120
Bloom WASM3.44 s1,378 MB120

The port changed 2 lines of gameplay among 428 changed lines. Its iOS app was 103 MB. A one-line rebuild took ≈16 s. The WebView wrapper had no timed run.

Compare bars within one column and machine. A dash means no comparable package was built. The hybrid produced a Mac binary and separate assets. Three.js produced a web build. The unfinished folio-2025 port was a different project and has no timed result.

Read the experiment · Code and logs · Last checked

Three routes to a store app

A WebView packages the browser game. The bridge keeps the Three.js scene graph and replaces the renderer. Bloom native uses Bloom for rendering and gameplay systems. The hybrid experiment kept Three.js rendering and added Bloom physics, input, audio and HUD.[7][8][9]

RAXXO reports a WebKit GPU-process termination under memory pressure in its shipped wrapper. A forum user separately reports context loss. WebKit issue 294338 remains open. The iOS 26 observation concerns an installed web app. Embedded WKWebView refresh rates remain unconfirmed.[9][10][11]

Move a sprite

The sprite moves right at 120 units per second and wraps at 640. Download sprite.png

Bloom Engine

Place sprite.png beside the executable and launch it from that directory. Use the released engine with Perry and Rust.[1][2][3][4]

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

Serve this module in a web project with three installed and sprite.png at the site root.[6][7][8][9][10][11]

This browser example uses THREE.Sprite. The bridge does not draw it. The Bloom example draws the texture directly.[7]

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);
});

Choose Bloom if…

You want a compiled store app and can replace unsupported materials, particles and DOM-heavy HUD elements.[1][2][3][4][8]

Choose Three.js if…

Your game depends on browser APIs, particle sprites or custom shaders, or players should open it from a link.[6][7][8][9][10][11]

Migration notes

Keep the browser build as a reference. Run a scene with your most demanding materials and HUD on a target phone, first in a wrapper and then on the bridge. Record anything you would have to redraw.[6][7][8][9][10][11][1]

Frequently asked questions

Which parts should I test first?

Start with shaders, transparency, particles, textured skies and the DOM HUD. Compare a representative scene before porting the rest.[6][7][8][9][10][11]

What does it cost to use Three.js?

The engine is free under its published licence.[12]

What can I reuse when moving to Bloom?

Keep the scene graph and game rules. Check Points, Sprite, Line, InstancedMesh, normal and ORM maps, sky backgrounds and the cost of the HUD on a real phone.[6][7][8][9][10][11][1]

Which Bloom limitations matter for this decision?

Bloom is in preview. The published package is 0.4.19. Builds require Perry and Rust. The ecosystem is small. Gameplay is written in code. The separate World Editor supports terrain and entity placement. Prefab authoring is unfinished. Bloom has no bundled general-purpose gameplay editor.[1][2][3][4]

Bloom or Three.js?

Sources

Last checked

  1. github.com /Bloom-Engine/engine/tree/3cde2788
  2. registry.npmjs.org /@bloomengine/engine/latest
  3. github.com /Bloom-Engine/editor
  4. github.com /Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md
  5. apps.apple.com /us/app/bloom-jump/id6761447092
  6. github.com /mrdoob/three.js
  7. github.com /Bloom-Engine/three/tree/0392aa5
  8. /blog/one-racing-game-six-ways
  9. 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
  11. bugs.webkit.org /show_bug.cgi
  12. registry.npmjs.org /three/latest
  13. threejs.org /editor
  14. github.com /mrdoob/three.js/blob/dev/docs/pages/RapierPhysics.html.md

Markdown