main.ts
import { initWindow, runGame, clearBackground, Colors } from "@bloomengine/engine";
import { getCrownRotation, getScreenWidth } from "@bloomengine/engine/core";
import { drawCircle } from "@bloomengine/engine/shapes";
initWindow(180, 180, "Bloom");
let x = 90;
runGame(() => {
x = Math.max(8, Math.min(getScreenWidth() - 8, x + getCrownRotation() * 20));
clearBackground(Colors.BLACK);
drawCircle(x, 90, 8, Colors.GREEN);
}); Aktueller Stand
Auf watchOS zeichnet Canvas in 2D und SceneKit in 3D. Jolt-Physik und der Deferred Renderer vom Desktop fehlen.
Fragen und Antworten
Gibt es ein fertiges Spiel für meine Uhr?
Bloom Jump Watch hat einen eigenen Eintrag im App Store.