feat(credits): add defectDS
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import gsap from "gsap";
|
||||
|
||||
export const CREDITS = ["model3d", "css2d", "nintendo"] as const;
|
||||
export const CREDITS = ["model3d", "css2d", "nintendo", "defectds"] as const;
|
||||
export type CreditId = (typeof CREDITS)[number];
|
||||
|
||||
export const useCreditsStore = defineStore("credits", {
|
||||
@@ -151,9 +151,9 @@ export const useCreditsStore = defineStore("credits", {
|
||||
export const CREDITS_LINE_HEIGHT = 14;
|
||||
export const CREDITS_ENTRY_GAP = 12;
|
||||
export const CREDITS_HEADER_Y = 30;
|
||||
export const CREDITS_LIST_START_Y = CREDITS_HEADER_Y + 35;
|
||||
export const CREDITS_LIST_START_Y = CREDITS_HEADER_Y + 40;
|
||||
export const CREDITS_ENTRY_HEIGHT = CREDITS_LINE_HEIGHT * 3 + CREDITS_ENTRY_GAP;
|
||||
export const CREDITS_TOP_SCREEN_COUNT = Math.floor(
|
||||
(LOGICAL_HEIGHT - CREDITS_LIST_START_Y) / CREDITS_ENTRY_HEIGHT,
|
||||
);
|
||||
export const CREDITS_BOTTOM_START_Y = 30;
|
||||
export const CREDITS_BOTTOM_START_Y = 20;
|
||||
|
||||
Reference in New Issue
Block a user