main.ts
import { initWindow, runGame, clearBackground, Colors } from "@bloomengine/engine";
import { drawCircle } from "@bloomengine/engine/shapes";
initWindow(640, 360, "Bloom");
runGame(() => {
clearBackground(Colors.BLACK);
drawCircle(320, 180, 16, Colors.GREEN);
}); Stato attuale
Su desktop servono Rust e Perry. La prima compilazione costruisce il motore per il target scelto.
Domande e risposte
Lo stesso ciclo funziona nel browser?
Usa runGame con una callback. La build web documentata genera WebAssembly e richiede wasm-pack.