Open Source Game Engine · 0.5 preview

Native games from TypeScript

Write TypeScript. Ship native games without an embedded browser or C++. Bloom compiles your game ahead-of-time and runs it on Metal, DirectX 12, Vulkan and WebGPU — one codebase, nine targets, real PBR rendering and physics out of the box.

npm install @bloomengine/engine
Jonah: The Deep — Jonah thrown overboard in the storm Made with Bloom Jonah: The Deep
main.ts
import { initWindow, runGame,
         clearBackground, drawText,
         Colors } from "@bloomengine/engine";

initWindow(800, 450, "My Game");

runGame((dt) => {
  clearBackground(Colors.SNOW);
  drawText("Hello, Bloom!",
    190, 200, 20, Colors.DARKGRAY);
});
9
Target platforms
13
Modular subsystems
1
Codebase to maintain
0
Runtime overhead

Made with Bloom

Games built with Bloom

From a retro platformer and a kids' chess game to a third-person shooter and a cinematic retelling of Jonah — real games, written in TypeScript and running natively on phones, desktops, TVs and the web.

Explore the showcase

Why Bloom?

Bloom compiles TypeScript games ahead-of-time against a Rust core. Native targets use no Electron, WebView, or embedded browser runtime; the Web target emits WebAssembly.

  1. 01

    TypeScript

    Your game, written as plain functions and data.

  2. 02

    Perry

    Compiles it ahead of time. No JavaScript runtime ships with your game.

  3. 03

    Rust core

    A wgpu renderer and Jolt physics behind a stable C ABI.

  4. 04

    Native binary

    One build per platform, or WebAssembly for the web.

    • Metal
    • DirectX 12
    • Vulkan
    • WebGPU

Simple API

The gameplay API is function-first: plain data, explicit handles, and functions you call. Specialized tooling adds only small helper abstractions.

True Native

One renderer, four backends — Metal, DirectX 12, Vulkan and WebGPU. PBR materials, cascaded shadows, TAA and post-FX in the box.

Ship Everywhere

macOS, Windows, Linux, iOS, tvOS, watchOS, visionOS, Android and the Web from one codebase.

One codebase. Every platform.

Bloom maps to the native graphics API on each platform via a single wgpu-backed renderer. Your TypeScript compiles to real binaries — or to a WASM bundle for the web.

macOS
Metal
Windows
DirectX 12
Linux
Vulkan
iOS
Metal
tvOS
Metal
watchOS
SwiftUI / SceneKit
visionOS
Metal
Android
Vulkan / OpenGL ES
Web
WebGPU / WebGL

What's new

Bloom is in active development — 300+ commits in the last few weeks alone. Recent highlights:

Renderer

Auto-DRS & CAS sharpen

Dynamic render scale auto-tunes to your target FPS, with an upscale + RCAS sharpen pass to stay crisp at fractional resolutions.

Materials

Planar reflections + texture arrays

Mirror-like planar reflections with oblique-clip and IBL fallback. Splat-mapped terrain via texture-array bindings with mips.

Tools

Imposter baker CLI

Octahedral atlases for distant LODs — ship dense forests and crowds without choking your draw-call budget.

Post-FX

Stackable post passes

ACES / AgX tone mapping, auto-exposure, bloom, DoF, motion blur, SSGI, SSAO, TAA — composed via ping-pong render targets.

Platform

Cross-platform HiDPI

Windows, Linux and Web now share the same HiDPI handling that macOS and iOS already had. Your UI stays sharp on every display.

DX

WGSL shader hot reload

Save a shader, see the result in under a second. Materials recompile in place during development.

Familiar patterns, native power

Plain interfaces, pure functions, zero magic. If you know TypeScript, you know Bloom.

2D Shapes & Collision
import { drawRect, drawCircle,
         checkCollisionRecs } from "@bloomengine/engine/shapes";

drawRect(100, 100, 200, 80, Colors.GREEN);
drawCircle(400, 300, 50, Colors.GOLD);

if (checkCollisionRecs(player, enemy)) {
  playSound(hitSound);
}
3D Camera & Models
const camera: Camera3D = {
  position: { x: 10, y: 10, z: 10 },
  target: { x: 0, y: 0, z: 0 },
  up: { x: 0, y: 1, z: 0 },
  fovy: 45, projection: "perspective"
};

beginMode3D(camera);
drawModel(tree, { x: 0, y: 0, z: 0 }, 1.0, Colors.WHITE);
drawGrid(10, 1);
endMode3D();

Ready to build your game?

Bloom is open source and free. Jump in, build something, and ship it everywhere.