16 lines
315 B
Vue
16 lines
315 B
Vue
<script setup lang="ts">
|
|
const store = useHomeStore();
|
|
const app = useAppStore();
|
|
|
|
const { assets } = useAssets();
|
|
|
|
useRender((ctx) => {
|
|
ctx.globalAlpha = app.booted ? 1 : store.intro.stage1Opacity;
|
|
ctx.drawImage(assets.home.topScreen.background, 0, 0);
|
|
});
|
|
|
|
defineOptions({
|
|
render: () => null,
|
|
});
|
|
</script>
|