Bloom Engine for coding agents

Bloom is a TypeScript game engine. Perry compiles native builds. The web target uses WebAssembly.

Engine licence · MIT

Installation on macOS

Node.js · Rust · Xcode Command Line Tools

npm init -y
npm install -D @perryts/perry@0.5.1665
npm install @bloomengine/engine@0.4.19
npm pkg set 'perry.allow.nativeLibrary[0]=@bloomengine/*'
main.ts
npx perry compile main.ts -o game && ./game

Platforms and graphics APIs

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

API modules · 0.4.19

core
Window creation, game loop, input handling, timing, and frame control.
shapes
2D shape drawing — lines, rects, circles, polygons — plus collision detection.
textures
Image loading, texture management, sprite batching, and render-to-texture.
text
TTF and OTF font loading, text rendering, and measurement.
audio
Sound effects, music streaming, 3D positional audio, WAV / OGG / MP3.
models
glTF 2.0 loading, GPU skeletal animation, PBR materials, mesh primitives.
math
Vectors, matrices, quaternions, easing functions, and random number generation.
physics
Jolt-powered rigid & soft bodies, character controllers, vehicles, raycasts, constraints.
scene
Retained-mode scene graph — transforms, visibility, shadows, material binding.
mobile
Virtual controls, safe areas, and touch-input helpers.
world
Versioned world loading, validation, prefabs, and runtime instantiation.
vfx
GPU particle systems, emitters, and decals.
quality
Deterministic quality runs, captures, and telemetry.

Documentation index

Docs · Game templates · llms-full.txt