Last checked
| Feature | Bloom Engine | C++/SDL3 |
|---|---|---|
| Game language | TypeScript[1] | C / C++[6] |
| Engine licence | MIT[1] | zlib[6] |
| Current version | 0.4.19[2] | 3.4.22[9] |
| Editor | Separate World Editor[3] | Code-first[6][8] |
| Game targets | macOS · Windows · Linux · iOS · tvOS · watchOS · visionOS · Android · Web[1][4] | Windows · macOS · Linux · iOS · Android · Emscripten[7] |
| Rendering | wgpu · Metal · DX12 · Vulkan · OpenGL · WebGPU / WebGL · SwiftUI / SceneKit[1][4] | SDL_Renderer / SDL_GPU · OpenGL[6][8] |
| Physics | Jolt on supported native targets. watchOS uses a different backend.[1][4] | Game-defined. The racer supplied its own collision logic.[8] |
| 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.[6] |
Same game, same agent
Windows
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.Windows 11 · Ryzen 5 7640HS · Radeon 760M · 26 GB RAM. Each unattended run produced a Windows package. No phone was tested.
| Engine | Agent working time | Windows package | Input tokens | Output tokens |
|---|---|---|---|---|
| C++/SDL3 | 63 min | 40.5 MB | 29.1M | 218K |
| Unity 6.3 | 72 min | 152 MB | 32.3M | 198K |
| Unreal 5.7 | 71 min | 333.4 MiB | 56.6M | 268K |
C++/SDL3 finished first and produced the smallest package among the three Windows arms. It used a simpler custom renderer and no physics engine.
The Windows agent skipped interactive editing. It ran Unity editor scripts in batch mode and imported Unreal assets headlessly.
The Unity installation overlapped the start of the SDL and Unreal runs. The authors excluded an interrupted first start of Unreal.
Read the experiment · Code and logs · Last checked
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]
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);
});C++/SDL3
Compile as C++ with SDL3 and run from the directory containing sprite.png.[6][7][8]
#include <SDL3/SDL.h>
#include <cmath>
int main() {
if (!SDL_Init(SDL_INIT_VIDEO)) return 1;
SDL_Window* window = nullptr;
SDL_Renderer* renderer = nullptr;
if (!SDL_CreateWindowAndRenderer("SDL3", 640, 360, 0, &window, &renderer)) {
SDL_Quit();
return 1;
}
SDL_Surface* image = SDL_LoadPNG("sprite.png");
SDL_Texture* sprite = image ? SDL_CreateTextureFromSurface(renderer, image) : nullptr;
SDL_DestroySurface(image);
SDL_FRect rect{0, 180, 32, 32};
const bool loaded = sprite != nullptr;
bool running = loaded;
while (running) {
SDL_Event event;
while (SDL_PollEvent(&event)) {
if (event.type == SDL_EVENT_QUIT) running = false;
}
rect.x = std::fmod(0.12 * SDL_GetTicks(), 640.0);
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);
SDL_RenderClear(renderer);
SDL_RenderTexture(renderer, sprite, nullptr, &rect);
SDL_RenderPresent(renderer);
SDL_Delay(1);
}
SDL_DestroyTexture(sprite);
SDL_DestroyRenderer(renderer);
SDL_DestroyWindow(window);
SDL_Quit();
return loaded ? 0 : 1;
}Choose Bloom if…
You want TypeScript, a ready-made PBR renderer and Jolt rather than maintaining a custom stack.[1][2][3][4]
Choose C++/SDL3 if…
You want direct control over input, rendering and package contents, and are ready to build the missing game systems.[6][7][8]
Migration notes
Transfer assets and algorithms. Translate resource ownership, event polling and rendering code. Recheck timing and coordinate conventions.[6][7][8][1]
Frequently asked questions
Did the SDL racer use a full game engine?
The agent implemented its own OpenGL renderer. Its game used simpler rendering and no physics engine, which matters when reading the package sizes.[6][7][8]
What does it cost to use C++/SDL3?
The engine is free under its published licence.[6]
What can I reuse when moving to Bloom?
Transfer assets and algorithms. Translate resource ownership, event polling and rendering code. Recheck timing and coordinate conventions.[6][7][8][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]
Sources
Last checked
- github.com /Bloom-Engine/engine/tree/3cde2788
- registry.npmjs.org /@bloomengine/engine/latest
- github.com /Bloom-Engine/editor
- github.com /Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md
- apps.apple.com /us/app/bloom-jump/id6761447092
- libsdl.org
- wiki.libsdl.org /SDL3/README-platforms
- /blog/same-prompt-three-more-engines
- github.com /libsdl-org/SDL/releases/tag/release-3.4.22