From e2af3ed2748f7f8e467c45f704e240ceb15b5f7e Mon Sep 17 00:00:00 2001 From: Chunkybanana <62921243+chunkybanana@users.noreply.github.com> Date: Sat, 24 Dec 2022 06:03:39 +0000 Subject: [PATCH] Credits mostly done --- src/components/Game.vue | 23 +++--- src/data/credits.tsx | 160 ++++++++++++++++++++++++++++++++++++++++ src/data/projEntry.tsx | 121 +++++++++++++++++++++++++++++- 3 files changed, 294 insertions(+), 10 deletions(-) create mode 100644 src/data/credits.tsx diff --git a/src/components/Game.vue b/src/components/Game.vue index 5a470fd..03c1728 100644 --- a/src/components/Game.vue +++ b/src/components/Game.vue @@ -47,13 +47,16 @@ :modelValue="main.creditsOpen.value" @update:model-value="value => (main.creditsOpen.value = value)" > - credits go here - + --> + + @@ -78,6 +82,7 @@ import Scene from "data/Scene.vue"; import type { GenericLayer } from "game/layers"; import { layers } from "game/layers"; import player from "game/player"; +import { convertComputable } from "util/computed"; import { computeOptionalComponent } from "util/vue"; import { computed, toRef, unref } from "vue"; import Layer from "./Layer.vue"; @@ -94,7 +99,7 @@ function gatherLayerProps(layer: GenericLayer) { const { display, minimized, minWidth, name, color, minimizable, nodes, minimizedDisplay } = layer; return { display, minimized, minWidth, name, color, minimizable, nodes, minimizedDisplay }; -} +};