feat(intro): implement intro screen

This commit is contained in:
2026-01-12 16:13:01 +01:00
parent 3ecd2a9019
commit 130bafa7dc
48 changed files with 218 additions and 5 deletions

View File

@@ -6,7 +6,10 @@ const app = useAppStore();
const { assets } = useAssets();
onRender((ctx) => {
ctx.globalAlpha = app.booted ? 1 : store.intro.stage1Opacity;
ctx.fillStyle = "#fbfbfb"
ctx.fillRect(0, 0, LOGICAL_WIDTH, LOGICAL_HEIGHT);
ctx.globalAlpha = store.isIntro? store.intro.stage1Opacity:1;
assets.images.home.topScreen.background.draw(ctx, 0, 0);
});